org.jboss.resteasy.spi.UnhandledException: Response is committed, can't handle exception

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Roy Wood
, 7 months ago
RESTEASY003770: Response is committed, can't handle exception
via JBoss Issue Tracker by gregory picavet, 1 year ago
RESTEASY003770: Response is committed, can't handle exception
via JBoss Issue Tracker by gregory picavet, 7 months ago
RESTEASY003770: Response is committed, can't handle exception
via GitHub by githubcdr
, 1 year ago
Response is committed, can't handle exception
via JBoss Issue Tracker by gregory picavet, 1 year ago
RESTEASY003770: Response is committed, can't handle exception
org.jboss.resteasy.spi.UnhandledException: Response is committed, can't handle exception
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:282)
at org.xnio.ssl.JsseSslConduitEngine.handleHandshake(JsseSslConduitEngine.java:503)
at org.xnio.ssl.JsseSslConduitEngine.wrapCloseMessage(JsseSslConduitEngine.java:821)
at org.xnio.ssl.JsseSslConduitEngine.flush(JsseSslConduitEngine.java:779)
at org.xnio.ssl.JsseSslConduitEngine.closeOutbound(JsseSslConduitEngine.java:899)
at org.xnio.ssl.JsseSslStreamSinkConduit.terminateWrites(JsseSslStreamSinkConduit.java:136)
at io.undertow.server.protocol.http.HttpResponseConduit.terminateWrites(HttpResponseConduit.java:710)
at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.terminateWrites(AbstractFixedLengthStreamSinkConduit.java:257)
at org.xnio.conduits.Conduits.writeFinalBasic(Conduits.java:134)
at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.writeFinal(AbstractFixedLengthStreamSinkConduit.java:175)
at org.xnio.conduits.ConduitStreamSinkChannel.writeFinal(ConduitStreamSinkChannel.java:104)
at io.undertow.channels.DetachableStreamSinkChannel.writeFinal(DetachableStreamSinkChannel.java:195)
at io.undertow.servlet.spec.ServletOutputStreamImpl.writeBufferBlocking(ServletOutputStreamImpl.java:565)
at io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:600)
at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper$DeferredOutputStream.close(HttpServletResponseWrapper.java:58)
at org.jboss.resteasy.util.CommitHeaderOutputStream.close(CommitHeaderOutputStream.java:87)
at org.jboss.resteasy.util.DelegatingOutputStream.close(DelegatingOutputStream.java:60)
at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.writeTo(AbstractWriterInterceptorContext.java:129)
at org.jboss.resteasy.core.interception.ServerWriterInterceptorContext.writeTo(ServerWriterInterceptorContext.java:62)
at org.jboss.resteasy.security.doseta.DigitalSigningInterceptor.aroundWriteTo(DigitalSigningInterceptor.java:143)
at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:122)
at org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.aroundWriteTo(GZIPEncodingInterceptor.java:100)
at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:122)
at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:99)
at org.jboss.resteasy.core.SynchronousDispatcher.asynchronousDelivery(SynchronousDispatcher.java:385)
at org.jboss.resteasy.core.AbstractAsynchronousResponse.internalResume(AbstractAsynchronousResponse.java:175)
at ru.semiot.commons.restapi.AsyncResponseHelper.safeResume(AsyncResponseHelper.java:34)
at ru.semiot.commons.restapi.AsyncResponseHelper.access$100(AsyncResponseHelper.java:11)
at ru.semiot.commons.restapi.AsyncResponseHelper$Resume.onNext(AsyncResponseHelper.java:96)
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:150)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:205)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:159)
at rx.schedulers.ExecutorScheduler$ExecutorAction.run(ExecutorScheduler.java:173)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
339 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 5 months ago
22 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.