You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we experienced an issue when trying to resume an asynchronous response in our HTTP server. The issue was caused by an NPE that was thrown when trying to close the OutputBuffer:
java.lang.NullPointerException: Cannot invoke "org.glassfish.grizzly.http.HttpContext.getOutputSink()" because "this.httpContext" is null
at org.glassfish.grizzly.http.io.OutputBuffer.blockAfterWriteIfNeeded(OutputBuffer.java:906)
at org.glassfish.grizzly.http.io.OutputBuffer.close(OutputBuffer.java:684)
at org.glassfish.grizzly.http.server.NIOOutputStreamImpl.close(NIOOutputStreamImpl.java:76)
at org.glassfish.jersey.message.internal.CommittingOutputStream.close(CommittingOutputStream.java:251)
at org.glassfish.jersey.message.internal.OutboundMessageContext.close(OutboundMessageContext.java:565)
at org.glassfish.jersey.server.ContainerResponse.close(ContainerResponse.java:403)
at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:763)
at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:398)
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:388)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:926)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:266)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:963)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:914)
We are using grizzly-http-server version 4.0.2.
This is the first time we saw such an issue although we are using this version for several months now.
Best regards,
Marcel
The text was updated successfully, but these errors were encountered:
Hi,
we experienced an issue when trying to resume an asynchronous response in our HTTP server. The issue was caused by an NPE that was thrown when trying to close the
OutputBuffer
:We are using grizzly-http-server version 4.0.2.
This is the first time we saw such an issue although we are using this version for several months now.
Best regards,
Marcel
The text was updated successfully, but these errors were encountered: