• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core, warnings-plugin
    • None
    • Windows 2008 R2 64bit
      Jenkins 1.509.2

      I have exception during build:

      [WARNINGS] Parsing warnings in console log with parser MSBuild
      ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
      hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected reader termination
      	at hudson.remoting.Request.call(Request.java:174)
      	at hudson.remoting.Channel.call(Channel.java:672)
      	at hudson.FilePath.act(FilePath.java:893)
      	at hudson.FilePath.act(FilePath.java:877)
      	at hudson.plugins.warnings.WarningsPublisher.annotate(WarningsPublisher.java:447)
      	at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:411)
      	at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:320)
      	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
      	at hudson.model.Run.execute(Run.java:1600)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:237)
      Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected reader termination
      	at hudson.remoting.Request.abort(Request.java:299)
      	at hudson.remoting.Channel.terminate(Channel.java:732)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:72)
      Caused by: java.io.IOException: Unexpected reader termination
      	... 1 more
      Caused by: java.lang.ClassCastException: cannot assign instance of hudson.remoting.ProxyOutputStream$Chunk to field java.lang.Throwable.suppressedExceptions of type java.util.List in instance of hudson.remoting.Command$Source
      	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2083)
      	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1261)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1995)
      	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:499)
      	at java.lang.Throwable.readObject(Throwable.java:913)
      	at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
      	at hudson.remoting.Command.readFrom(Command.java:92)
      	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      

          [JENKINS-19349] Exception during build

          Ulli Hafner added a comment -

          Can you please add some more information about your setup, versions, etc.?

          Ulli Hafner added a comment - Can you please add some more information about your setup, versions, etc.?

          Kanstantsin Shautsou added a comment - imakowski Please read this https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking#IssueTracking-Whattoputinthedescriptionofanissuereport%3F

          Ulli Hafner added a comment -

          Please update your slave.jar and retry. If the issue still remains please add more details.

          Ulli Hafner added a comment - Please update your slave.jar and retry. If the issue still remains please add more details.

          I've checked and my slaves and it seems that they are updated automatically (or not?). All my nodes are on windows and they are connected via JNLP agent.
          What should I check also?

          Ireneusz Makowski added a comment - I've checked and my slaves and it seems that they are updated automatically (or not?). All my nodes are on windows and they are connected via JNLP agent. What should I check also?

          Ulli Hafner added a comment -

          What plugin versions? More information about the configured job?
          Can you run the same job on the master? What is the output of the system configuration of your slave?

          Ulli Hafner added a comment - What plugin versions? More information about the configured job? Can you run the same job on the master? What is the output of the system configuration of your slave?

          Oleg Nenashev added a comment -

          Closing as a duplicate of JENKINS-19046

          Oleg Nenashev added a comment - Closing as a duplicate of JENKINS-19046

          Oleg Nenashev added a comment -

          I am pretty sure https://github.com/jenkinsci/remoting/pull/154/ fixes the NPE issue or at least makes it diagnosable

          Oleg Nenashev added a comment - I am pretty sure https://github.com/jenkinsci/remoting/pull/154/ fixes the NPE issue or at least makes it diagnosable

            oleg_nenashev Oleg Nenashev
            imakowski Ireneusz Makowski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: