You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Kieselhorst (JIRA)" <de...@myfaces.apache.org> on 2016/02/17 09:40:18 UTC

[jira] [Resolved] (MYFACES-3987) NPE in FlashImpl.isKeepMessages

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

Dennis Kieselhorst resolved MYFACES-3987.
-----------------------------------------
    Resolution: Fixed

> NPE in FlashImpl.isKeepMessages
> -------------------------------
>
>                 Key: MYFACES-3987
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3987
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.23, 2.1.17, 2.2.8
>            Reporter: Dennis Kieselhorst
>            Assignee: Dennis Kieselhorst
>            Priority: Minor
>             Fix For: 2.2.10
>
>
> Happens during Selenium test execution in http://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-example/tobago-example-test/ for sheet-selector.jspx:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.myfaces.shared.context.flash.FlashImpl.isKeepMessages(FlashImpl.java:395)
> 	at org.apache.myfaces.shared.context.flash.FlashImpl._saveMessages(FlashImpl.java:686)
> 	at org.apache.myfaces.shared.context.flash.FlashImpl.doPostPhaseActions(FlashImpl.java:271)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:280)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:806)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
> 	at org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter.doFilter(TobagoMultipartFormdataFilter.java:124)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:550)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1128)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1062)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:507)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:237)
> 	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:240)
> 	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:93)
> 	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:53)
> 	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceRun.produceAndRun(ExecuteProduceRun.java:191)
> 	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceRun.run(ExecuteProduceRun.java:126)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:641)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:559)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)