[webbeans-issues] [JBoss JIRA] Created: (WBRI-342) JSF2 Example Application: IllegalArgumentException

Roger Kitain (JIRA) jira-events at lists.jboss.org
Mon Aug 10 12:01:29 EDT 2009


JSF2 Example Application: IllegalArgumentException
--------------------------------------------------

                 Key: WBRI-342
                 URL: https://jira.jboss.org/jira/browse/WBRI-342
             Project: Web Beans
          Issue Type: Patch
          Components: Examples
         Environment: MAC OS X GlassFish V3
            Reporter: Roger Kitain
            Assignee: Roger Kitain


When running JSF 2 example app on GlassFish v3:

Caused by: java.lang.IllegalArgumentException: The given beanType is not a type class java.lang.Integer of the bean Dependent unnamed producer method bean [int] API types [int, class java.lang.Object], binding types [@javax.enterprise.inject.Any(), @org.jboss.webbeans.examples.numberguess.Random()]
	at org.jboss.webbeans.BeanManagerImpl.getReference(BeanManagerImpl.java:923)
	at org.jboss.webbeans.InstanceImpl.get(InstanceImpl.java:58)
	at org.jboss.webbeans.examples.numberguess.Game.reset(Game.java:93)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list