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

Google Groups | Eric Parton | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalStateException thrown after all requests to monitoring endpoints

    Google Groups | 10 months ago | Eric Parton
    java.lang.IllegalStateException: UT000002: The response has already been started

    Root Cause Analysis

    1. java.lang.IllegalStateException

      UT000002: The response has already been started

      at io.undertow.server.HttpServerExchange.setStatusCode()
    2. Undertow Core
      HttpServerExchange.setResponseCode
      1. io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1353)
      2. io.undertow.server.HttpServerExchange.setResponseCode(HttpServerExchange.java:1328)
      2 frames
    3. WildFly: Undertow
      DefaultResponseCodeHandler.handleRequest
      1. org.wildfly.extension.undertow.DefaultResponseCodeHandler.handleRequest(DefaultResponseCodeHandler.java:52)
      1 frame
    4. Undertow Core
      PathHandler.handleRequest
      1. io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
      1 frame
    5. WildFly: Undertow
      Host$OptionsHandler.handleRequest
      1. org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:277)
      1 frame
    6. Undertow Core
      HttpContinueReadHandler.handleRequest
      1. io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
      1 frame
    7. org.wildfly.swarm
      SecureHttpContexts.handleRequest
      1. org.wildfly.swarm.monitor.runtime.HttpContexts.handleRequest(HttpContexts.java:69)
      2. org.wildfly.swarm.monitor.runtime.SecureHttpContexts.handleRequest(SecureHttpContexts.java:80)
      2 frames
    8. WildFly: Undertow
      Host$HostRootHandler.handleRequest
      1. org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:285)
      1 frame
    9. Undertow Core
      ChannelUpgradeHandler.handleRequest
      1. io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64)
      2. io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:76)
      3. io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:49)
      4. io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:158)
      4 frames
    10. org.wildfly.swarm
      GateHandlerWrapper$GateHandler.handleRequest
      1. org.wildfly.swarm.undertow.runtime.GateHandlerWrapper$GateHandler.handleRequest(GateHandlerWrapper.java:61)
      1 frame
    11. Undertow Core
      HttpOpenListener.handleEvent
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
      2. io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:232)
      3. io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:130)
      4. io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:145)
      5. io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
      6. io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
      6 frames
    12. XNIO API
      ChannelListeners.invokeChannelListener
      1. org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      2. org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
      3. org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
      4. org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      4 frames
    13. XNIO NIO Implementation
      WorkerThread.run
      1. org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:121)
      2. org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
      3. org.xnio.nio.WorkerThread.run(WorkerThread.java:464)
      3 frames