Skip to main content

Glassfish 4 NPE

No replies
Bahtiyar
Offline
Joined: 2014-01-16
Points: 0

Hello

I have an application that uses Servlet 3.1 asynchronous support and it is running on Glassfish 4 (b89). When i send too many request to application i'm getting this error:

WARNING: Error invoking requestDestroyed method on ServletRequestListener org.jboss.weld.servlet.WeldListener
java.lang.NullPointerException
at org.jboss.weld.context.AbstractBoundContext.deactivate(AbstractBoundContext.java:71)
at org.jboss.weld.context.http.HttpRequestContextImpl.deactivate(HttpRequestContextImpl.java:70)
at org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:154)
at org.apache.catalina.core.StandardContext.fireRequestDestroyedEvent(StandardContext.java:5261)
at org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:255)
at org.apache.catalina.connector.Request.errorDispatchAndComplete(Request.java:4484)
at org.apache.catalina.connector.Request.asyncTimeout(Request.java:4424)
at org.apache.catalina.connector.Request.processTimeout(Request.java:4458)
at org.apache.catalina.connector.Request.access$000(Request.java:156)
at org.apache.catalina.connector.Request$6.onTimeout(Request.java:4302)
at org.glassfish.grizzly.http.server.Response$SuspendTimeout.onTimeout(Response.java:2024)
at org.glassfish.grizzly.http.server.Response$DelayQueueWorker.doWork(Response.java:2073)
at org.glassfish.grizzly.http.server.Response$DelayQueueWorker.doWork(Response.java:2068)
at org.glassfish.grizzly.utils.DelayedExecutor$DelayedRunnable.run(DelayedExecutor.java:158)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

In which case this error occurs?

Thank you
Bahtiyar