java.lang.IllegalStateException: UT000002: The response has already been started

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 119#227739294
    via GitHub by rstoyanchev
    ,
    • java.lang.IllegalStateException: UT000002: The response has already been started at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1353) at io.undertow.server.HttpServerExchange.setResponseCode(HttpServerExchange.java:1328) at org.wildfly.extension.undertow.DefaultResponseCodeHandler.handleRequest(DefaultResponseCodeHandler.java:52) at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94) at org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:277) at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65) at org.wildfly.swarm.monitor.runtime.HttpContexts.handleRequest(HttpContexts.java:69) at org.wildfly.swarm.monitor.runtime.SecureHttpContexts.handleRequest(SecureHttpContexts.java:80) at org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:285) at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64) at io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:76) at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:49) at io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:158) at org.wildfly.swarm.undertow.runtime.GateHandlerWrapper$GateHandler.handleRequest(GateHandlerWrapper.java:61) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:232) at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:130) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:145) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291) at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:121) at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580) at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)
    No Bugmate found.