Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-3.2.0.GA
-
Component/s: Push Library
-
Labels:None
-
Environment:ICEmobile, ICEpush
Description
The following Exception was observed in place of the expected JSF page view:
java.lang.NullPointerException
org.icepush.BlockingConnectionServer.backOff(BlockingConnectionServer.java:91)
org.icepush.LocalPushGroupManager.backOff(LocalPushGroupManager.java:146)
org.icepush.PushContext.backOff(PushContext.java:58)
org.icemobile.impl.application.PushBackOffPhaseListener.beforePhase(PushBackOffPhaseListener.java:45)
com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
java.lang.NullPointerException
org.icepush.BlockingConnectionServer.backOff(BlockingConnectionServer.java:91)
org.icepush.LocalPushGroupManager.backOff(LocalPushGroupManager.java:146)
org.icepush.PushContext.backOff(PushContext.java:58)
org.icemobile.impl.application.PushBackOffPhaseListener.beforePhase(PushBackOffPhaseListener.java:45)
com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
It appears that the browserID on the BlockingConnection server instance is null (since this is the initial page load, push has not been initialized yet). In this case backOff() should simply return (and log at debug level).
if (this.browserID.equals(browserID) && delay > 0) {