Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22648

SEVERE: Error in the error servlet /lib/layout/layout.jelly Could not write to XMLOutput

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Jenkins LTS: 1.532.3
      Ubuntu 12.04 LTS

      After upgraded to 1.532.2 LTS, start seeing this error

      Apr 16, 2014 2:54:40 PM winstone.Logger logInternal
      SEVERE: Error in the error servlet
      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.532.3.jar!/lib/layout/layout.jelly:143:68: <st:include> Could not write to XMLOutput
      	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      	at winstone.RequestDispatcher.include(RequestDispatcher.java:199)
      	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:251)
      	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.532.3.jar!/lib/layout/layout.jelly:143:68: <st:include> Could not write to XMLOutput
      	at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:72)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
      	... 22 more
      Caused by: org.xml.sax.SAXException: Failed to write to client
      winstone.ClientSocketException: Failed to write to client
      	at org.dom4j.io.XMLWriter.handleException(XMLWriter.java:1888)
      	at org.dom4j.io.XMLWriter.characters(XMLWriter.java:791)
      	at org.apache.commons.jelly.XMLOutput.characters(XMLOutput.java:590)
      	at org.apache.commons.jelly.XMLOutput.write(XMLOutput.java:249)
      	at org.apache.commons.jelly.XMLOutput.objectData(XMLOutput.java:874)
      	at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:70)
      	... 45 more
      Caused by: winstone.ClientSocketException: Failed to write to client
      	at winstone.ClientOutputStream.write(ClientOutputStream.java:41)
      	at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:182)
      	at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:118)
      	at winstone.WinstoneOutputStream.write(WinstoneOutputStream.java:111)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker$1.write(DefaultScriptInvoker.java:99)
      	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
      	at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
      	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
      	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
      	at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
      	at java.io.BufferedWriter.write(BufferedWriter.java:230)
      	at java.io.Writer.write(Writer.java:157)
      	at org.dom4j.io.XMLWriter.characters(XMLWriter.java:782)
      	... 49 more
      Caused by: java.net.SocketException: Broken pipe
      	at java.net.SocketOutputStream.socketWrite0(Native Method)
      	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
      	at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
      	at winstone.ClientOutputStream.write(ClientOutputStream.java:39)
      	... 61 more
      
      

            Unassigned Unassigned
            samxiao Sam Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: