resteasy BDA throws NPE for EJB annotation when two applications are deployed
-----------------------------------------------------------------------------
Key: WELD-749
URL:
https://jira.jboss.org/browse/WELD-749
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API
Affects Versions: 1.1.0.Beta2
Environment: 6.0.0-SNAPSHOT
Reporter: Nicklas Karlsson
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.
-
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