struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anonymous (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-293) Token Example Fails with NullPointerException
Date Fri, 30 Mar 2007 08:58:51 GMT

     [ https://issues.apache.org/struts/browse/WW-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]


    Resolution: Not A Problem  (was: Fixed)
        Status: Resolved  (was: Closed)

> Token Example Fails with NullPointerException
> ---------------------------------------------
>
>                 Key: WW-293
>                 URL: https://issues.apache.org/struts/browse/WW-293
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: WW 2.0-beta1
>         Environment: Windows 2000, JDK 1.4.1_04, Tomcat 4.1.27-LE-jdk14
>            Reporter: Jim Krygowski
>         Assigned To: Jason Carreira
>             Fix For: WW 2.0-beta2
>
>
> I'm running beta1 inside Tomcat 4.1.27-LE-jdk14 and I can't seem to
> successfully run the http://localhost:8080/webwork-example/form2.jsp
> example.  
> I can submit the form once, but on the second attempt I get the
> following exception:
> SEVERE: Could not execute action
> java.lang.NullPointerException
>         at
> org.apache.coyote.tomcat4.CoyoteRequestFacade.getRequestDispatcher(Co
> yoteRequestFacade.java:260)
>         at
> com.opensymphony.webwork.dispatcher.ServletDispatcherResult.execute(S
> ervletDispatcherResult.java:56)
>         at
> com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.han
> dleInvalidToken(TokenSessionStoreInterceptor.java:38)
>         at
> com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(Token
> Interceptor.java:64)
>         at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
> vocation.java:149)
>         at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
> Interceptor.java:37)
>         at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
> vocation.java:149)
>         at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
> Interceptor.java:37)
>         at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
> vocation.java:149)
>         at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
> Interceptor.java:37)
>         at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
> vocation.java:149)
>         at
> com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerIn
> terceptor.java:66)
>         at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
> vocation.java:149)
>         at
> com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
> java:121)
>         at
> com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
> Dispatcher.java:165)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:247)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:193)
>         at
> com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(Re
> questLifecycleFilter.java:61)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:213)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:193)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:256)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:643)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:480)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:191)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:643)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:480)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2416)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:180)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:643)
>         at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
> rValve.java:171)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:641)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:172)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:641)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:480)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:174)
>         at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
> t.invokeNext(StandardPipeline.java:643)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:480)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
> 3)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :601)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ssConnection(Http11Protocol.java:392)
>         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
> :565)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:619)
>         at java.lang.Thread.run(Thread.java:536)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message