Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-776

Resumed and dispatched when using FormDataParser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.0.Final
    • 1.3.22.Final
    • None
    • None

      I received the following stack traces in my application this morning. I am wrapping my handler using the eager form parsing handler

                  EagerFormParsingHandler formParsingHandler = new EagerFormParsingHandler();
                  formParsingHandler.setNext(handler);
      
      00:14:41,251 [XNIO-1 I/O-2] ERROR io.undertow.request - UT005071: Undertow request failed HttpServerExchange{ POST /ref/ request {Connection=[Keep-Alive], Content-Length=[4512], Content-Type=[application/x-www-form-urlencoded; charset=UTF-8], User-Agent=[Apache-HttpAsyncClient/4.0.2 (java 1.5)], Host=[host]} response {}}
      java.lang.RuntimeException: resumed and dispatched
              at io.undertow.server.Connectors.executeRootHandler(Connectors.java:207)
              at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:802)
              at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
              at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:787)
              at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:805)
              at io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.handleEvent(FormEncodedDataDefinition.java:116)
              at io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.handleEvent(FormEncodedDataDefinition.java:89)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at io.undertow.channels.DetachableStreamSourceChannel$SetterDelegatingListener.handleEvent(DetachableStreamSourceChannel.java:231)
              at io.undertow.channels.DetachableStreamSourceChannel$SetterDelegatingListener.handleEvent(DetachableStreamSourceChannel.java:218)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
              at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
      00:14:41,251 [XNIO-1 task-3] ERROR io.undertow.request - UT005071: Undertow request failed HttpServerExchange{ POST /ref/ request {Connection=[Keep-Alive], Content-Length=[4512], Content-Type=[application/x-www-form-urlencoded; charset=UTF-8], User-Agent=[Apache-HttpAsyncClient/4.0.2 (java 1.5)], Host=[host]} response {}}
      java.lang.RuntimeException: resumed and dispatched
              at io.undertow.server.Connectors.executeRootHandler(Connectors.java:207)
              at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:802)
              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)
      

            sdouglas1@redhat.com Stuart Douglas
            proyal_jira peter royal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: