myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinis Vicups (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3638) NPE in ServerSideStateCacheImpl
Date Sat, 22 Dec 2012 10:57:12 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538727#comment-13538727
] 

Reinis Vicups commented on MYFACES-3638:
----------------------------------------

Still occurs in the most current 2.1.10.

Here's my stacktrace:
java.lang.NullPointerException
	org.apache.myfaces.renderkit.ServerSideStateCacheImpl$CounterSessionViewStorageFactory.createSerializedViewKey(ServerSideStateCacheImpl.java:1413)
	org.apache.myfaces.renderkit.ServerSideStateCacheImpl$CounterSessionViewStorageFactory.createSerializedViewKey(ServerSideStateCacheImpl.java:1392)
	org.apache.myfaces.renderkit.ServerSideStateCacheImpl.saveSerializedViewInServletSession(ServerSideStateCacheImpl.java:318)
	org.apache.myfaces.renderkit.ServerSideStateCacheImpl.saveSerializedView(ServerSideStateCacheImpl.java:1036)
	org.apache.myfaces.renderkit.html.HtmlResponseStateManager.saveState(HtmlResponseStateManager.java:149)
	org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:253)
	org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase.renderView(JspViewDeclarationLanguageBase.java:221)
	org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
	org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.render(CodiLifecycleWrapper.java:126)
	org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:79)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
	org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:112)
	de.orbitx.retena.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:48)
	org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
	org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
                
> NPE in ServerSideStateCacheImpl
> -------------------------------
>
>                 Key: MYFACES-3638
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3638
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.9
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 2.0.16, 2.1.10
>
>         Attachments: MYFACES-3638-alternate-fix-1.patch, MYFACES-3638.patch, MYFACES-3638-proposal.diff
>
>
> I'm getting the following NPE when having a request which leads to a 404:
> {code}
> Nov  9 09:00:45 j02 java.lang.NullPointerException
> Nov  9 09:00:45 j02      at org.apache.myfaces.renderkit.ServerSideStateCacheImpl$CounterSessionViewStorageFactory.createSerializedViewKey(ServerSideStateCacheImpl.java:1413)
> Nov  9 09:00:45 j02      at org.apache.myfaces.renderkit.ServerSideStateCacheImpl$CounterSessionViewStorageFactory.createSerializedViewKey(ServerSideStateCacheImpl.java:1392)
> Nov  9 09:00:45 j02      at org.apache.myfaces.renderkit.ServerSideStateCacheImpl.saveSerializedViewInServletSession(ServerSideStateCacheImpl.java:318)
> Nov  9 09:00:45 j02      at org.apache.myfaces.renderkit.ServerSideStateCacheImpl.saveSerializedView(ServerSideStateCacheImpl.java:1036)
> Nov  9 09:00:45 j02      at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.saveState(HtmlResponseStateManager.java:149)
> Nov  9 09:00:45 j02      at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:253)
> Nov  9 09:00:45 j02      at org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase.renderView(JspViewDeclarationLanguageBase.java:221)
> Nov  9 09:00:45 j02      at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
> Nov  9 09:00:45 j02      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> Nov  9 09:00:45 j02      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> Nov  9 09:00:45 j02      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> Nov  9 09:00:45 j02      at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
> Nov  9 09:00:45 j02      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> Nov  9 09:00:45 j02      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
> Nov  9 09:00:45 j02      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
> Nov  9 09:00:45 j02      at org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.render(CodiLifecycleWrapper.java:126)
> Nov  9 09:00:45 j02      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message