I think it is a bug. Because Jenkins should not throw null pointer 
exception.

Currently I'm going to install maven manually as workaround.


On Thursday, November 28, 2013 11:20:43 PM UTC+9, seiyamiro wrote:
>
>  
> why not install Maven manually by zip file?
> and config maven in jenkins
>  
> ------------------------------
> seiyamiro
>  
>  *From:* Yasuyuki Nakamura <javascript:>
> *Date:* 2013-11-28 15:17
> *To:* jenkinsci-users <javascript:>
> *Subject:* hudson.maven.MavenVersionCallable.call throws 
> NullPointerException
>  Hi guys, 
>
> I tried to install Maven via Jenkins automatically installation with 
> Download URL.
> And then when I tried to build my project, I caught following error.
>
> =======================================================
> Started by user anonymous
> Building in workspace /var/lib/jenkins/workspace/myproject build
> Updating http://localtest/svn/trank/myproject at revision 
> '2013-11-27T22:56:05.978 -0800'
> At revision 51768
> no change for http://localtest/svn/trank/myproject since the previous 
> build
> ERROR: Processing failed due to a bug in the code. Please report this to 
> [email protected] <javascript:>
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:239)
> at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
> at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
> at hudson.FilePath.act(FilePath.java:1006)
> at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:607)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
> at hudson.model.Run.execute(Run.java:1677)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> project=hudson.maven.MavenModuleSet@400ba6f6[myproject build]
> project.getModules()=[]
> project.getRootModule()=null
> FATAL: null
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:239)
> at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
> at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
> at hudson.FilePath.act(FilePath.java:1006)
> at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:607)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
> at hudson.model.Run.execute(Run.java:1677)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> =======================================================
>
>
> And I'm wondering about cannot automatically install from Apache with 
> following message.
>
> =======================
> Invalid tool ID 3.1.1
> Invalid tool ID 3.1.1
> =======================
>
>
> Anybody can solve it?
>
>  
>
> -- 
> 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] <javascript:>.
> 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