java.lang.IllegalStateException: WRITER

jenkins-ci.org | 5 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

    Build Monitor plugin shows error as below

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

    Getting below error for Jenkins build monitor plugin. tried to revert 1 version back but still getting same error . tried to upgrade from build 1.6+build 140 to 1.5+build 142 but still same issue . "\n\n\n\n \n <!DOCTYPE html><html><head resURL=\"/static/972290de\">\n \n\n <title>Jenkins [Jenkins]</title><link rel=\"stylesheet\" href=\"/static/972290de/css/style.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/css/color.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/css/responsive-grid.css\" type=\"text/css\" /><link rel=\"shortcut icon\" href=\"/static/972290de/favicon.ico\" type=\"image/vnd.microsoft.icon\" /><script>var isRunAsTest=false; var rootURL=\"\"; var resURL=\"/static/972290de\";</script><script src=\"/static/972290de/scripts/prototype.js\" type=\"text/javascript\"></script><script src=\"/static/972290de/scripts/behavior.js\" type=\"text/javascript\"></script><script src='/adjuncts/972290de/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src=\"/static/972290de/scripts/yui/yahoo/yahoo-min.js\"></script><script src=\"/static/972290de/scripts/yui/dom/dom-min.js\"></script><script src=\"/static/972290de/scripts/yui/event/event-min.js\"></script><script src=\"/static/972290de/scripts/yui/animation/animation-min.js\"></script><script src=\"/static/972290de/scripts/yui/dragdrop/dragdrop-min.js\"></script><script src=\"/static/972290de/scripts/yui/container/container-min.js\"></script><script src=\"/static/972290de/scripts/yui/connection/connection-min.js\"></script><script src=\"/static/972290de/scripts/yui/datasource/datasource-min.js\"></script><script src=\"/static/972290de/scripts/yui/autocomplete/autocomplete-min.js\"></script><script src=\"/static/972290de/scripts/yui/menu/menu-min.js\"></script><script src=\"/static/972290de/scripts/yui/element/element-min.js\"></script><script src=\"/static/972290de/scripts/yui/button/button-min.js\"></script><script src=\"/static/972290de/scripts/yui/storage/storage-min.js\"></script><script src=\"/static/972290de/scripts/hudson-behavior.js\" type=\"text/javascript\"></script><script src=\"/static/972290de/scripts/sortable.js\" type=\"text/javascript\"></script><script>crumb.init(\"\", \"\");</script><link rel=\"stylesheet\" href=\"/static/972290de/scripts/yui/container/assets/container.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/scripts/yui/assets/skins/sam/skin.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/scripts/yui/container/assets/skins/sam/container.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/scripts/yui/button/assets/skins/sam/button.css\" type=\"text/css\" /><link rel=\"stylesheet\" href=\"/static/972290de/scripts/yui/menu/assets/skins/sam/menu.css\" type=\"text/css\" /><link rel=\"search\" href=\"/opensearch.xml\" type=\"application/opensearchdescription+xml\" title=\"Jenkins\" /><meta name=\"ROBOTS\" content=\"INDEX,NOFOLLOW\" /><script src=\"/adjuncts/972290de/org/kohsuke/stapler/jquery/jquery.full.js\" type=\"text/javascript\"></script><script>var Q=jQuery.noConflict()</script><script src=\"/static/972290de/scripts/yui/cookie/cookie-min.js\"></script></head><body id=\"jenkins\" class=\"yui-skin-sam jenkins-1.609\" data-version=\"jenkins-1.609\"><a href=\"#skip2content\" class=\"skiplink\">Skip to content</a><div id=\"page-head\"><div id=\"header\"><div class=\"logo\"><a id=\"jenkins-home-link\" href=\"/\"><img src=\"/static/972290de/images/headshot.png\" alt=\"title\" id=\"jenkins-head-icon\" /><img src=\"/static/972290de/images/title.png\" alt=\"title\" width=\"139\" id=\"jenkins-name-icon\" height=\"34\" /></a></div><div class=\"login\"> <a href=\"/login?from=%2Foops\"><b>log in</b></a></div><div class=\"searchbox hidden-xs\"><form method=\"get\" name=\"search\" action=\"/search/\" style=\"position:relative;\" class=\"no-json\"><div id=\"search-box-minWidth\"></div><div id=\"search-box-sizer\"></div><div id=\"searchform\"><input name=\"q\" placeholder=\"search\" id=\"search-box\" class=\"has-default-text\" /> <a href=\"http://wiki.jenkins-ci.org/display/JENKINS/Search+Box\"><img src=\"/static/972290de/images/16x16/help.png\" style=\"width: 16px; height: 16px; \" class=\"icon-help icon-sm\" /></a><div id=\"search-box-completion\"></div><script>createSearchBox(\"/search/\");</script></div></form></div></div><div id=\"breadcrumbBar\"><tr id=\"top-nav\"><td id=\"left-top-nav\" colspan=\"2\"><link rel='stylesheet' href='/adjuncts/972290de/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/972290de/lib/layout/breadcrumbs.js' type='text/javascript'></script><div class=\"top-sticker noedge\"><div class=\"top-sticker-inner\"><div id=\"right-top-nav\"></div><ul id=\"breadcrumbs\"><li class=\"item\"><a href=\"/\" class=\"model-link inside\">Jenkins</a></li><li href=\"/\" class=\"children\"></li></ul><div id=\"breadcrumb-menu-target\"></div></div></div></td></tr></div></div><div id=\"page-body\"><div class=\"row\"><div id=\"side-panel\"><div id=\"side-panel-content\"><div class=\"task\"><a href=\"http://jenkins-ci.org/\" class=\"task-icon-link\"><img src=\"/static/972290de/images/24x24/next.png\" style=\"width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;\" class=\"icon-next icon-md\" /></a> <a href=\"http://jenkins-ci.org/\" class=\"task-link\">Jenkins project</a></div><div class=\"task\"><a href=\"http://issues.jenkins-ci.org/\" class=\"task-icon-link\"><img src=\"/static/972290de/images/24x24/gear2.png\" style=\"width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;\" class=\"icon-gear2 icon-md\" /></a> <a href=\"http://issues.jenkins-ci.org/\" class=\"task-link\">Bug tracker</a></div><div class=\"task\"><a href=\"http://jenkins-ci.org/content/mailing-lists\" class=\"task-icon-link\"><img src=\"/static/972290de/images/24x24/search.png\" style=\"width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;\" class=\"icon-search icon-md\" /></a> <a href=\"http://jenkins-ci.org/content/mailing-lists\" class=\"task-link\">Mailing Lists</a></div><div class=\"task\"><a href=\"https://twitter.com/jenkinsci\" class=\"task-icon-link\"><img src=\"/static/972290de/images/24x24/user.png\" style=\"width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;\" class=\"icon-user icon-md\" /></a> <a href=\"https://twitter.com/jenkinsci\" class=\"task-link\">Twitter: @jenkinsci</a></div></div></div><div id=\"main-panel\"><div id=\"main-panel-content\"><a name=\"skip2content\"></a><h1 style=\"text-align: center\"><img src=\"/static/972290de/images/rage.png\" width=\"154\" height=\"179\" /><span style=\"font-size:50px\"> Oops!</span></h1><div id=\"error-description\"><p>A problem occurred while processing the request.\n Please check <a href=\"https://issues.jenkins-ci.org/\">our bug tracker</a> to see if a similar problem has already been reported.\n If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem.\n If you think this is a new issue, please file a new issue.\n When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins.\n <a href=\"http://jenkins-ci.org/content/mailing-lists\">The users list</a> might be also useful in understanding what has happened.</p><h2>Stack trace</h2><pre style=\"margin:2em; clear:both\">java.lang.IllegalStateException: WRITER\r\n\tat org.eclipse.jetty.server.Response.getOutputStream(Response.java:691)\r\n\tat javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:142)\r\n\tat org.kohsuke.stapler.compression.CompressionServletResponse.activate(CompressionServletResponse.java:61)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.activate(CompressionFilter.java:108)\r\n\tat org.kohsuke.stapler.ResponseImpl.getCompressedOutputStream(ResponseImpl.java:285)\r\n\tat org.kohsuke.stapler.jelly.DefaultScriptInvoker.createOutputStream(DefaultScriptInvoker.java:88)\r\n\tat org.kohsuke.stapler.jelly.DefaultScriptInvoker.createXMLOutput(DefaultScriptInvoker.java:68)\r\n\tat org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:51)\r\n\tat org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)\r\n\tat hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:27)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:370)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)\r\n\tat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)\r\n\tat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)\r\n\tat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\r\n\tat winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n</pre></div></div></div></div></div><div id=\"footer-container\" class=\"hidden-xs\"><div id=\"footer\"><span class=\"page_generated\">\n Page generated:\n Apr 27, 2015 11:03:37 AM</span><span class=\"rest_api\"><a href=\"api/\">REST API</a></span><span class=\"jenkins_ver\"><a href=\"http://jenkins-ci.org/\">Jenkins ver. 1.609</a></span><div id=\"l10n-dialog\" class=\"dialog\"></div><div id=\"l10n-footer\" style=\"display:none; float:left\"><a href=\"#\" onclick=\"return showTranslationDialog();\"><img src=\"/static/972290de/plugin/translation/flags.png\" />\n Help us localize this page\n </a></div><script>var footer = document.getElementById('l10n-footer');\n var f = document.getElementById('footer');\n f.insertBefore(footer,f.firstChild);\n footer.style.display=\"block\";\n\n var translation={}; \n translation.bundles = \"sHHeEG3vsGunFQUdwkncbhucVwj294br25y6N3iF95L0ZyUuUVj4QmTdesqWHFCTbijkgslWTPxDja1WpkUJm2THY6m0X9g7c06b3DwPptAn4PhSL2Sd95Yqd+ZHBO/39ufvd7jJEMV+42+eJqaB35KwvDuCbBw3vg2sAjkfYzZy7+QNA3AdXb53p9IT5gk1USXnE263bJllKzggB4cmdiTjask8wbWNb/BPU4qZ5dkGOniXSonzph0H8LktnwjCIpFt3ydprp8R5sVKY6YDgQTBWhlWQvsT11aWAO+T7dXT4sluCGz992v3ssBlN9UYKBhBxW0eFk8zMVLued1hh4AzfcPJJAXhZj/bwimmlyzP/L5X17unbrI04JpqN0AOhVDWsSeNpkyQb+qjI3VKJzodw/abNi88SHL4BdorkEfoDbGxYNpIIw+k2NJrHtSIYZsF/M8H9UH3Rh8pYBv3l3SSC/+3Bgv9rXPJRgcC3qk=\";\n translation.detectedLocale = \"\";\n\n function showTranslationDialog() {\n if(!translation.launchDialog)\n loadScript(\"/static/972290de/plugin/translation/dialog.js\");\n else\n translation.launchDialog();\n return false; \n }</script></div></div></body></html>"

    Jenkins JIRA | 2 years ago | viral shah
    java.lang.IllegalStateException: WRITER
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JENKINS-28102] Getting error with build Monitor plugin - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.lang.IllegalStateException: WRITER
  5. 0

    [JIRA] [build-pipeline-plugin] (JENKINS-33935) Can't rerun a build

    Google Groups | 11 months ago | benjamin...@avira.com (JIRA)
    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:691)
      1 frame
    3. JavaServlet
      ServletResponseWrapper.getOutputStream
      1. javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:142)
      1 frame
    4. Stapler
      ResponseImpl.getCompressedOutputStream
      1. org.kohsuke.stapler.compression.CompressionServletResponse.activate(CompressionServletResponse.java:61)
      2. org.kohsuke.stapler.compression.CompressionFilter.activate(CompressionFilter.java:108)
      3. org.kohsuke.stapler.ResponseImpl.getCompressedOutputStream(ResponseImpl.java:285)
      3 frames
    5. Stapler Jelly
      JellyFacet$1.dispatch
      1. org.kohsuke.stapler.jelly.DefaultScriptInvoker.createOutputStream(DefaultScriptInvoker.java:88)
      2. org.kohsuke.stapler.jelly.DefaultScriptInvoker.createXMLOutput(DefaultScriptInvoker.java:68)
      3. org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:51)
      4. org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
      4 frames
    6. Stapler
      Stapler.invoke
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      3. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      3 frames
    7. Hudson
      InstallUncaughtExceptionHandler$1.reportException
      1. hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:27)
      1 frame
    8. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77)
      2. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55)
      2 frames
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      1 frame
    10. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      1 frame
    12. Stapler
      DiagnosticThreadNameFilter.doFilter
      1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      1 frame
    13. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      12. org.eclipse.jetty.server.Server.handle(Server.java:370)
      13. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      14. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
      15. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
      16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      18. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      18 frames
    14. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    15. winstone
      BoundedExecutorService$1.run
      1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      1 frame
    16. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames