java.lang.NullPointerException

Jenkins JIRA | mrobertm | 7 years ago
  1. 0

    After upgrading from 1.346 to 1.348, jobs that used svn and the "upgrade" and "revert" checkboxes checked would fail to build: {noformat} Console Output View as plain text Started by an SCM change Building remotely on SNIP Reverting http://svn. SNIP ERROR: Failed to update http://svn. SNIP org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3290) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:629) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) FATAL: null java.lang.NullPointerException at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:653) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) {noformat}

    Jenkins JIRA | 7 years ago | mrobertm
    java.lang.NullPointerException
  2. 0

    After upgrading from 1.346 to 1.348, jobs that used svn and the "upgrade" and "revert" checkboxes checked would fail to build: {noformat} Console Output View as plain text Started by an SCM change Building remotely on SNIP Reverting http://svn. SNIP ERROR: Failed to update http://svn. SNIP org.tmatesoft.svn.core.SVNException: svn: Directory '/SNIP/target/.svn' containing working copy admin area is missing at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3290) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3398) at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1876) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:629) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) FATAL: null java.lang.NullPointerException at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:653) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) {noformat}

    Jenkins JIRA | 7 years ago | mrobertm
    java.lang.NullPointerException
  3. 0

    Unhelpful Jenkins slave error

    Stack Overflow | 3 years ago | M Smith
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The Doxygen publishing part fails with: Publishing Doxygen HTML results. The determined Doxygen directory is '/var/lib/jenkins/workspace/ezp-next2/build/api/html'. FATAL: error hudson.util.IOException2: java.io.IOException: Unconnected pipe at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:160) at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) at java.io.FilterInputStream.read(FilterInputStream.java:90) at hudson.util.HeadBufferingStream.fillSide(HeadBufferingStream.java:83) at hudson.FilePath$TarCompression$2.extract(FilePath.java:538) at hudson.FilePath.copyRecursiveTo(FilePath.java:1566) at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) at hudson.FilePath.copyRecursiveTo(FilePath.java:1573) at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) at java.util.concurrent.FutureTask.get(FutureTask.java:91) at hudson.remoting.LocalChannel$2.get(LocalChannel.java:81) at hudson.FilePath.copyRecursiveTo(FilePath.java:1569) ... 13 more Caused by: java.lang.NullPointerException at hudson.FilePath$33.invoke(FilePath.java:1561) at hudson.FilePath$33.invoke(FilePath.java:1556) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Build step 'Publish Doxygen' changed build result to FAILURE The generation of the documentation is successfully done as a "doxygen" task made in the build.xml ant file. Note sure to know the difference between Doxygen publishing and "Publish HTML reports" configured with the output directory of Doxygen. Doxyfile is in attachment.

    Jenkins JIRA | 5 years ago | Patrick Allaert
    hudson.util.IOException2: java.io.IOException: Unconnected pipe
  6. 0

    The Doxygen publishing part fails with: Publishing Doxygen HTML results. The determined Doxygen directory is '/var/lib/jenkins/workspace/ezp-next2/build/api/html'. FATAL: error hudson.util.IOException2: java.io.IOException: Unconnected pipe at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:160) at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) at java.io.FilterInputStream.read(FilterInputStream.java:90) at hudson.util.HeadBufferingStream.fillSide(HeadBufferingStream.java:83) at hudson.FilePath$TarCompression$2.extract(FilePath.java:538) at hudson.FilePath.copyRecursiveTo(FilePath.java:1566) at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) at hudson.FilePath.copyRecursiveTo(FilePath.java:1573) at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) at java.util.concurrent.FutureTask.get(FutureTask.java:91) at hudson.remoting.LocalChannel$2.get(LocalChannel.java:81) at hudson.FilePath.copyRecursiveTo(FilePath.java:1569) ... 13 more Caused by: java.lang.NullPointerException at hudson.FilePath$33.invoke(FilePath.java:1561) at hudson.FilePath$33.invoke(FilePath.java:1556) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Build step 'Publish Doxygen' changed build result to FAILURE The generation of the documentation is successfully done as a "doxygen" task made in the build.xml ant file. Note sure to know the difference between Doxygen publishing and "Publish HTML reports" configured with the output directory of Doxygen. Doxyfile is in attachment.

    Jenkins JIRA | 5 years ago | Patrick Allaert
    hudson.util.IOException2: java.io.IOException: Unconnected pipe

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.scm.SubversionSCM$CheckOutTask.invoke()
    2. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:653)
      2. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:593)
      3. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
      3 frames
    3. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      6. java.lang.Thread.run(Thread.java:595)
      6 frames