-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Hudson 1.395 (after Upgrade from 1.392)
The new maven-plugin can't handle the relativePath definitions for the following pom, project see http://www.faktorzehn.org:8081/job/Hudson%20Plug-ins%20%28Maven%29/
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jvnet.hudson.plugins</groupId> <artifactId>analysis-pom</artifactId> <version>1.16</version> <relativePath>../analysis-pom/pom.xml</relativePath> </parent> <artifactId>analysis-suite</artifactId> <packaging>pom</packaging> <name>Static Analysis Plug-ins</name> <version>1.0-SNAPSHOT</version> <modules> <module>../analysis-pom</module> <module>../analysis-core</module> <module>../analysis-test</module> <module>../checkstyle</module> <module>../dry</module> <module>../findbugs</module> <module>../pmd</module> <module>../tasks</module> <module>../warnings</module> <module>../analysis-collector</module> </modules> <repositories> <repository> <id>m.g.o-public</id> <url>http://maven.glassfish.org/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> </project>
The Hudson m2 project type job fails with:
Started by user hafner Building on master Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-suite At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-core U src/main/resources/hudson/plugins/analysis/views/TabDetail/details.jelly At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-test At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/checkstyle At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/dry At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/findbugs At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/pmd At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/tasks At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/warnings At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-collector At revision 38329 Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-pom At revision 38329 no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-suite since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-test since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/checkstyle since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/dry since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/findbugs since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/pmd since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/tasks since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/warnings since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-collector since the previous build no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/analysis-pom since the previous build Found mavenVersion 2.2.1 from file jar:file:/home/hudson/Hudson/tools/maven_2.2.1/lib/maven-2.2.1-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-users@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:420) 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) project=hudson.maven.MavenModuleSet@33c2841d[Hudson Plug-ins (Maven)] project.getModules()=[hudson.maven.MavenModule@49e6f7cb[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-collector][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-collector][relativePath:null], hudson.maven.MavenModule@5a965654[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-core][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-core][relativePath:null], hudson.maven.MavenModule@43fdd342[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-pom][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-pom][relativePath:null], hudson.maven.MavenModule@4d38b4ed[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-suite][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-suite][relativePath:], hudson.maven.MavenModule@45ee5b36[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-test][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-test][relativePath:null], hudson.maven.MavenModule@23a65a18[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:checkstyle][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:checkstyle][relativePath:null], hudson.maven.MavenModule@7e64eff0[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:dry][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:dry][relativePath:null], hudson.maven.MavenModule@14c4b664[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:findbugs][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:findbugs][relativePath:null], hudson.maven.MavenModule@7ea269e2[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:pmd][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:pmd][relativePath:null], hudson.maven.MavenModule@58d5b561[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:tasks][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:tasks][relativePath:null], hudson.maven.MavenModule@367720d7[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:warnings][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:warnings][relativePath:null], hudson.maven.MavenModule@470d1f30[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins.findbugs:library][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins.findbugs:library][relativePath:null], hudson.maven.MavenModule@2e7aacc1[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins.findbugs:parent][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins.findbugs:parent][relativePath:null]] project.getRootModule()=hudson.maven.MavenModule@4d38b4ed[Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-suite][Hudson Plug-ins (Maven)/org.jvnet.hudson.plugins:analysis-suite][relativePath:] FATAL: null 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:420) 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)
- duplicates
-
JENKINS-8525 NPE during in parsing POMs for Multi Module Build
- Resolved
-
JENKINS-7684 NullPointerException when an incremental build is triggered
- Closed
- is blocking
-
JENKINS-8525 NPE during in parsing POMs for Multi Module Build
- Resolved
- is related to
-
JENKINS-5357 Maven2 Incremental Build Not Functional When Using Relative Paths In Workspace
- Resolved
-
JENKINS-8436 Successful build ends with NPE
- Resolved
-
JENKINS-8810 MavenModuleSetBuild.isDescendantOf throwing an NPE
- Closed