java.lang.NullPointerException

Google Groups | ar...@90a.nl (JIRA) | 2 months ago
  1. 0

    When an AccuRev server is renamed in the global system settings, configurations for existing jobs retain the old server name, and throw a NullPointerException when run: Building in workspace /var/lib/jenkins/workspace/1.9.X.X_NIGHTLY_client FATAL: null java.lang.NullPointerException at hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:69) at hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:13) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:503) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Skipped archiving because build is not successful [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Finished: FAILURE This continues until the server name is reverted, or the job configuration is manually updated with the new server name. Major because: * Can break a large number of existing jobs. * Stack trace is quite misleading - it took me a long time to nail down the root cause of the exception. * Zero information from the plugin is logged to jenkins.log This case should be handled, or give a relevant error message when a job's AccuRev configuration is invalid.

    Jenkins JIRA | 1 year ago | Dylan Walker
    java.lang.NullPointerException
  2. 0

    When an AccuRev server is renamed in the global system settings, configurations for existing jobs retain the old server name, and throw a NullPointerException when run: Building in workspace /var/lib/jenkins/workspace/1.9.X.X_NIGHTLY_client FATAL: null java.lang.NullPointerException at hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:69) at hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:13) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:503) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Skipped archiving because build is not successful [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Finished: FAILURE This continues until the server name is reverted, or the job configuration is manually updated with the new server name. Major because: * Can break a large number of existing jobs. * Stack trace is quite misleading - it took me a long time to nail down the root cause of the exception. * Zero information from the plugin is logged to jenkins.log This case should be handled, or give a relevant error message when a job's AccuRev configuration is invalid.

    Jenkins JIRA | 1 year ago | Dylan Walker
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.plugins.accurev.FindAccurevClientExe.invoke()
    2. hudson.plugins.accurev
      FindAccurevClientExe.invoke
      1. hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:63)
      2. hudson.plugins.accurev.FindAccurevClientExe.invoke(FindAccurevClientExe.java:14)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:1018)
      2. hudson.FilePath.act(FilePath.java:996)
      2 frames
    4. hudson.plugins.accurev
      AccurevSCM.compareRemoteRevisionWith
      1. hudson.plugins.accurev.delegates.AbstractModeDelegate.setup(AbstractModeDelegate.java:65)
      2. hudson.plugins.accurev.delegates.AbstractModeDelegate.compareRemoteRevisionWith(AbstractModeDelegate.java:101)
      3. hudson.plugins.accurev.AccurevSCM.compareRemoteRevisionWith(AccurevSCM.java:442)
      3 frames
    5. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391)
      2. hudson.scm.SCM.poll(SCM.java:408)
      3. hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1482)
      4. hudson.model.AbstractProject._poll(AbstractProject.java:1452)
      5. hudson.model.AbstractProject.poll(AbstractProject.java:1363)
      6. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
      7. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
      8. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      8 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4 frames