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 with AtmosphereResource.getSession() #2368

Open
JicTinker opened this issue Apr 17, 2019 · 0 comments
Open

NPE with AtmosphereResource.getSession() #2368

JicTinker opened this issue Apr 17, 2019 · 0 comments
Labels

Comments

@JicTinker
Copy link

JicTinker commented Apr 17, 2019

Atmosphere :2.4.32
Stacktrace:

[ERROR] [pool-3-thread-52] [org.atmosphere.cpr.AsynchronousProcessor] Interceptor Atmosphere LifeCycle crashed. Processing will continue with other interceptor.
java.lang.NullPointerException: null
	at org.atmosphere.cpr.AtmosphereRequestImpl.getSession(AtmosphereRequestImpl.java:688) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.SessionTimeoutSupport.restoreTimeout(SessionTimeoutSupport.java:69) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereResourceImpl.cancel(AtmosphereResourceImpl.java:826) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereResourceImpl.dirtyClose(AtmosphereResourceImpl.java:919) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.DefaultBroadcaster.addAtmosphereResource(DefaultBroadcaster.java:1361) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereResourceImpl.suspend(AtmosphereResourceImpl.java:410) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.postInspect(AtmosphereResourceLifecycleInterceptor.java:161) ~[atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AsynchronousProcessor.postInterceptors(AsynchronousProcessor.java:381) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:232) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:114) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.container.JettyServlet30AsyncSupportWithWebSocket.service(JettyServlet30AsyncSupportWithWebSocket.java:53) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2300) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:191) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:177) [atmosphere-runtime-2.4.32.jar:2.4.32]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [jetty-server-8.1.8.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [jetty-server-8.1.8.jar:?]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) [jetty-server-8.1.8.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336) [jetty-server-8.1.8.jar:?]
@jfarcand jfarcand added the 2.5.13 label Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants