java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Another intermittent problem. Master is linux, target is freebsd 4.9. FATAL: Unable to delete script file /var/tmp/hudson60616.sh hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:313) at hudson.FilePath.delete(FilePath.java:510) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:130) at hudson.model.Build$RunnerImpl.doRun(Build.java:105) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231) at hudson.model.Run.run(Run.java:756) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:82) 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:310) ... 10 more Build was aborted FATAL: null java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:297) at hudson.model.Build$RunnerImpl.post2(Build.java:118) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:774) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:82)
    via by bll,
  • Another intermittent problem. Master is linux, target is freebsd 4.9. FATAL: Unable to delete script file /var/tmp/hudson60616.sh hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:313) at hudson.FilePath.delete(FilePath.java:510) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34) at hudson.model.Build$RunnerImpl.build(Build.java:130) at hudson.model.Build$RunnerImpl.doRun(Build.java:105) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231) at hudson.model.Run.run(Run.java:756) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:82) 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:310) ... 10 more Build was aborted FATAL: null java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:297) at hudson.model.Build$RunnerImpl.post2(Build.java:118) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:774) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:82)
    via by bll,
  • Out hudson master installation runs successfully on a CentOS vmware instance and performs its very good jobs also on almost our configured slaves (AIX, SunOS, Win32, ..) We are facing a problem with a single slave running on a AMD64 machine running Linux OpenSuse 10.0. Almost every build the slave agent dies. Here follows the last failure: [exec] cd /home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/curl; CC="gcc" CFLAGS=" -DDSTK_64BIT -DLINUX -DL_ENDIAN -DUSE_SBUF -fPIC -DPTHREADS -DSMIME_ENV='"dstk.ini"' -DCRYPTOKI_ENV='"dstk.ini"' -DCSM_ENV='"dstk.ini"' -DMQPPS_ENV='"IDS_CONFIG_FILE"' -I/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc/include -DNDEBUG -DNO_ERR -DNO_BIO -DNO_LHASH -DNO_BUFFER -DUSE_SBUF -DVDADER_RULES -fPIC" ./configure --prefix=/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc --with-ssl=/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc --without-libidn FATAL: command execution failed hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:220) at hudson.tasks.Ant.perform(Ant.java:171) at hudson.model.Build$RunnerImpl.build(Build.java:156) at hudson.model.Build$RunnerImpl.doRun(Build.java:124) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192) at hudson.model.Run.run(Run.java:656) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:65) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.EOFException 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:212) ... 8 more Caused by: hudson.remoting.RequestAbortedException: java.io.EOFException 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.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) FATAL: null java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:70) at hudson.model.Build$RunnerImpl.performAllBuildStep(Build.java:150) at hudson.model.Build$RunnerImpl.post2(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:254) at hudson.model.Run.run(Run.java:674) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:65) Having a look to the different build failures, we always see a regular pattern: Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) Thanks in advance, Fulvio
    via by f_cavarretta,
  • Out hudson master installation runs successfully on a CentOS vmware instance and performs its very good jobs also on almost our configured slaves (AIX, SunOS, Win32, ..) We are facing a problem with a single slave running on a AMD64 machine running Linux OpenSuse 10.0. Almost every build the slave agent dies. Here follows the last failure: [exec] cd /home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/curl; CC="gcc" CFLAGS=" -DDSTK_64BIT -DLINUX -DL_ENDIAN -DUSE_SBUF -fPIC -DPTHREADS -DSMIME_ENV='"dstk.ini"' -DCRYPTOKI_ENV='"dstk.ini"' -DCSM_ENV='"dstk.ini"' -DMQPPS_ENV='"IDS_CONFIG_FILE"' -I/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc/include -DNDEBUG -DNO_ERR -DNO_BIO -DNO_LHASH -DNO_BUFFER -DUSE_SBUF -DVDADER_RULES -fPIC" ./configure --prefix=/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc --with-ssl=/home/dstk110/build/hudson/workspace/DSTK-Linux64/dstk/AddOn/output/Linux/64/gcc --without-libidn FATAL: command execution failed hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:220) at hudson.tasks.Ant.perform(Ant.java:171) at hudson.model.Build$RunnerImpl.build(Build.java:156) at hudson.model.Build$RunnerImpl.doRun(Build.java:124) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192) at hudson.model.Run.run(Run.java:656) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:65) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.EOFException 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:212) ... 8 more Caused by: hudson.remoting.RequestAbortedException: java.io.EOFException 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.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) FATAL: null java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:70) at hudson.model.Build$RunnerImpl.performAllBuildStep(Build.java:150) at hudson.model.Build$RunnerImpl.post2(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:254) at hudson.model.Run.run(Run.java:674) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:65) Having a look to the different build failures, we always see a regular pattern: Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:574) Thanks in advance, Fulvio
    via by f_cavarretta,
    • java.lang.NullPointerException at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78)
    No Bugmate found.