[JIRA-OS] Commented: (WW-293) Token Example Fails with NullPointerException

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Jason Carreira
    Created: Wed, 10 Sep 2003 12:09 AM
       Body:
This is due to some of the data structures not being Serializable. I've modified the XWork / WebWork2 data structures, but ognl.OgnlContext is still not serializable, so we'll have to wait for that to be fixed.
---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-293


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-293
    Summary: Token Example Fails with NullPointerException
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Examples
   Fix Fors:
             2.0-beta2
   Versions:
             2.0-beta1

   Assignee: Jason Carreira
   Reporter: Jim Krygowski

    Created: Fri, 5 Sep 2003 12:45 PM
    Updated: Sat, 6 Sep 2003 12:52 AM
Environment: Windows 2000, JDK 1.4.1_04, Tomcat 4.1.27-LE-jdk14

Description:
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)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.