Re: From time to time jenkins is throwing a NullPointerException

2012-12-21 Thread Alexander Spetko
Hi Kutzi, 
thank you for your fast response. We are using Jenkins ver. 1.436.

Alexander

Am Dienstag, 18. Dezember 2012 18:39:32 UTC+1 schrieb kutzi:
>
>  Which Jenkins version are you using - it seems to be rather old?
> I think this has been fixed in newer versions.
>
> Am 18.12.2012 10:53, schrieb Alexander Spetko:
>  
> Hi *,
> from time to time we get a NullPointerException, during the clean install 
> goal.
>
> The stacktrace:
> [INFO] 
> [INFO] *--- maven-clean-plugin:2.4.1:clean (default-clean) @ usp-shared 
> ---*[INFO] 
> [INFO] *--- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ usp-shared 
> ---*ERROR: Processing failed due to a bug in the code. Please report this to 
> jenkins...@googlegroups.com java.lang.NullPointerException 
> 
>at hudson.model.AbstractBuild.getBuiltOn(AbstractBuild.java:177) 
> 
>   at hudson.model.AbstractBuild.getWorkspace(AbstractBuild.java:249) 
> 
>   at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:62) 
> 
>   at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) 
> 
>   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
> 
>   at 
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) 
> 
>   at 
> hudson.maven.MavenModuleSetBuild$RunnerImpl.build(MavenModuleSetBuild.java:850)
>  
> 
>   at 
> hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:789)
>  
> 
>   at 
> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) 
> 
>   at hudson.model.Run.run(Run.java:1404) 
> 
>   at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470) 
> 
>   at hudson.model.ResourceController.execute(ResourceController.java:88) 
> 
>   at hudson.model.Executor.run(Executor.java:230) 
> 
> project=hudson.maven.MavenModuleSet@76c8ea1a[USP_0_SYSTEM_BUILD]
> project.getModules()=[hudson.maven.MavenModule@6808680[USP_0_SYSTEM_BUILD/com.bmw.usp:develop][USP_0_SYSTEM_BUILD/com.bmw.usp:develop][relativePath:../develop],
>  
> hudson.maven.MavenModule@2e88ee03[USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][relativePath:usp-bmwi],
>  
> hudson.maven.MavenModule@473dd7d1[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][relativePath:../usp-be],
>  
> hudson.maven.MavenModule@58046530[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration
>
> Thank you
>
> Alexander
>
>  
>  

Re: From time to time jenkins is throwing a NullPointerException

2012-12-18 Thread Christoph Kutzinski

Which Jenkins version are you using - it seems to be rather old?
I think this has been fixed in newer versions.

Am 18.12.2012 10:53, schrieb Alexander Spetko:

Hi *,
from time to time we get a NullPointerException, during the clean install goal.

The stacktrace:
[INFO]
[INFO]*--- maven-clean-plugin:2.4.1:clean (default-clean) @ usp-shared ---
*[INFO]
[INFO]*--- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ usp-shared ---
*ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-users@googlegroups.com
java.lang.NullPointerException
    
athudson.model.AbstractBuild.getBuiltOn(AbstractBuild.java:177)  

athudson.model.AbstractBuild.getWorkspace(AbstractBuild.java:249)  

athudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:62)  

athudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)  

athudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)  

athudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)  

athudson.maven.MavenModuleSetBuild$RunnerImpl.build(MavenModuleSetBuild.java:850) 
 

athudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:789) 
 

athudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)  

athudson.model.Run.run(Run.java:1404)  

athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)  

athudson.model.ResourceController.execute(ResourceController.java:88)  

athudson.model.Executor.run(Executor.java:230)  

project=hudson.maven.MavenModuleSet@76c8ea1a[USP_0_SYSTEM_BUILD]
project.getModules()=[hudson.maven.MavenModule@6808680[USP_0_SYSTEM_BUILD/com.bmw.usp:develop][USP_0_SYSTEM_BUILD/com.bmw.usp:develop][relativePath:../develop],
 
hudson.maven.MavenModule@2e88ee03[USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][relativePath:usp-bmwi],
 
hudson.maven.MavenModule@473dd7d1[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][relativePath:../usp-be],
 
hudson.maven.MavenModule@58046530[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration

Thank you

Alexander




From time to time jenkins is throwing a NullPointerException

2012-12-18 Thread Alexander Spetko


Hi *,
from time to time we get a NullPointerException, during the clean install goal.

The stacktrace:
[INFO] 
[INFO] *--- maven-clean-plugin:2.4.1:clean (default-clean) @ usp-shared 
---*[INFO] 
[INFO] *--- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ usp-shared 
---*ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-us...@googlegroups.comjava.lang.NullPointerException 
  
at hudson.model.AbstractBuild.getBuiltOn(AbstractBuild.java:177) 

at hudson.model.AbstractBuild.getWorkspace(AbstractBuild.java:249) 

at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:62) 

at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) 

at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 

at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) 

at 
hudson.maven.MavenModuleSetBuild$RunnerImpl.build(MavenModuleSetBuild.java:850) 

at 
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:789) 

at 
hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) 

at hudson.model.Run.run(Run.java:1404) 

at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470) 

at hudson.model.ResourceController.execute(ResourceController.java:88) 

at hudson.model.Executor.run(Executor.java:230) 

project=hudson.maven.MavenModuleSet@76c8ea1a[USP_0_SYSTEM_BUILD]
project.getModules()=[hudson.maven.MavenModule@6808680[USP_0_SYSTEM_BUILD/com.bmw.usp:develop][USP_0_SYSTEM_BUILD/com.bmw.usp:develop][relativePath:../develop],
 
hudson.maven.MavenModule@2e88ee03[USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][USP_0_SYSTEM_BUILD/com.bmw.usp:usp-bmwi][relativePath:usp-bmwi],
 
hudson.maven.MavenModule@473dd7d1[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be][relativePath:../usp-be],
 
hudson.maven.MavenModule@58046530[USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration][USP_0_SYSTEM_BUILD/com.bmw.usp.be:usp-be-administration

Thank you

Alexander