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)" <ji...@apache.org> on 2007/01/17 18:47:31 UTC

[jira] Closed: (GERONIMO-2732) J2EE Application Client deployment fails with NPE

     [ https://issues.apache.org/jira/browse/GERONIMO-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-2732.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-M2
         Assignee: David Jencks

Applied in rev 497096.  Nice catch!

Can you in the future
- always create patches from the project root
- include the jira id in the patch name, such as GERONIMO-2732.patch

thanks

> J2EE Application Client deployment fails with NPE
> -------------------------------------------------
>
>                 Key: GERONIMO-2732
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2732
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: application client
>    Affects Versions: 2.0-M2
>            Reporter: Jarek Gawor
>         Assigned To: David Jencks
>             Fix For: 2.0-M2
>
>         Attachments: patch
>
>
> 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
> e(AppClientModuleBuilder.java:256)
>         at org.apache.geronimo.client.builder.AppClientModuleBuilder.createModul
> e(AppClientModuleBuilder.java:190)
>         at org.apache.geronimo.client.builder.AppClientModuleBuilder$$FastClassB
> yCGLIB$$93137659.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> This error can be replicated by deploying 'applications/magicGball/magicGball-client' jar file.
> 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira