NullPointerException in Hudson [message #1619330] |
Mon, 16 February 2015 13:59 |
Eclipse User |
|
|
|
Hi,
I get following exception when I want to build my E4 RCP project with
Hudson (version 3.2.1) and Maven (version 3.2.5, Tycho 0.22.0):
Found mavenVersion 3.2.5 from file
jar:file:/opt/apache-maven-3.2.5/lib/maven-core-3.2.5.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
ERROR: Processing failed due to a bug in the code. Please report this to
dev@xxxxxxxx.net
java.lang.NullPointerException
at hudson.FilePath.isAbsolute(FilePath.java:214)
at hudson.FilePath.<init>(FilePath.java:202)
at hudson.FilePath.child(FilePath.java:940)
at
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:570)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524)
at hudson.model.Run.run(Run.java:1493)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:420)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
project=MavenModuleSet[MyProject]
project.getModules()=[MavenModule[MyProject/my.project:my.project.module1][MyProject/my.project:my.project.module1][relativePath:null],
MavenModule[MyProject/my.project:my.project][MyProject/my.project:my.project][relativePath:null],
MavenModule[MyProject/my.project:my.project.module2][MyProject/my.project:my.project.module2][relativePath:null],
MavenModule[MyProject/my.project:my.project.module3][MyProject/my.project:my.project.module3][relativePath:null],
MavenModule[MyProject/my.project:my.projectmodule4][MyProject/my.project:my.projectmodule4][relativePath:null],
MavenModule[MyProject/my.project:my.project.module5][MyProject/my.project:my.project.module5][relativePath:null],
MavenModule[MyProject/my.project:my.project.module6][MyProject/my.project:my.project.module6][relativePath:null],
....
MavenModule[MyProject/my.project:my.project.master][MyProject/my.project:my.project.master][relativePath:],
MavenModule[MyProject/my.project:my.project.module7][MyProject/my.project:my.project.module7][relativePath:null],
MavenModule[MyProject/my.project:my.project.product][MyProject/my.project:my.project.product][relativePath:null]]
project.getRootModule()=MavenModule[MyProject/my.project:my.project.master][MyProject/my.project:my.project.master][relativePath:]
FATAL: null
java.lang.NullPointerException
at hudson.FilePath.isAbsolute(FilePath.java:214)
at hudson.FilePath.<init>(FilePath.java:202)
at hudson.FilePath.child(FilePath.java:940)
at
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:570)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524)
at hudson.model.Run.run(Run.java:1493)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:420)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
The project gets properly built under Windows/Linux using the integrated
Maven 3.2.1 of the Eclipse Luna workbench.
The project "my.project.master" defines the parent pom that also defines
the contained modules.
The parent sections of my modules look like this:
<parent>
<groupId>my.project</groupId>
<artifactId>my.project.master</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../my.project.master/pom.xml</relativePath>
</parent>
When I manually build the Hudson working copy using "mvn clean verify",
everything gets compiled properly. So, it seems to be a Hudson problem.
I couldn't find a solution for this problem. Does anybody have an idea
what is going wrong and can point into the right direction.
Thanks a lot!
Regards,
Stefan
|
|
|
|
Re: NullPointerException in Hudson [message #1620630 is a reply to message #1620013] |
Tue, 17 February 2015 10:11 |
Eclipse User |
|
|
|
Hi Winston,
thanks for your quick response. I was using the Maven 2/3 Legacy
builder. I just tried the Free Style Maven 3 project and everything
executed smoothly. Seems to be a bug in the Maven 2/3 Legacy project?
Thanks a lot for your help!
Regards,
Stefan
Am 17.02.2015 um 01:30 schrieb Winston Prakash:
> --
> Winston Prakash
|
|
|
|
Powered by
FUDForum. Page generated in 0.04806 seconds