[jboss-jira] [JBoss JIRA] Commented: (JBAS-8609) resteasy BDA throws NPE for EJB annotation when two applications are deployed

Robert Gary (JIRA) jira-events at lists.jboss.org
Thu Jun 16 20:10:23 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-8609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609332#comment-12609332 ] 

Robert Gary commented on JBAS-8609:
-----------------------------------

I'm not able to determine what the resolution was. I noticed it was changed to "Done" but there is no mention of what a user should do about this. I also get this error in a JBoss AS 6 environment if I have a jar that uses Weld in the server/myserver/lib directory. 

> resteasy BDA throws NPE for EJB annotation when two applications are deployed
> -----------------------------------------------------------------------------
>
>                 Key: JBAS-8609
>                 URL: https://issues.jboss.org/browse/JBAS-8609
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>    Affects Versions:  6.0.0.M5
>         Environment: 6.0.0-SNAPSHOT
>            Reporter: Nicklas Karlsson
>            Assignee: Marius Bogoevici
>
> First application deploys fine
> Second application fails for the resteasy BDA when trying to instantiate the @EJB class(?)
> 15:25:10,132 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Create: name=vfs:///C:/Java/AS/jboss-6.0.0-SNAPSHOT/server/default/deploy/LTK.war_WeldBootstrapBean state=Configured: java.lang.NullPointerException
> 	at org.jboss.weld.integration.deployer.env.bda.ClassLoaderResourceLoader.classForName(ClassLoaderResourceLoader.java:30) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.util.ApiAbstraction.annotationTypeForName(ApiAbstraction.java:87) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.ejb.EJBApiAbstraction.<init>(EJBApiAbstraction.java:36) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:100) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:181) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:192) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:152) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:283) [:6.0.0-SNAPSHOT]
> 	at org.jboss.weld.integration.deployer.env.helpers.BootstrapBean.initialize(BootstrapBean.java:106) [:6.0.0-SNAPSHOT]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
> 	at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list