-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
maven-plugin 2.9
Jenkins ver. 1.612 & 1.614
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^
> 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