-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.60.2, Maven Integration plugin 2.17, Maven 3.2.3, OpenJDK 1.8.0_91 (server and slaves), slaves on various Fedora versions (22+) and architectures
The first build of any new Maven project fails with this stack trace:
*14:20:59* Replacing all maven server entries not found in credentials list is true *14:20:59* Downloaded artifact http://...parent-15.pom *14:20:59* Downloaded artifact http://...grandparent-6.pom *14:20:59* Discovered a new module <groupId>:<artifactId> <artifactId> *14:20:59* Modules changed, recalculating dependency graph *14:20:59* ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue) *14:20:59* java.lang.NullPointerException *14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) *14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) *14:20:59* at hudson.model.Run.execute(Run.java:1735) *14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) *14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97) *14:20:59* at hudson.model.Executor.run(Executor.java:405) *14:20:59* project=hudson.maven.MavenModuleSet@6720e267[<jobName>] *14:20:59* project.getModules()=[] *14:20:59* project.getRootModule()=null *14:20:59* FATAL: null *14:20:59* java.lang.NullPointerException *14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) *14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) *14:20:59* at hudson.model.Run.execute(Run.java:1735) *14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) *14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97) *14:20:59* at hudson.model.Executor.run(Executor.java:405) *14:20:59* Finished: FAILURE
Subsequent builds are fine.
This is a new Jenkins installation to which I'm attempting to manually migrate a number of Hudson builds. The job extends one created with ez-templates.
[JENKINS-45889] First Maven build fails with NPE after/when calculating dependency graph
Description |
Original:
The first build of any new Maven project fails with this stack trace: *14:20:59* Replacing all maven server entries not found in credentials list is true*14:20:59* Downloaded artifact [http://...parent-15.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-parent/15/ek3-parent-15.pom] *14:20:59* Downloaded artifact [http://...grandparent-6.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-global/6/ek3-global-6.pom] *14:20:59* Discovered a new module <groupId>:<artifactId> <artifactId> *14:20:59* Modules changed, recalculating dependency graph*14:20:59* ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker ( [https://jenkins.io/redirect/report-an-issue] ).*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* project=hudson.maven.MavenModuleSet@6720e267[engine-datalog-forward]*14:20:59* project.getModules()=[]*14:20:59* project.getRootModule()=null*14:20:59* FATAL: null*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* Finished: FAILURE Subsequent builds are fine. This is a new Jenkins installation to which I'm attempting to manually migrate a number of Hudson builds. The job extends one created with ez-templates. |
New:
{{The first build of any new Maven project fails with this stack trace:}} {{ *14:20:59* Replacing all maven server entries not found in credentials list is true*14:20:59* Downloaded artifact }} {{ [http://...parent-15.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-parent/15/ek3-parent-15.pom]}} {{ *14:20:59* Downloaded artifact }} {{ [http://...grandparent-6.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-global/6/ek3-global-6.pom]}} {{ *14:20:59* Discovered a new module <groupId>:<artifactId> <artifactId>}} {{ *14:20:59* Modules changed, recalculating dependency graph*14:20:59* ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (}} {{ [https://jenkins.io/redirect/report-an-issue]}} {{ ).*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* project=hudson.maven.MavenModuleSet@6720e267[engine-datalog-forward]*14:20:59* project.getModules()=[]*14:20:59* project.getRootModule()=null*14:20:59* FATAL: null*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* Finished: FAILURE}} {{ Subsequent builds are fine.}} This is a new Jenkins installation to which I'm attempting to manually migrate a number of Hudson builds. The job extends one created with ez-templates. |
Description |
Original:
{{The first build of any new Maven project fails with this stack trace:}} {{ *14:20:59* Replacing all maven server entries not found in credentials list is true*14:20:59* Downloaded artifact }} {{ [http://...parent-15.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-parent/15/ek3-parent-15.pom]}} {{ *14:20:59* Downloaded artifact }} {{ [http://...grandparent-6.pom|http://repo.tech.ek3.com/content/groups/public/com/ek3/ek3-global/6/ek3-global-6.pom]}} {{ *14:20:59* Discovered a new module <groupId>:<artifactId> <artifactId>}} {{ *14:20:59* Modules changed, recalculating dependency graph*14:20:59* ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (}} {{ [https://jenkins.io/redirect/report-an-issue]}} {{ ).*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* project=hudson.maven.MavenModuleSet@6720e267[engine-datalog-forward]*14:20:59* project.getModules()=[]*14:20:59* project.getRootModule()=null*14:20:59* FATAL: null*14:20:59* java.lang.NullPointerException*14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)*14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*14:20:59* at hudson.model.Run.execute(Run.java:1735)*14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)*14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97)*14:20:59* at hudson.model.Executor.run(Executor.java:405)*14:20:59* Finished: FAILURE}} {{ Subsequent builds are fine.}} This is a new Jenkins installation to which I'm attempting to manually migrate a number of Hudson builds. The job extends one created with ez-templates. |
New:
The first build of any new Maven project fails with this stack trace: {code} *14:20:59* Replacing all maven server entries not found in credentials list is true *14:20:59* Downloaded artifact http://...parent-15.pom *14:20:59* Downloaded artifact http://...grandparent-6.pom *14:20:59* Discovered a new module <groupId>:<artifactId> <artifactId> *14:20:59* Modules changed, recalculating dependency graph *14:20:59* ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue) *14:20:59* java.lang.NullPointerException *14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) *14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) *14:20:59* at hudson.model.Run.execute(Run.java:1735) *14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) *14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97) *14:20:59* at hudson.model.Executor.run(Executor.java:405) *14:20:59* project=hudson.maven.MavenModuleSet@6720e267[<jobName>] *14:20:59* project.getModules()=[] *14:20:59* project.getRootModule()=null *14:20:59* FATAL: null *14:20:59* java.lang.NullPointerException *14:20:59* at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) *14:20:59* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) *14:20:59* at hudson.model.Run.execute(Run.java:1735) *14:20:59* at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) *14:20:59* at hudson.model.ResourceController.execute(ResourceController.java:97) *14:20:59* at hudson.model.Executor.run(Executor.java:405) *14:20:59* Finished: FAILURE {code} Subsequent builds are fine. This is a new Jenkins installation to which I'm attempting to manually migrate a number of Hudson builds. The job extends one created with ez-templates. |
Any news on this one? We observe the same error pattern as well. This seems to happen arbitrarily for jobs that build successfully on a regular basis.