Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE: Interceptor Atmosphere LifeCycle crashed. Processing will continue with other interceptor. #2188

Open
abannany opened this issue Jul 15, 2016 · 1 comment

Comments

@abannany
Copy link

abannany commented Jul 15, 2016

An error is thrown after an browser refresh (clicking on F5 or Cntr-F5). After the refresh the browser client reconnect to the server.

This error is thrown on an WAS 8.5.5.8 and Atmosphere 2.4.5.

Stacktrace:
java.lang.NullPointerException: null
at com.ibm.ws.webcontainer.srt.SRTServletRequest$SRTServletRequestHelper.access$200(SRTServletRequest.java:3211)
at com.ibm.ws.webcontainer.srt.SRTServletRequest.removeAttribute(SRTServletRequest.java:829)
at org.atmosphere.cpr.AtmosphereRequestImpl.removeAttribute(AtmosphereRequestImpl.java:659)
at org.atmosphere.container.Servlet30CometSupport.endAsyncContext(Servlet30CometSupport.java:136)
at org.atmosphere.container.Servlet30CometSupport.complete(Servlet30CometSupport.java:119)
at org.atmosphere.container.Servlet30CometSupport.complete(Servlet30CometSupport.java:46)
at org.atmosphere.cpr.AtmosphereResourceImpl.cancel(AtmosphereResourceImpl.java:806)
at org.atmosphere.cpr.AtmosphereResourceImpl.dirtyClose(AtmosphereResourceImpl.java:910)
at org.atmosphere.cpr.DefaultBroadcaster.addAtmosphereResource(DefaultBroadcaster.java:1370)
at org.atmosphere.cpr.AtmosphereResourceImpl.suspend(AtmosphereResourceImpl.java:401)
at org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.postInspect(AtmosphereResourceLifecycleInterceptor.java:145)
at org.atmosphere.cpr.AsynchronousProcessor.postInterceptors(AsynchronousProcessor.java:374)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:230)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:115)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:68)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2287)
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:191)
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

@SreecharanChallagundla
Copy link

Hello Abannany,

Didn't you any solution to this problem...

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants