org.springframework.web.context.request.async.AsyncRequestTimeoutException: null

Spring JIRA | Johannes Edmeier | 3 months ago
  1. 0

    Spring admin Server running issue

    GitHub | 2 months ago | grissomsh
    org.springframework.web.context.request.async.AsyncRequestTimeoutException: null
  2. 0

    When the response has been already committed and the request timeouts afterwards there is an AsyncRequestTimeoutException logged on Tomcat 8.5.x. When the response hasn't been committed no error is logged. I guess this is due to the change in SPR-14669. Is the logged exception expected behaviour? {noformat} 2016-09-21 21:27:02.101 ERROR 18717 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.context.request.async.AsyncRequestTimeoutException] with root cause org.springframework.web.context.request.async.AsyncRequestTimeoutException: null at org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor.handleTimeout(TimeoutDeferredResultProcessingInterceptor.java:42) at org.springframework.web.context.request.async.DeferredResultInterceptorChain.triggerAfterTimeout(DeferredResultInterceptorChain.java:75) at org.springframework.web.context.request.async.WebAsyncManager$5.run(WebAsyncManager.java:392) at org.springframework.web.context.request.async.StandardServletAsyncWebRequest.onTimeout(StandardServletAsyncWebRequest.java:143) at org.apache.catalina.core.AsyncListenerWrapper.fireOnTimeout(AsyncListenerWrapper.java:44) at org.apache.catalina.core.AsyncContextImpl.timeout(AsyncContextImpl.java:131) at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:157) at org.apache.coyote.AbstractProcessor.dispatch(AbstractProcessor.java:228) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Spring JIRA | 3 months ago | Johannes Edmeier
    org.springframework.web.context.request.async.AsyncRequestTimeoutException: null
  3. 0

    Recurring AsyncRequestTimeoutException in Spring Boot Admin log

    Stack Overflow | 2 months ago | Martin
    org.springframework.web.context.request.async.AsyncRequestTimeoutException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AsyncRequestTimeoutException pollutes log

    GitHub | 1 month ago | dilbertside
    org.springframework.web.context.request.async.AsyncRequestTimeoutException: null

  1. tvrmsmith 226 times, last 1 month ago

Root Cause Analysis

  1. org.springframework.web.context.request.async.AsyncRequestTimeoutException

    null

    at org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor.handleTimeout()
  2. Spring
    StandardServletAsyncWebRequest.onTimeout
    1. org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor.handleTimeout(TimeoutDeferredResultProcessingInterceptor.java:42)
    2. org.springframework.web.context.request.async.DeferredResultInterceptorChain.triggerAfterTimeout(DeferredResultInterceptorChain.java:75)
    3. org.springframework.web.context.request.async.WebAsyncManager$5.run(WebAsyncManager.java:392)
    4. org.springframework.web.context.request.async.StandardServletAsyncWebRequest.onTimeout(StandardServletAsyncWebRequest.java:143)
    4 frames
  3. Glassfish Core
    CoyoteAdapter.asyncDispatch
    1. org.apache.catalina.core.AsyncListenerWrapper.fireOnTimeout(AsyncListenerWrapper.java:44)
    2. org.apache.catalina.core.AsyncContextImpl.timeout(AsyncContextImpl.java:131)
    3. org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:157)
    3 frames
  4. Grizzly HTTP
    SocketProcessorBase.run
    1. org.apache.coyote.AbstractProcessor.dispatch(AbstractProcessor.java:228)
    2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
    3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
    5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    5 frames
  5. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  6. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame