You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/09/01 01:13:05 UTC
[jira] Commented: (GERONIMO-960) NPE related to EJB while deploying EAR
[ http://issues.apache.org/jira/browse/GERONIMO-960?page=comments#action_12320738 ]
Aaron Mulder commented on GERONIMO-960:
---------------------------------------
17:21:13,563 DEBUG [Deployer] Deployment failed:
plan=null, module=/home/oss/deployment/work/Twe.ear
org.apache.geronimo.common.DeploymentException: Unable
to initialize EJBContainer GBean: ejbName
[MyAddressBean]
at org.openejb.deployment.CMPEntityBuilder.createBean(CMPEntityBuilder.java:825)
at org.openejb.deployment.CMPEntityBuilder.buildBeans(CMPEntityBuilder.java:147)
at org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuilder.java:499)
at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:719)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94)
at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8f46c681.addGBeans(<generated>)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:377)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
...
Caused by: java.lang.NullPointerException
at com.myapp.twe.util.config.ConfigReader.init(ConfigReader.java:338)
at com.myapp.twe.util.config.ConfigReader.<init>(ConfigReader.java:121)
at com.myapp.twe.util.config.ConfigReader.getInstance(ConfigReader.java:277)
at com.myapp.twe.common.servicelocator.factory.HomeFactory.getDBServerName(HomeFactory.java:196)
at com.myapp.twe.common.servicelocator.factory.HomeFactory.<init>(HomeFactory.java:88)
at com.myapp.twe.common.servicelocator.factory.HomeFactory.<clinit>(HomeFactory.java:49)
> NPE related to EJB while deploying EAR
> --------------------------------------
>
> Key: GERONIMO-960
> URL: http://issues.apache.org/jira/browse/GERONIMO-960
> Project: Geronimo
> Type: Bug
> Components: deployment
> Reporter: Aaron Mulder
> Fix For: 1.0-M5
>
> Reported on the user list:
> Unable to distribute Myapp.ear : Unable to initialize EJBContainer GBean: ejbName [MyAddressBean] caused by null
> i have the entry in openejb-jar.xml for this bean it is as below
> <ejb-local-ref>
> <ref-name>MyAddress</ref-name>
> <name>MyAddressBean</name>
> </ejb-local-ref>
> The XML looks wrong but that shouldn't throw an NPE... Whatever the issue is we should try to avoid the NPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira