struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <hum...@ix.netcom.com>
Subject RE: Problems using LookUp Dispatch Action
Date Thu, 14 Sep 2006 16:29:59 GMT
If your class extends LookupDispatchAction, why isn't your own class named
in the stacktrace below?  It looks like it is invoking a regular
LookupDispatchAction.  Also, you can lookup code online to find the
offending line (just copy it into an editor which has line number so you can
check out line 233.  Just substitute the 1_2_9 with your own working version
of Struts:

http://svn.apache.org/viewvc/struts/struts1/tags/STRUTS_1_2_9/src/share/org/
apache/struts/actions/LookupDispatchAction.java?view=markup
(warning: that line will wrap so you'll have to paste it together before
changing the STRUTS_1_2_9 part to your own in-use version of Struts)

Regards,
David

-----Original Message-----
From: Heidy Gutiérrez Guzmán [mailto:heidyguti@gmail.com]
Sent: Thursday, September 14, 2006 12:17 PM
To: user@struts.apache.org
Subject: Problems using LookUp Dispatch Action


Hi

I'm using an action class that extends from LookUpDispatchAction.

I have more similar class and everithing is ok, but now, it's trow the
following exception:

SEVERE: Servlet.service() for servlet action threw exception
java.lang.NullPointerException
	at
org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.
java:233)
	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:667)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
	at java.lang.Thread.run(Thread.java:595)


Coul anyboy help me?


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


Mime
View raw message