AnsweredAssumed Answered

NullPointerException when starting kickstart

Question asked by davidwaf on May 28, 2011
Latest reply on Aug 5, 2011 by jbarrez
Hi All,
I have deployed activiti-5.5 in tomcat 7.0.8,Ubuntu 10.04 and everything else runs except for kickstart. I need to run in tomcat 7.
Is tomcat 7 the issue. Anything i need to do fix the error?

This is what the logs show:

INFO: Deploying web application directory activiti-kickstart
28 May 2011 1:14:06 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/opt/tomcat/webapps/activiti-kickstart/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Then after tomcat is running:


SEVERE: Servlet.service() for servlet [Vaadin Application Servlet] in context with path [/activiti-kickstart] threw exception [java.lang.NullPointerException] with root cause
java.lang.NullPointerException
   at org.activiti.kickstart.service.KickstartServiceImpl.<init>(KickstartServiceImpl.java:68)
   at org.activiti.kickstart.service.ServiceLocator.getAdhocWorkflowService(ServiceLocator.java:33)
   at org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.init(KickstartWorkflowPanel.java:81)
   at org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.<init>(KickstartWorkflowPanel.java:71)
   at org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.<init>(KickstartWorkflowPanel.java:75)
   at org.activiti.kickstart.KickStartApplication.initDefaultWorkArea(KickStartApplication.java:87)
   at org.activiti.kickstart.KickStartApplication.init(KickStartApplication.java:48)
   at com.vaadin.Application.start(Application.java:554)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.startApplication(AbstractApplicationServlet.java:1182)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:466)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:662)

Outcomes