[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1149) Unable to create annotation on private methods

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Wed Dec 5 07:22:52 EST 2007


Unable to create annotation on private methods
----------------------------------------------

                 Key: EJBTHREE-1149
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1149
             Project: EJB 3.0
          Issue Type: Bug
            Reporter: Carlo de Wolf
         Assigned To: Carlo de Wolf
            Priority: Critical
             Fix For: AS 5.0.0.Beta3


java.lang.RuntimeException: Unable to create annotation from method/field cleanup for EJB lTestEJB
        at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2153)
        at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2159)
        at org.jboss.ejb3.Ejb3DescriptorHandler.addRemoveAnnotations(Ejb3DescriptorHandler.java:1044)
        at org.jboss.ejb3.Ejb3DescriptorHandler.addAssemblyAnnotations(Ejb3DescriptorHandler.java:1000)
        at org.jboss.ejb3.Ejb3DescriptorHandler.addDescriptorAnnotations(Ejb3DescriptorHandler.java:913)
        at org.jboss.ejb3.Ejb3DescriptorHandler.getStatefulContainer(Ejb3DescriptorHandler.java:461)
        at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:149)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:525)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:485)
        at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:467)
        at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:433)
        at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:375)
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:163)
        ... 65 more
Caused by: java.lang.NoSuchMethodException: com.sun.ts.tests.ejb30.sec.stateful.common.lTestEJB.cleanup(com.sun.ts.tests.ejb30.sec.stateful.common.SecTestLocal)
        at java.lang.Class.getMethod(Class.java:1581)
        at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2141)
        ... 77 more


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

        



More information about the jboss-jira mailing list