This can be trivially reproduced: Create a Maven installation, remove the 
auto-installer, and leave the path empty. Configure it to be used in a Maven 
job, and run it.

On 01.11.2013, at 15:30, Mark Waite <[email protected]> wrote:

> John Kerr recently reported a similar stack trace.
> 
> https://groups.google.com/d/msg/jenkinsci-users/QDkVHmHnI-U/6cnw4RAvNQIJ
> 
> Unfortunately, I have no idea on either of the cases.
> 
> Mark Waite
> 
> On Friday, November 1, 2013 8:10:04 AM UTC-6, William Pughe wrote:
> A Jenkins build of code that builds from the command line and in other 
> Jenkins instances produced:
> 
> Checking out Revision 3f7b2aebae0b87940b806423bb5d55
> e634e93a3b (origin/master)
> First time build. Skipping changelog.
> ERROR: Processing failed due to a bug in the code. Please report this to 
> [email protected]
> java.lang.NullPointerException
> 
>       at java.io.File.<init>(File.java:277)
> 
>       at 
> hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
> 
>       at 
> hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
> 
>       at 
> hudson.FilePath.act(FilePath.java:1004)
> 
>       at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:605)
> 
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
> 
>       at 
> hudson.model.Run.execute(Run.java:1665)
> 
>       at 
> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:507)
> 
>       at 
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 
>       at 
> hudson.model.Executor.run(Executor.java:230)
> 
> project=hudson.maven.
> MavenModuleSet@66f11134[first]
> project.getModules()=[]
> project.getRootModule()=null
> FATAL: null
> 
> java.lang.NullPointerException
> 
>       at java.io.File.<init>(File.java:277)
> 
>       at 
> hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
> 
>       at 
> hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
> 
>       at 
> hudson.FilePath.act(FilePath.java:1004)
> 
>       at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:605)
> 
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
> 
>       at 
> hudson.model.Run.execute(Run.java:1665)
> 
>       at 
> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:507)
> 
>       at 
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 
>       at 
> hudson.model.Executor.run(Executor.java:230)
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to