org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: WRITER

GitHub | damonchen | 4 months ago
  1. 0

    Spring4.1 with customer annotation will raise exception

    GitHub | 4 months ago | damonchen
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: WRITER
  2. 0

    Hola, tengo instalado en un jenkins master donde ejecuto los jobs , el build-publisher plugin para enviar a un jenkins externo los resultados del buil para que los vean unos clientes. En el jenkins publico tengo el mismo plugin instalado. En el job que quiero publicar cuando intenta enviar el build me sale este error en el build *publisher status*: Waiting for a time out before a retry, after encountering an error while sending CLARA_BMA-FLX #100 (6 min 23 sec before retry): hudson.plugins.build_publisher.ServerFailureException: org.apache.commons.httpclient.HttpException: Remote instance didn't confirm recieving this build at hudson.plugins.build_publisher.HTTPBuildTransmitter.sendBuild(HTTPBuildTransmitter.java:88) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:116) Caused by: org.apache.commons.httpclient.HttpException: Remote instance didn't confirm recieving this build at hudson.plugins.build_publisher.HTTPBuildTransmitter.sendBuild(HTTPBuildTransmitter.java:82) ... 1 more en see the *server response HTML* pone: Stack trace java.lang.IllegalStateException: WRITER at org.eclipse.jetty.server.Response.getOutputStream(Response.java:896) at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:142) at org.kohsuke.stapler.compression.CompressionServletResponse.activate(CompressionServletResponse.java:61) at org.kohsuke.stapler.compression.CompressionFilter.activate(CompressionFilter.java:108) at org.kohsuke.stapler.ResponseImpl.getCompressedOutputStream(ResponseImpl.java:300) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.createOutputStream(DefaultScriptInvoker.java:88) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.createXMLOutput(DefaultScriptInvoker.java:68) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:51) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:30) at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) 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) cuando accedo al registro del job: HTTP ERROR 404 Problem accessing /job/CLARA_BMA-FLX/95/. Reason: Not Found /job/CLARA_BMA-FLX/95/ no existe , porque la url de los jobs es /jobs pero no hay forma de cambiarlo? Estoy desesperada

    Jenkins JIRA | 5 months ago | deat deat
    java.lang.IllegalStateException: WRITER
  3. 0

    Could not send Message : SocketTimeoutException : NotAuthorizedException

    Stack Overflow | 3 years ago | jeff porter
    java.lang.IllegalStateException: WRITER
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build Monitor plugin shows error as below

    GitHub | 2 years ago | viral-shah-webjet
    java.lang.IllegalStateException: WRITER

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      WRITER

      at org.eclipse.jetty.server.Response.getOutputStream()
    2. Jetty
      Response.getOutputStream
      1. org.eclipse.jetty.server.Response.getOutputStream(Response.java:896)
      1 frame
    3. Spring
      AbstractHttpMessageConverter.write
      1. org.springframework.http.server.ServletServerHttpResponse.getBody(ServletServerHttpResponse.java:84)
      2. org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:109)
      3. org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:40)
      4. org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:208)
      4 frames
    4. Spring MVC
      RequestResponseBodyMethodProcessor.handleReturnValue
      1. org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:161)
      2. org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:101)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:185)
      3 frames
    5. Spring
      HandlerMethodReturnValueHandlerComposite.handleReturnValue
      1. org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:71)
      1 frame
    6. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
      8 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      1 frame
    8. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    10. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      2 frames
    11. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    12. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.__doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java)
      8. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      9. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      10. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      11. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      12. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      13. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      14. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      15. org.eclipse.jetty.server.Server.handle(Server.java:499)
      16. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      17. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      18. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      19. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      20. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      20 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame