[ 
http://www.stripesframework.org/jira/browse/STS-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Fennell resolved STS-548.
-----------------------------

    Resolution: Not a Bug

As per reporter.

> NullPointerException in FlashScope.getContainer(...) method
> -----------------------------------------------------------
>
>                 Key: STS-548
>                 URL: http://www.stripesframework.org/jira/browse/STS-548
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.4.3
>         Environment: Jetty 6.1.8, Win XP
>            Reporter: Josef Cacek
>
> I get NullPointerException when I do ForwardResolution to another Action.
> e.g.
> public Resolution storeMethod() {
>   //... some logic here
>   //.html suffix is configured for Stripes ActionBeans
>   return new ForwardResolution("/DoSomething.html?id=123&editMethod=");
> }
> and I'll see in console following stack trace:
> 2008-04-18 10:44:09.129::WARN:  /myapp/SelectObjects.html
> java.lang.NullPointerException
>       at 
> net.sourceforge.stripes.controller.FlashScope.getContainer(FlashScope.java:343)
>       at 
> net.sourceforge.stripes.controller.FlashScope.requestComplete(FlashScope.java:152)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.flashOutbound(StripesFilter.java:241)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:187)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>       at 
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
>       at 
> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
> ... more filters here...
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>       at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>       at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>       at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
>       at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>       at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>       at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>       at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>       at org.mortbay.jetty.Server.handle(Server.java:324)
>       at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>       at 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
>       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
>       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>       at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>       at 
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> I've found the same problem reported in stripes-user forum, but no solution 
> is there:
> http://www.nabble.com/Odd-NPE-following-Redirect-After-Post-tt16012030.html#a16012030

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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to