I am experiencing a similar – or perhaps the same – problem. I just noticed it last week, because I happened to be reviewing the Jenkins (tomcat) log and noticed a SEVERE startup error related to global-build-stats.

We are running Jenkins 1.455 and global build stats 1.3. We have been using this same version of Jenkins and plugin for many months now. I did some testing, and the problems seems to be that one of our jobResults.xml files contained the value "null." That is, the file jobResults-2012-01.xml contained one line, and it was "<null/>". Renaming the file did not help, but removing the file allowed Jenkins to start without reporting the error. Further testing is required to verify that chart data is saved after restart.

Interestingly, this error was occurring on two Jenkins servers, both of which are kept to identical configuration in terms of plugins but not jobs.

The specific error in the Jenkins log at startup time is:
SEVERE: Unable to read jenkins/home/global-build-stats.xml
hudson.util.IOException2: Unable to read jenkins/home/global-build-stats.xml
... [stacktrace]
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null

I'm sure it is showing that "<null/>" couldn't be unmarshalled. The question is, why is that jobResult.xml's value null to begin with?

Maxfield – if you could check your JENKINS_HOME/global-build-stats/jobresults directory for file(s) with the value null, you might verify having the same problem; and try to fix it by removing any "null" files. I'd be curious to see if you have the same thing happening.

I hope this helps.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to