[
https://issues.apache.org/jira/browse/MYFACES-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179727#comment-14179727
]
Donatas Ciuksys commented on MYFACES-3933:
------------------------------------------
Well, partial state saving is not disabled. Client side state saving is being
used, many @ViewScoped beans. PrimeFaces, Omnifaces and OCPSoft Rewrite
libraries are being used; no other suspects.
On production system this stack trace pops couple of times each day (on average
we have 4 requests per second). I cannot reproduce the case, no matter what I
try (session invalidation, multiple tabs, multiple different browsers, ...).
In general system is working, no one is complaining (I guess if somebody got
bitten by the error, he tries again and the page loads). Yet I see this stack
trace constantly.
How could I investigate this? some kind of listener (I have ExceptionListener)?
What info to print?
> NullPointerException StateManagerImpl.restoreView(StateManagerImpl.java:147)
> ----------------------------------------------------------------------------
>
> Key: MYFACES-3933
> URL: https://issues.apache.org/jira/browse/MYFACES-3933
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.5
> Environment: TomEE 1.7.1 Plus, Oracle JDK 1.7.0_72 x64, Windows
> Server 2012
> Reporter: Donatas Ciuksys
> Assignee: Leonardo Uribe
> Priority: Minor
>
> {code}
> java.lang.NullPointerException: null
> at
> org.apache.myfaces.application.StateManagerImpl.restoreView(StateManagerImpl.java:147)
> ~[myfaces-impl-2.2.5.jar:2.2.5]
> at
> org.apache.myfaces.shared.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:104)
> ~[myfaces-impl-2.2.5.jar:2.2.5]
> at
> org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:336)
> ~[myfaces-impl-2.2.5.jar:2.2.5]
> at
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:82)
> ~[myfaces-api-2.2.5.jar:2.2.5]
> at
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:82)
> ~[myfaces-api-2.2.5.jar:2.2.5]
> {code}
> Better error handling needed - what actually is wrong with the request?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)