[jboss-user] [JBoss Seam] - NPE on deploy
sradford
do-not-reply at jboss.com
Mon Oct 2 04:39:41 EDT 2006
Hi,
On deploying my app I get an NPE (snippet of the stack trace below). I've downloaded the latest snapshot bundle (28th Sept), modified the offending class to check for *null* (if it is, return false) and all seems to work. Is this a bug and my changes safe?
java.lang.NullPointerException
at org.jboss.seam.util.Conversions$FlatPropertyValue.isExpression(Conversions.java:224)
at org.jboss.seam.Component.getInitialValue(Component.java:354)
at org.jboss.seam.Component.initInitializers(Component.java:331)
at org.jboss.seam.Component.(Component.java:235)
at org.jboss.seam.Component.(Component.java:186)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:471)
at org.jboss.seam.init.Initialization.addComponents(Initialization.java:429)
at org.jboss.seam.init.Initialization.init(Initialization.java:278)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
Thanks,
Sean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975430#3975430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975430
More information about the jboss-user
mailing list