I was working on porting over our Hudson projects to Jenkins. I did a build 
then updated a couple plugins and restarted Tomcat. 
Jenkins = 1.610
Java = 1.8.0.40
Tomcat = 8.0.21

On build 30:

[workspace] $ E:\Perforce\p4.exe changes -s submitted -m 1 
//autobuild_cip-test/...
[workspace] $ E:\Perforce\p4.exe -s changes -s submitted 
//autobuild_cip-test/...@38084,@38083
Sync'ing workspace to changelist 38083 (forcing sync of unchanged files).
[workspace] $ E:\Perforce\p4.exe -s sync -f //autobuild_cip-test/...@38083
Sync complete, took 24742 ms
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 


On build 31:

[workspace] $ E:\Perforce\p4.exe changes -s submitted -m 1 //ab_cip-test-J/...
[workspace] $ E:\Perforce\p4.exe -s changes -s submitted 
//ab_cip-test-J/...@38401,@38400
Sync'ing workspace to changelist 38400 (forcing sync of unchanged files).
[workspace] $ E:\Perforce\p4.exe -s sync -f //ab_cip-test-J/...@38400

Sync complete, took 25552 ms*ERROR: java.lang.NullPointerException*
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content


I've been trying to figure out where this java error is coming from. I've 
restarted Tomcat service (not running catalina.bat) but not the machine itself. 
I thought maybe it was related to the upgrade of the EnvInject plugin but I 
downgraded to the previous version but still get the error. I still have other 
plugins that have upgrades but since I'm not using them I decided to not to 
upgrade. 


Should I maybe ditch using the tomcat8w.exe and start using the Catalina.bat so 
I can set jenkins/hudson & java options? This error is marking all my builds as 
failing when they appear to be just fine. 


Does anyone have an idea on this?


Thanks for any help/suggestions.

jeff

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/74516a25-ae86-411e-a44e-bab852b47cff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to