geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Created: (GERONIMO-2732) J2EE Application Client deployment fails with NPE
Date Mon, 15 Jan 2007 05:21:27 GMT
J2EE Application Client deployment fails with NPE

                 Key: GERONIMO-2732
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: application client
    Affects Versions: 2.0-M2
            Reporter: Jarek Gawor

The following exception is generated when a standalone J2EE application client is deployed
(in trunk):

Caused by: java.lang.NullPointerException
        at org.apache.geronimo.client.builder.AppClientModuleBuilder.createModul
        at org.apache.geronimo.client.builder.AppClientModuleBuilder.createModul
        at org.apache.geronimo.client.builder.AppClientModuleBuilder$$FastClassB
        at net.sf.cglib.reflect.FastMethod.invoke(
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.

This error can be replicated by deploying 'applications/magicGball/magicGball-client' jar

The code fails in the following line:

earName = naming.createRootName(earEnvironment.getConfigId(), NameFactory.NULL, NameFactory.J2EE_APPLICATION);

which assumes earEnvironment variable is non-null. However, it is null in such deployment.

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