click-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikram Natarajan <vnatara...@pogohealth.com>
Subject Errors after upgrading to 1.5
Date Wed, 29 Oct 2008 15:22:15 GMT
Hi all

I started getting this NPE when I deploy after my new build with 1.5.  
This happens only when I am in the Production mode or Profile mode, when 
I switch back to Dev mode, things work fine. I think this has to do with 
some default properties missing in the velocity.properties file. We do 
have a custom velocity.properties file created to include some velocity 
macros in our application. Thanks for your help in advance.


16:32:07,140 ERROR [STDERR] java.lang.NullPointerException
16:32:07,140 ERROR [STDERR]     at 
net.sf.click.service.VelocityTemplateService.onInit(VelocityTemplateService.java:263) 

16:32:07,140 ERROR [STDERR]     at 
net.sf.click.service.XmlConfigService.loadTemplateService(XmlConfigService.java:1432) 

16:32:07,140 ERROR [STDERR]     at 
net.sf.click.service.XmlConfigService.onInit(XmlConfigService.java:247)
16:32:07,140 ERROR [STDERR]     at 
net.sf.click.ClickServlet.initConfigService(ClickServlet.java:1559)
16:32:07,140 ERROR [STDERR]     at 
net.sf.click.ClickServlet.init(ClickServlet.java:175)
16:32:07,140 ERROR [STDERR]     at 
javax.servlet.GenericServlet.init(GenericServlet.java:212)
16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) 

16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071) 

16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) 

16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
16:32:07,140 ERROR [STDERR]     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:32:07,140 ERROR [STDERR]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

16:32:07,140 ERROR [STDERR]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

16:32:07,140 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Method.java:597)
16:32:07,140 ERROR [STDERR]     at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) 

16:32:07,140 ERROR [STDERR]     at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
16:32:07,140 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
16:32:07,140 ERROR [STDERR]     at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
16:32:07,140 ERROR [STDERR]     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:32:07,140 ERROR [STDERR]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

16:32:07,140 ERROR [STDERR]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

16:32:07,140 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Method.java:597)
16:32:07,140 ERROR [STDERR]     at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) 


Thanks
Vikram Natarajan

Mime
View raw message