You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Krishnakumar B (JIRA)" <ji...@apache.org> on 2006/12/21 14:36:23 UTC
[jira] Created: (GERONIMO-2676) Web Application without required
jars throws NullPointer
Web Application without required jars throws NullPointer
--------------------------------------------------------
Key: GERONIMO-2676
URL: http://issues.apache.org/jira/browse/GERONIMO-2676
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment
Affects Versions: 2.0
Reporter: Krishnakumar B
I have tried deploying applications like ActiveBPEL and MyFaces examples on geronimo. If i dont add the required jars for these application's to run i get a NullPointerException.
The service J2EEApplication=null,j2eeType=WebModule,name=default/myfaces-examp
le-simple-1.1.5-SNAPSHOT/1166707464231/war did not start because the doStart met
hod threw an exception.
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContex
tURLStreamHandler.java:234)
at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppCo
ntext.java:477)
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:984)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:267)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:543)
at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:379)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:378)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:187)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:508)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
ssByCGLIB$$ce77a924.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:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$b42bfad1.startConfiguration(<generated>)
at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:595)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:407)
... 14 more
A more user friendly exception will help the user to add the required jars.
--
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
[jira] Commented: (GERONIMO-2676) Web Application without required
jars throws NullPointer
Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476966 ]
Rakesh Midha commented on GERONIMO-2676:
----------------------------------------
Can someone or KK, please confirm the status so that we can close or recify the problem.
Thanks
Rakesh
> Web Application without required jars throws NullPointer
> --------------------------------------------------------
>
> Key: GERONIMO-2676
> URL: https://issues.apache.org/jira/browse/GERONIMO-2676
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 2.0
> Reporter: Krishnakumar B
>
> I have tried deploying applications like ActiveBPEL and MyFaces examples on geronimo. If i dont add the required jars for these application's to run i get a NullPointerException.
> The service J2EEApplication=null,j2eeType=WebModule,name=default/myfaces-examp
> le-simple-1.1.5-SNAPSHOT/1166707464231/war did not start because the doStart met
> hod threw an exception.
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:396)
> at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContex
> tURLStreamHandler.java:234)
> at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppCo
> ntext.java:477)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:984)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:267)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:543)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:378)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.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:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$b42bfad1.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:595)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:407)
> ... 14 more
> A more user friendly exception will help the user to add the required jars.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2676) Web Application without required
jars throws NullPointer
Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464209 ]
Rakesh Midha commented on GERONIMO-2676:
----------------------------------------
Hello KK
I tried to reproduce this problem with quite a number of scenerio's but could not. I even tried the applications myfaces applications (thanks for sharing them with me).
I tried to look into code and from what I understand the place where you were getting null pointer is not related to dependencies and I am not sure but looks like the problem is some where else.
Can you please recheck the scenerio you have and confim.
Thanks
Rakesh
> Web Application without required jars throws NullPointer
> --------------------------------------------------------
>
> Key: GERONIMO-2676
> URL: https://issues.apache.org/jira/browse/GERONIMO-2676
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 2.0
> Reporter: Krishnakumar B
>
> I have tried deploying applications like ActiveBPEL and MyFaces examples on geronimo. If i dont add the required jars for these application's to run i get a NullPointerException.
> The service J2EEApplication=null,j2eeType=WebModule,name=default/myfaces-examp
> le-simple-1.1.5-SNAPSHOT/1166707464231/war did not start because the doStart met
> hod threw an exception.
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:396)
> at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContex
> tURLStreamHandler.java:234)
> at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppCo
> ntext.java:477)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:984)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:267)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:543)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:378)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.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:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$b42bfad1.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:595)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:407)
> ... 14 more
> A more user friendly exception will help the user to add the required jars.
--
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