struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Struts beta 2 and Tomcat 4.1.18
Date Sat, 21 Dec 2002 18:43:10 GMT
Your AdminNewsAction is throwing a NPE.

David






>From: ajTreece <aj.treece@sun.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: Struts beta 2 and Tomcat 4.1.18
>Date: Sat, 21 Dec 2002 11:32:44 -0600
>
>Just started using the Tomcat server... I get the following from "some" of 
>my action servlets...
>
>ant clues?
>
>Thanks, aj
>
>
>2002-12-21 11:27:34 StandardWrapperValve[action]: Servlet.service() for 
>servlet action threw exception
>javax.servlet.ServletException
>         at 
>org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:507)
>         at 
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:448)
>         at 
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
>         at 
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
>         at 
>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>         at 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>         at 
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>         at 
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>         at 
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>         at 
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>         at 
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>         at 
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>         at java.lang.Thread.run(Thread.java:484)
>----- Root Cause -----
>java.lang.NullPointerException
>         at com.sun.eras.homepage.action.AdminNewsAction.perform(Unknown 
>Source)
>         at org.apache.struts.action.Action.execute(Action.java:401)
>         at 
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
>         at 
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
>         at 
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
>         at 
>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>         at 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>         at 
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>         at 
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>         at 
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>         at 
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>         at 
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>         at 
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>         at java.lang.Thread.run(Thread.java:484)
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>


_________________________________________________________________
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=

http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message