Deploying an ejb which has an ejb name in jboss.xml that is not defined in ejb-jar.xml or in @Stateless will throw a NullPointerException instead of throwing an exception with the real issue.
Caused by: java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor.process(SetDefaultLocalBusinessInterfaceProcessor.java:114)
at org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain.process(JBossMetaDataProcessorChain.java:115)
at org.jboss.ejb3.deployers.Ejb3MetadataProcessingDeployer.deploy(Ejb3MetadataProcessingDeployer.java:142)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
... 30 more
- incorporates
-
EJBTHREE-2124 NPE in SetDefaultLocalBusinessInterfaceProcessor.process() -> Class.forName()
-
- Open
-