You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/07/10 06:50:10 UTC

[jira] Closed: (GERONIMO-537) NullPointerException at OpenEJBModuleBuilder.java:308 (initContext) on deployment

     [ http://issues.apache.org/jira/browse/GERONIMO-537?page=all ]
     
David Jencks closed GERONIMO-537:
---------------------------------

    Fix Version: 1.0-M4
     Resolution: Fixed

Looking at the cvs history, it appears that the NPE comes from trying to use the skeletonGenerator if it isn't supplied.  Since we are no longer using a skeleton generator, this should no longer be a problem. I can't see any way a NPE can be thrown from the current code.

> NullPointerException at OpenEJBModuleBuilder.java:308 (initContext) on deployment
> ---------------------------------------------------------------------------------
>
>          Key: GERONIMO-537
>          URL: http://issues.apache.org/jira/browse/GERONIMO-537
>      Project: Geronimo
>         Type: Bug
>   Components: deployment, OpenEJB
>     Versions: 1.0-M3
>  Environment: Fedora Core 2, sun jdk 1.4.02
>     Reporter: Jorge Jimenez
>      Fix For: 1.0-M4

>
> Deploying an ear, with ejb and war modules. It has standard deployment descriptors an (using command line) 'geronimo-application.xml'. It points to a propietary library in repository/repository/z4/jars/taf2.jar (that's why i need to add a 'dependency' tag in geronimo-application.xml).
> The same ear is tested in weblogic, oc4j, jboss and jonas. 
> Ejb module points to a datasource (that is not yet deployed or created, but I expect some kind of readable error if it is the problem).
> Deploy command line: 
> java -jar bin/deployer.jar --user system --password manager deploy /home/jota/devel/proyectos/z4-staff/z4-process/deploy/z4process.ear /home/jota/devel/proyectos/z4-staff/z4-process/deploy/geronimo-application.xml
> geronimo-application.xml:
> <application
>        xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
>        configId="MyApplication">
>   <dependency>
>     <uri>z4/jars/taf2.jar</uri>
>   </dependency>
> </application>
> Start of Stack Trace:
> Caused by: java.lang.NullPointerException
>         at org.openejb.deployment.OpenEJBModuleBuilder.initContext(OpenEJBModuleBuilder.java:308)
>         at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>         at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:142)
>         at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823)
>         at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
>         at org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)

-- 
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