geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Closed: (GERONIMO-537) NullPointerException at (initContext) on deployment
Date Sun, 10 Jul 2005 04:50:10 GMT
     [ ]
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 (initContext) on deployment
> ---------------------------------------------------------------------------------
>          Key: GERONIMO-537
>          URL:
>      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
> geronimo-application.xml:
> <application
>        xmlns=""
>        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(
>         at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(
>         at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(
>         at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(
>         at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(
>         at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(
>         at org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message