NullPointerException after upgrade to 1.394

0 views
Skip to first unread message

Xavier Poinsard

unread,
Jan 18, 2011, 9:09:27 AM1/18/11
to hudson...@googlegroups.com
Hi,

After upgrading to 1.394, I have got a NullPointerException :

$ computing changelog
Found mavenVersion 2.2.1 from file
jar:file:/usr/share/maven2/lib/maven-debian-uber.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
hudson...@googlegroups.com
java.lang.NullPointerException
at hudson.FilePath.isAbsolute(FilePath.java:224)
at hudson.FilePath.<init>(FilePath.java:212)
at hudson.FilePath.child(FilePath.java:894)
at
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:554)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)


Regards,
Xavier.

olive...@gmail.com

unread,
Jan 18, 2011, 9:11:48 AM1/18/11
to hudson...@googlegroups.com
Hello,
Do you have any sample project to reproduce this ?

Xavier Poinsard

unread,
Jan 18, 2011, 9:45:32 AM1/18/11
to hudson...@googlegroups.com
It's a maven 2 project.
I already downgraded to 1.393 to make builds run.

Arnaud Héritier

unread,
Jan 18, 2011, 9:46:23 AM1/18/11
to hudson...@googlegroups.com
Don't you have a module with a link to a pom.xml instead to a directory ?

oliver

unread,
Jan 18, 2011, 11:01:08 AM1/18/11
to hudson...@googlegroups.com
Hello,

see also http://issues.hudson-ci.org/browse/HUDSON-8525 - there's a workaround suggested (downgrade Maven-Project plugin to 1.393).

regards,
Oliver

Reply all
Reply to author
Forward
0 new messages