Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1293

When calling getReference with a type of Event<Blah> Weld errors

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.10.Final, 2.0.0.Beta2
    • Fix Version/s: 2.0.0.Beta4
    • Component/s: None
    • Labels:
      None

      Description

      13:55:13,472 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-ds-exception-handling].[FacesServlet]] (http-/127.0.0.1:8080-1) Servlet.service() for servlet FacesServlet threw exception: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305 The given type javax.enterprise.event.Event<Blah> is not a type of the bean Implicit Bean [javax.enterprise.event.Event] with qualifiers [@Default]
      	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:633) [weld-core-1.1.10.Final-redhat-1.jar:1.1.10.Final-redhat-1]
      	at org.jboss.as.quickstarts.deltaspike.exceptionhandling.jsf.DeltaSpikeExceptionHandler.getExceptionToCatchEvent(DeltaSpikeExceptionHandler.java:39) [classes:]
      	at org.jboss.as.quickstarts.deltaspike.exceptionhandling.jsf.DeltaSpikeExceptionHandler.<init>(DeltaSpikeExceptionHandler.java:26) [classes:]
      	at org.jboss.as.quickstarts.deltaspike.exceptionhandling.jsf.DeltaSpikeExceptionHandlerFactory.getExceptionHandler(DeltaSpikeExceptionHandlerFactory.java:16) [classes:]
      	at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:98) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:583) [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.10.Final-redhat-1.jar:1.1.10.Final-redhat-1]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
      	at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_37]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jharting Jozef Hartinger
                Reporter:
                pmuir Pete Muir
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: