You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Davanum Srinivas <da...@gmail.com> on 2007/01/16 18:41:44 UTC

NPE deploying a war

I got this when trying jaxws-tests\jaxws-war :(

-- dims

12:28:35,609 ERROR [Deployer] Deployment failed due to
java.lang.NullPointerException
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:828)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:359)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:261)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)

-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

Re: NPE deploying a war

Posted by Sachin Patel <sp...@gmail.com>.
This is fixed as well.

On Jan 16, 2007, at 2:13 PM, Lin Sun wrote:

> I ran into the same NPE and updated my trunk, rebuild.   However, I  
> am not
> seeing the Geronimo web deployment plan being used upon deployment  
> of the
> jaxws-war file (a random id in the module name is picked):
>
> 14:05:27,828 INFO  [DirectoryHotDeployer] Deploying
> jaxws-war-2.0-SNAPSHOT.war
> 14:05:28,593 INFO  [DirectoryHotDeployer]     Deployed
> default/jaxws-war-2.0-SNA
> PSHOT.war/1168974327937/car
>
> This caused the jaxws-war test to fail, as there are hardcoded  
> values in the
> test that matches to what specified in the plan.
>
> Thanks, Lin
> ________________________________________
> From: Sachin Patel [mailto:sppatel@gmail.com] On Behalf Of Sachin  
> Patel
> Sent: Tuesday, January 16, 2007 12:45 PM
> To: dev@geronimo.apache.org
> Subject: Re: NPE deploying a war
>
> Sorry, update your working copy, should be fixed now.
> On Jan 16, 2007, at 12:41 PM, Davanum Srinivas wrote:
>
>
> I got this when trying jaxws-tests\jaxws-war :(
>
> -- dims
>
> 12:28:35,609 ERROR [Deployer] Deployment failed due to
> java.lang.NullPointerException
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules 
> (EARConfigBui
> lder.java:828)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan 
> (EARConfigBui
> lder.java:359)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan 
> (EARCo
> nfigBuilder.java:261)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$ 
> $FastClassByCGLIB$$38e5
> 6ec6.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker
> .java:38)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:
> 127)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:82
> 0)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvo
> ker.java:35)
>
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service  
> Developers)
>
>
>
> -sachin
>
>
>
>


-sachin



RE: NPE deploying a war

Posted by Lin Sun <li...@gmail.com>.
I ran into the same NPE and updated my trunk, rebuild.   However, I am not
seeing the Geronimo web deployment plan being used upon deployment of the
jaxws-war file (a random id in the module name is picked):

14:05:27,828 INFO  [DirectoryHotDeployer] Deploying
jaxws-war-2.0-SNAPSHOT.war
14:05:28,593 INFO  [DirectoryHotDeployer]     Deployed
default/jaxws-war-2.0-SNA
PSHOT.war/1168974327937/car

This caused the jaxws-war test to fail, as there are hardcoded values in the
test that matches to what specified in the plan.

Thanks, Lin
________________________________________
From: Sachin Patel [mailto:sppatel@gmail.com] On Behalf Of Sachin Patel
Sent: Tuesday, January 16, 2007 12:45 PM
To: dev@geronimo.apache.org
Subject: Re: NPE deploying a war

Sorry, update your working copy, should be fixed now.
On Jan 16, 2007, at 12:41 PM, Davanum Srinivas wrote:


I got this when trying jaxws-tests\jaxws-war :(

-- dims

12:28:35,609 ERROR [Deployer] Deployment failed due to
java.lang.NullPointerException
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBui
lder.java:828)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBui
lder.java:359)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARCo
nfigBuilder.java:261)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e5
6ec6.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker
.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:
127)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:82
0)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvo
ker.java:35)

-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)



-sachin





Re: NPE deploying a war

Posted by Sachin Patel <sp...@gmail.com>.
Sorry, update your working copy, should be fixed now.
On Jan 16, 2007, at 12:41 PM, Davanum Srinivas wrote:

> I got this when trying jaxws-tests\jaxws-war :(
>
> -- dims
>
> 12:28:35,609 ERROR [Deployer] Deployment failed due to
> java.lang.NullPointerException
>        at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules 
> (EARConfigBuilder.java:828)
>        at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan 
> (EARConfigBuilder.java:359)
>        at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan 
> (EARConfigBuilder.java:261)
>        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$ 
> $FastClassByCGLIB$$38e56ec6.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:127)
>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:820)
>        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
>        at  
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:35)
>
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service  
> Developers)


-sachin