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

Jenkins log polluted with java.io.IOException: Stream Closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-api-plugin
    • None
    • workflow-api, Version 1283.v99c10937efcb_

      Jenkins log contains many entries as shown below. I believe these should be suppressed by isClosedChannelException() in https://github.com/jenkinsci/workflow-api-plugin/commit/12f6b094cead7aef96b57a0bf1d689147d678a15 :

      WARNING o.j.p.w.l.GCFlushedOutputStream$FlushRef#lambda$static$0
      java.io.IOException: Stream Closed
          at java.base/java.io.FileOutputStream.writeBytes(Native Method)
          at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
          at org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:147)
          at org.jenkinsci.plugins.workflow.log.DelayBufferedOutputStream$FlushControlledOutputStream.write(DelayBufferedOutputStream.java:127)
          at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
          at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
          at org.jenkinsci.plugins.workflow.log.GCFlushedOutputStream$FlushRef.lambda$static$0(GCFlushedOutputStream.java:98)
          at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
          at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:829)

            Unassigned Unassigned
            ckullabosch Christoph Kulla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: