[jboss-jira] [JBoss JIRA] Created: (JBMETA-309) Provide context on java.lang.IllegalArgumentException: Init annotation is only valid on a stateful bean

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Fri Nov 5 04:19:01 EDT 2010


Provide context on java.lang.IllegalArgumentException: Init annotation is only valid on a stateful bean
-------------------------------------------------------------------------------------------------------

                 Key: JBMETA-309
                 URL: https://jira.jboss.org/browse/JBMETA-309
             Project: JBoss Metadata
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: ejb
            Reporter: Carlo de Wolf
            Assignee: Alexey Loubyansky
             Fix For: jboss-metadata-ejb-2.0.0-alpha-22


The bean name (or class) is nowhere mention in the message.

Stack trace from 1.0.0.CR16:
java.lang.IllegalArgumentException: Init annotation is only valid on a stateful bean
        at org.jboss.metadata.annotation.creator.ejb.jboss.InitProcessor.process(InitProcessor.java:97)
        at org.jboss.metadata.annotation.creator.ejb.jboss.InitProcessor.process(InitProcessor.java:50)
        at org.jboss.metadata.annotation.creator.AbstractProcessor.processClass(AbstractProcessor.java:274)
        at org.jboss.metadata.annotation.creator.AbstractProcessor.processClass(AbstractProcessor.java:172)

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

        


More information about the jboss-jira mailing list