Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 54013 invoked from network); 10 Jul 2005 04:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2005 04:50:32 -0000 Received: (qmail 8595 invoked by uid 500); 10 Jul 2005 04:50:26 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8535 invoked by uid 500); 10 Jul 2005 04:50:26 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 8402 invoked by uid 99); 10 Jul 2005 04:50:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2005 21:50:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5EE7419 for ; Sun, 10 Jul 2005 06:50:10 +0200 (CEST) Message-ID: <19880299.1120971010387.JavaMail.jira@ajax.apache.org> Date: Sun, 10 Jul 2005 06:50:10 +0200 (CEST) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-537) NullPointerException at OpenEJBModuleBuilder.java:308 (initContext) on deployment In-Reply-To: <1155841282.1104494859744.JavaMail.apache@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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: > xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" > configId="MyApplication"> > > z4/jars/taf2.jar > > > 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() > 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