Skip to content

Instantly share code, notes, and snippets.

View mbogoevici's full-sized avatar

Marius Bogoevici mbogoevici

  • Red Hat
  • New York, NY
View GitHub Profile
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v11.json", "dbt_version": "1.7.2", "generated_at": "2023-11-28T18:27:06.798573Z", "invocation_id": "8f25d868-1c72-4a8f-94dc-7c4bf5f44717", "env": {}, "project_name": "pcaf", "project_id": "4233b96fdccff59145e14a8b1b233be5", "user_id": "8bc12f8a-e8f6-43d1-9c6a-314a5f5a0be0", "send_anonymous_usage_stats": true, "adapter_type": "trino"}, "nodes": {"model.pcaf.pcaf_primap": {"database": "hive", "schema": "pcaf", "name": "pcaf_primap", "resource_type": "model", "package_name": "pcaf", "path": "pcaf/pcaf_primap.sql", "original_file_path": "models/pcaf/pcaf_primap.sql", "unique_id": "model.pcaf.pcaf_primap", "fqn": ["pcaf", "pcaf", "pcaf_primap"], "alias": "pcaf_primap", "checksum": {"name": "sha256", "checksum": "915e9b7cbd11ff1d1c63b8d021269a068c8735e26bcd42f4f0350743c895e5c4"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "group": null, "materialized": "table", "incremental_strategy
Caused by: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
   at org.jboss.errai.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:358)
   at org.jboss.errai.common.metadata.MetaDataScanner.getTypesAnnotatedWith(MetaDataScanner.java:223)
   at org.jboss.errai.common.rebind.EnvUtil.loadConfiguredPortableTypes(EnvUtil.java:88)
   at org.jboss.errai.common.rebind.EnvUtil.getEnvironmentConfig(EnvUtil.java:150)
   at org.jboss.errai.common.rebind.EnvUtil.isPortableType(EnvUtil.java:155)
   at org.jboss.errai.common.rebind.EnvUtil.getAllPortableSubtypes(EnvUtil.java:183)
   at org.jboss.errai.cdi.server.CDIExtensionPoints.processEventInjector(CDIExtensionPoints.java:248)
   at org.jboss.errai.cdi.server.CDIExtensionPoints.observeResources(CDIExtensionPoints.java:219)
20:07:29,786 WARN [org.hornetq.core.server.cluster.impl.ClusterConnectionImpl] Unable to announce backup, retrying: HornetQException[errorCode=3 message=Timed out waiting to receive initial broadcast from cluster]
at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:711) [hornetq-core-2.2.11.Final.jar:]
at org.hornetq.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:588) [hornetq-core-2.2.11.Final.jar:]
at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$2.run(ClusterConnectionImpl.java:485) [hornetq-core-2.2.11.Final.jar:]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [hornetq-core-2.2.11.Final.jar:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
java.lang.ClassCastException: org.eclipse.jdt.internal.core.TypeParameter cannot be cast to org.eclipse.jdt.core.IType
at org.jboss.tools.ws.jaxrs.core.jdt.JavaMethodSignaturesVisitor.visit(JavaMethodSignaturesVisitor.java:88)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:489)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
@mbogoevici
mbogoevici / gist:2312165
Created April 5, 2012 16:02
Changes in the admin interface
Add missing entities (for CRUD and avoiding backing bean errors)
https://github.com/mbogoevici/ticket-monster-1/commit/d6f0a6526ecb663edf5be5bbb0522cc203e0b58a
Use --targetDir option to generate views under /admin
https://raw.github.com/mbogoevici/ticket-monster-1/admin-generated/admin_layer.fsh
Revert changes to index.html, move index.xhtml webapp/admin
avax.el.PropertyNotFoundException: /resources/components/memberForm.xhtml @19,62 value="#{cc.attrs.member.name}": Target Unreachable, 'member' returned null
com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:100)
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
javax.faces.component.UIInput.validate(UIInput.java:960)
javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
javax.faces.component.UIInput.processValidators(UIInput.java:698)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
13:54:48,493 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
13:54:48,743 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
13:54:48,813 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
13:54:49,667 INFO [org.xnio] XNIO Version 3.0.3.GA
13:54:49,672 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
13:54:49,678 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
13:54:49,693 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
13:54:49,771 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
13:54:49,773 INFO [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
13:54:49,797 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
@mbogoevici
mbogoevici / Expected result
Created February 13, 2012 19:26
Debugging forge core
<ul>
<li>
<h:link outcome="/scaffold/customer/search" value="Customer"/>
</li>
<li>
<h:link outcome="/scaffold/employer/search" value="Employer"/>
</li>

Building the business services

Learn how we designed and implemented the business layer of the application and how we made it accessible for different types of front-ends


You’ve just defined the domain model of your application and created its persistence layer. Now you need to implement the services that implement the business logic of your application and expose them to the front-end. Topics covered include:

  • Implementing basic persistence operations (?)
  • Encapsulating business logic in services and integrating with the persistence tier
@mbogoevici
mbogoevici / DataPersistence.textile
Created January 11, 2012 16:13 — forked from pmuir/AdminJSF.textile
TicketMonster Tutorial outline

- RDBMS design using JPA entity beans
- persistence.xml
- JUnit based tests
- Arquillian based tests
- import.sql
- bean validation
- full CRUD must be demonstrated
- minimum of 4 tables – including two in a 1 to Many relationship
- master-detail: multi-table transaction demonstrated (shopping cart)
- limited to pure JPA spec