Details
- 
        Type: Bug Bug
- 
        Status: Closed
- 
            Priority: Major Major
- 
            Resolution: Fixed
- 
            Affects Version/s: 4.1
- 
            Fix Version/s: 4.1
- 
            Component/s: Push Library
- 
            Labels:None
- 
            Environment:ICEfaces4 trunk r46259/ use PartialStateSavings=false config
 Browsers: all
 Server: Tomcat7
- 
                        Assignee Priority:P3
Description
                    When using showcase with PartialStateConfig=false context-param, a server warning is visible upon deploying and accessing the application; it also occurs if refreshing the page after session expiry - PartialStateSaving=false specific issue:
Nov 23, 2015 9:47:53 AM org.icepush.servlet.MainServlet <init>
INFO:
ICEsoft Technologies Inc.
ICEpush 4.1.0.SNAPSHOT
Build number: x
Revision: HEAD
Nov 23, 2015 9:47:54 AM com.sun.faces.context.StateContext startTrackViewModifications
WARNING: Unable to attach AddRemoveListener to UIViewRoot because it is null
Nov 23, 2015 9:47:56 AM com.sun.faces.application.view.ViewScopeManager <init>
INFO: CDI @ViewScoped bean functionality unavailable
Nov 23, 2015 9:47:53 AM org.icepush.servlet.MainServlet <init>
INFO:
ICEsoft Technologies Inc.
ICEpush 4.1.0.SNAPSHOT
Build number: x
Revision: HEAD
Nov 23, 2015 9:47:54 AM com.sun.faces.context.StateContext startTrackViewModifications
WARNING: Unable to attach AddRemoveListener to UIViewRoot because it is null
Nov 23, 2015 9:47:56 AM com.sun.faces.application.view.ViewScopeManager <init>
INFO: CDI @ViewScoped bean functionality unavailable
Modified WindowScopeManager to mark the dispose window request as a resource request thus avoiding to run full JSF lifecycle when disposing window scoped beans. This then also avoids having the full state manager try to instrument a view root that is null when the dispose window request comes in right after the application was restarted.