AFAIR this bug has been reported some time agao and has been fixed in newer 
Jenkins versions.
Please check Jenkins JIRA and/or the changelog to find out which version this 
has been fixed in.


HTH
Christoph


-------- Original-Nachricht --------
> Datum: Tue, 3 Apr 2012 17:52:41 -0700 (PDT)
> Von: Richard Frovarp <rfrov...@gmail.com>
> An: Jenkins Users <jenkinsci-users@googlegroups.com>
> Betreff: Build fails with maven site

> All of a sudden my builds have started to fail. I've tracked it down
> to
> the site goal being in build. If I move the goal to Post Steps, it
> works
> just fine. I get an error, but it isn't at all useful. This happens
> with
> Maven 2.2.1, 3.0.3, and 3.0.4. It just started today, builds from
> yesterday are fine. This is happening with jobs that haven't had
> anything change in months. I am a bit out of date with version for
> Jenkins, but that wouldn't explain why this started happening all of
> a
> sudden. My guess is that it is the archiving action of calling the
> site
> goal in the Build section. Blowing away site and javadoc directories,
> I
> do get the site directory again on a build attempt, but not javadoc.
> Copying the project configuration of a project with problems results
> in
> a successful build.
> 
> [JENKINS] Archiving site from /var/lib/jenkins/jobs/AD Institution
> Groups/workspace/target/site to /var/lib/jenkins/jobs/AD Institution
> Groups/site
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 36.248s
> [INFO] Finished at: Tue Apr 03 18:47:20 CDT 2012
> [INFO] Final Memory: 38M/366M
> [INFO]
> ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Internal error: java.lang.NullPointerException
> cause : null
> Stack trace :
> org.apache.maven.InternalErrorException: Internal error:
> java.lang.NullPointerException
>       at
> org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:
> 128)
>       at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
> 95)
>       at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
> 59)
>       at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:
> 183)
>       at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:
> 161)

Reply via email to