java.lang.NullPointerException

Jenkins JIRA | Zach Calvert | 2 years ago
  1. 0

    New maven build plan yielding NPE (have not successfully built before): Started by user anonymous [EnvInject] - Loading node environment variables. Building in workspace /Users/buildbot/.jenkins/jobs/Java-Base/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url ssh://***/dtcore-java.git # timeout=10 Fetching upstream changes from ssh://***/dtcore-java.git > git --version # timeout=10 using GIT_SSH to set credentials buildbot > git -c core.askpass=true fetch --tags --progress ssh://***/dtcore-java.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 90abc6da0e0b2d5baad7890b39452ebcd110aa93 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 90abc6da0e0b2d5baad7890b39452ebcd110aa93 > git rev-list 90abc6da0e0b2d5baad7890b39452ebcd110aa93 # timeout=10 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber(SelectionTypeProject.java:117) at com.nirima.jenkins.SelectionTypeProject.getAction(SelectionTypeProject.java:97) at com.nirima.jenkins.RepositoryDefinitionProperty$1.buildEnvVars(RepositoryDefinitionProperty.java:83) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) project=hudson.maven.MavenModuleSet@328caa39[Java-Base] project.getModules()=[] project.getRootModule()=null FATAL: null java.lang.NullPointerException at com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber(SelectionTypeProject.java:117) at com.nirima.jenkins.SelectionTypeProject.getAction(SelectionTypeProject.java:97) at com.nirima.jenkins.RepositoryDefinitionProperty$1.buildEnvVars(RepositoryDefinitionProperty.java:83) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE

    Jenkins JIRA | 2 years ago | Zach Calvert
    java.lang.NullPointerException
  2. 0

    New maven build plan yielding NPE (have not successfully built before): Started by user anonymous [EnvInject] - Loading node environment variables. Building in workspace /Users/buildbot/.jenkins/jobs/Java-Base/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url ssh://***/dtcore-java.git # timeout=10 Fetching upstream changes from ssh://***/dtcore-java.git > git --version # timeout=10 using GIT_SSH to set credentials buildbot > git -c core.askpass=true fetch --tags --progress ssh://***/dtcore-java.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 90abc6da0e0b2d5baad7890b39452ebcd110aa93 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 90abc6da0e0b2d5baad7890b39452ebcd110aa93 > git rev-list 90abc6da0e0b2d5baad7890b39452ebcd110aa93 # timeout=10 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber(SelectionTypeProject.java:117) at com.nirima.jenkins.SelectionTypeProject.getAction(SelectionTypeProject.java:97) at com.nirima.jenkins.RepositoryDefinitionProperty$1.buildEnvVars(RepositoryDefinitionProperty.java:83) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) project=hudson.maven.MavenModuleSet@328caa39[Java-Base] project.getModules()=[] project.getRootModule()=null FATAL: null java.lang.NullPointerException at com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber(SelectionTypeProject.java:117) at com.nirima.jenkins.SelectionTypeProject.getAction(SelectionTypeProject.java:97) at com.nirima.jenkins.RepositoryDefinitionProperty$1.buildEnvVars(RepositoryDefinitionProperty.java:83) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE

    Jenkins JIRA | 2 years ago | Zach Calvert
    java.lang.NullPointerException
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber()
    2. com.nirima.jenkins
      RepositoryDefinitionProperty$1.buildEnvVars
      1. com.nirima.jenkins.SelectionTypeProject.getLastSuccessfulBuildNumber(SelectionTypeProject.java:117)
      2. com.nirima.jenkins.SelectionTypeProject.getAction(SelectionTypeProject.java:97)
      3. com.nirima.jenkins.RepositoryDefinitionProperty$1.buildEnvVars(RepositoryDefinitionProperty.java:83)
      3 frames
    3. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167)
      3. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677)
      3 frames
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      2. hudson.model.Run.execute(Run.java:1744)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:374)
      2 frames