beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Ramirez (JIRA)" <...@beehive.apache.org>
Subject [jira] Assigned: (BEEHIVE-847) IllegalArgumentException after invalidating a session
Date Mon, 29 Aug 2005 22:52:05 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-847?page=all ]

Alejandro Ramirez reassigned BEEHIVE-847:
-----------------------------------------

    Assign To:     (was: Alejandro Ramirez)

Changing owner to Unassigned.  This bug is closed since it was:   Verified fixed in "trunk"
with svn rev 233556.
Executed the repro steps and I no longer received the exeption. Furthermore, I successfully
navigated to the other pageflow specified in the forward.

> 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
>      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


Mime
View raw message