• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      Issue 3330 looks very similar

          [JENKINS-1629] Artifact Archiver NPE

          mdonohue added a comment -

          I got an NPE from the artifact archiver. I noticed that a new build got
          scheduled just before the current build was about to finish. That may have
          triggered it, since it appears the workspace variable is what was null. This
          occurred in hudson 1.206:

          hudson.util.IOException2: Failed to join the process
          at hudson.Proc$RemoteProc.join(Proc.java:231)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)
          at hudson.model.Build$RunnerImpl.build(Build.java:146)
          at hudson.model.Build$RunnerImpl.doRun(Build.java:122)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
          at hudson.model.Run.run(Run.java:749)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)
          Caused by: java.util.concurrent.ExecutionException:
          hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
          at hudson.remoting.Request$1.get(Request.java:152)
          at hudson.remoting.Request$1.get(Request.java:121)
          at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
          at hudson.Proc$RemoteProc.join(Proc.java:223)
          ... 9 more
          Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException:
          Connection reset
          at hudson.remoting.Request.abort(Request.java:187)
          at hudson.remoting.Channel.terminate(Channel.java:437)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:593)
          Caused by: java.net.SocketException: Connection reset
          at java.net.SocketInputStream.read(SocketInputStream.java:168)
          at java.net.SocketInputStream.read(SocketInputStream.java:182)
          at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247)
          at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540)
          at
          java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:574)
          FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson14679.bat
          hudson.util.IOException2: remote file operation failed
          at hudson.FilePath.act(FilePath.java:308)
          at hudson.FilePath.delete(FilePath.java:495)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)
          at hudson.model.Build$RunnerImpl.build(Build.java:146)
          at hudson.model.Build$RunnerImpl.doRun(Build.java:122)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
          at hudson.model.Run.run(Run.java:749)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)
          Caused by: java.io.IOException: already closed
          at hudson.remoting.Channel.send(Channel.java:316)
          at hudson.remoting.Request.call(Request.java:81)
          at hudson.remoting.Channel.call(Channel.java:390)
          at hudson.FilePath.act(FilePath.java:305)
          ... 10 more
          FATAL: null
          java.lang.NullPointerException
          at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78)
          at
          hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302)
          at
          hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290)
          at hudson.model.Build$RunnerImpl.post2(Build.java:135)
          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275)
          at hudson.model.Run.run(Run.java:767)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)

          mdonohue added a comment - I got an NPE from the artifact archiver. I noticed that a new build got scheduled just before the current build was about to finish. That may have triggered it, since it appears the workspace variable is what was null. This occurred in hudson 1.206: hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:231) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:146) at hudson.model.Build$RunnerImpl.doRun(Build.java:122) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request$1.get(Request.java:152) at hudson.remoting.Request$1.get(Request.java:121) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32) at hudson.Proc$RemoteProc.join(Proc.java:223) ... 9 more Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:187) at hudson.remoting.Channel.terminate(Channel.java:437) at hudson.remoting.Channel$ReaderThread.run(Channel.java:593) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.net.SocketInputStream.read(SocketInputStream.java:182) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson14679.bat hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:308) at hudson.FilePath.delete(FilePath.java:495) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:146) at hudson.model.Build$RunnerImpl.doRun(Build.java:122) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Caused by: java.io.IOException: already closed at hudson.remoting.Channel.send(Channel.java:316) at hudson.remoting.Request.call(Request.java:81) at hudson.remoting.Channel.call(Channel.java:390) at hudson.FilePath.act(FilePath.java:305) ... 10 more FATAL: null java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290) at hudson.model.Build$RunnerImpl.post2(Build.java:135) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275) at hudson.model.Run.run(Run.java:767) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)

          mdonohue added a comment -

          I saw a similar error, this time with the email notifier. Also, no other builds
          were scheduled at the time of this failure. This occurred on a slave Windows
          machine, with a master linux64 machine.

          It is, again, Hudson 1.206:
          hudson.util.IOException2: Failed to join the process
          at hudson.Proc$RemoteProc.join(Proc.java:231)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)
          at hudson.model.Build$RunnerImpl.build(Build.java:146)
          at hudson.model.Build$RunnerImpl.doRun(Build.java:122)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
          at hudson.model.Run.run(Run.java:749)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)
          Caused by: java.util.concurrent.ExecutionException:
          hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
          at hudson.remoting.Request$1.get(Request.java:152)
          at hudson.remoting.Request$1.get(Request.java:121)
          at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
          at hudson.Proc$RemoteProc.join(Proc.java:223)
          ... 9 more
          Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException:
          Connection reset
          at hudson.remoting.Request.abort(Request.java:187)
          at hudson.remoting.Channel.terminate(Channel.java:437)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:593)
          Caused by: java.net.SocketException: Connection reset
          at java.net.SocketInputStream.read(SocketInputStream.java:168)
          at java.net.SocketInputStream.read(SocketInputStream.java:182)
          at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247)
          at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540)
          at
          java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:574)
          FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson2232.bat
          hudson.util.IOException2: remote file operation failed
          at hudson.FilePath.act(FilePath.java:308)
          at hudson.FilePath.delete(FilePath.java:495)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)
          at hudson.model.Build$RunnerImpl.build(Build.java:146)
          at hudson.model.Build$RunnerImpl.doRun(Build.java:122)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
          at hudson.model.Run.run(Run.java:749)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)
          Caused by: java.io.IOException: already closed
          at hudson.remoting.Channel.send(Channel.java:316)
          at hudson.remoting.Request.call(Request.java:81)
          at hudson.remoting.Channel.call(Channel.java:390)
          at hudson.FilePath.act(FilePath.java:305)
          ... 10 more
          FATAL: null
          java.lang.NullPointerException
          at hudson.tasks.MailSender.createFailureMail(MailSender.java:206)
          at hudson.tasks.MailSender.getMail(MailSender.java:90)
          at hudson.tasks.MailSender.execute(MailSender.java:58)
          at hudson.tasks.Mailer._perform(Mailer.java:74)
          at hudson.tasks.Mailer.perform(Mailer.java:68)
          at
          hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33)
          at
          hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302)
          at
          hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290)
          at hudson.model.Build$RunnerImpl.post2(Build.java:135)
          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275)
          at hudson.model.Run.run(Run.java:767)
          at hudson.model.Build.run(Build.java:102)
          at hudson.model.ResourceController.execute(ResourceController.java:70)
          at hudson.model.Executor.run(Executor.java:71)

          mdonohue added a comment - I saw a similar error, this time with the email notifier. Also, no other builds were scheduled at the time of this failure. This occurred on a slave Windows machine, with a master linux64 machine. It is, again, Hudson 1.206: hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:231) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:146) at hudson.model.Build$RunnerImpl.doRun(Build.java:122) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request$1.get(Request.java:152) at hudson.remoting.Request$1.get(Request.java:121) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32) at hudson.Proc$RemoteProc.join(Proc.java:223) ... 9 more Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:187) at hudson.remoting.Channel.terminate(Channel.java:437) at hudson.remoting.Channel$ReaderThread.run(Channel.java:593) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.net.SocketInputStream.read(SocketInputStream.java:182) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson2232.bat hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:308) at hudson.FilePath.delete(FilePath.java:495) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:146) at hudson.model.Build$RunnerImpl.doRun(Build.java:122) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Caused by: java.io.IOException: already closed at hudson.remoting.Channel.send(Channel.java:316) at hudson.remoting.Request.call(Request.java:81) at hudson.remoting.Channel.call(Channel.java:390) at hudson.FilePath.act(FilePath.java:305) ... 10 more FATAL: null java.lang.NullPointerException at hudson.tasks.MailSender.createFailureMail(MailSender.java:206) at hudson.tasks.MailSender.getMail(MailSender.java:90) at hudson.tasks.MailSender.execute(MailSender.java:58) at hudson.tasks.Mailer._perform(Mailer.java:74) at hudson.tasks.Mailer.perform(Mailer.java:68) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290) at hudson.model.Build$RunnerImpl.post2(Build.java:135) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275) at hudson.model.Run.run(Run.java:767) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)

          Jesse Glick added a comment -

          The first NPE could be the same as issue #3330; not sure, would take some time
          to look up historical line numbers. NPE from MailSender.createFailureMail is
          something else, as are other exceptions.

          Jesse Glick added a comment - The first NPE could be the same as issue #3330; not sure, would take some time to look up historical line numbers. NPE from MailSender.createFailureMail is something else, as are other exceptions.

          mdonohue added a comment -

          The original report is close enough to 3330

              • This issue has been marked as a duplicate of 3330 ***

          mdonohue added a comment - The original report is close enough to 3330 This issue has been marked as a duplicate of 3330 ***

            Unassigned Unassigned
            mdonohue mdonohue
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: