Details
Description
NPE exception is thrown in system listener when navigation is executed after the session was invalidated:
java.lang.NullPointerException
at org.icefaces.event.WindowAndViewIDSetup$1.encode(WindowAndViewIDSetup.java:52)
at org.icefaces.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:32)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:151)
java.lang.NullPointerException
at org.icefaces.event.WindowAndViewIDSetup$1.encode(WindowAndViewIDSetup.java:52)
at org.icefaces.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:32)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:151)
First test to see if the windowID and the ice.view are available. If they are not available (due to an Exception or other null condition) the hidden fields should not be written but this should be logged as errors.