[ http://issues.apache.org/jira/browse/BEEHIVE-847?page=all ]

Rich Feit updated BEEHIVE-847:
------------------------------

    Version: V1

> IllegalArgumentException after invalidating a session
> -----------------------------------------------------
>
>          Key: BEEHIVE-847
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-847
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>  Environment: testing with the latest daily build  
> (apache-beehive-incubating-20050623-193141)
>     Reporter: lisa Cannon-Morrett
>     Assignee: Alejandro Ramirez
>      Fix For: V1

>
> IllegalArgumentException error after invalidating a session in an action.  
> The action invalidates the session and then forwards to another controller.  
> This code works fine on the 1.0m1 release. 
> Here's the code:
>    @Jpf.Action( 
>               forwards = { @Jpf.Forward(name="success", 
> path="/Controller.jpf")} 
>    )
>    protected Forward processLogout() {
>         HttpServletRequest request = getRequest();
>         request.getSession().invalidate();
>       return new Forward("success");
>    }
> After it executes, I get the following error:
> 07/07/2005, 13:34:51 | ERROR | 
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/wpajpf-petstore-1.0.0].[action]
>  | Servlet.service() for servlet action threw exception
> java.lang.IllegalArgumentException: null source
>       at java.util.EventObject.<init>(EventObject.java:38)
>       at javax.servlet.http.HttpSessionEvent.<init>(HttpSessionEvent.java:26)
>       at 
> javax.servlet.http.HttpSessionBindingEvent.<init>(HttpSessionBindingEvent.java:100)
>       at 
> org.apache.beehive.netui.pageflow.internal.DeferredSessionStorageHandler$SessionBindingEvent.<init>(DeferredSessionStorageHandler.java:75)
>       at 
> org.apache.beehive.netui.pageflow.internal.DeferredSessionStorageHandler.removeAttribute(DeferredSessionStorageHandler.java:109)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowStack.destroy(PageFlowStack.java:147)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowStack.popUntil(PageFlowStack.java:179)
>       at 
> org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:322)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.getFlowController(PageFlowRequestProcessor.java:653)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:558)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:886)
>       at 
> org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:600)
>       at 
> org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:163)
>       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> .....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to