java.io.IOException: Unable to read /var/lib/jenkins/global-build-stats.xml


Solutions on the web

Solution icon of googlegroups
via Google Groups by wil...@ds.net (JIRA), 9 months ago
Unable to read /var/lib/jenkins/global-build-stats.xml

Solution icon of jenkins
via Jenkins JIRA by Walter Kacynski, 1 year ago
Unable to read E:\Jenkins\global-build-stats.xml

Solution icon of jenkins
via Jenkins JIRA by Walter Kacynski, 1 year ago
Unable to read E:\Jenkins\global-build-stats.xml

Solution icon of googlegroups
Unable to read /var/lib/jenkins/global-build-stats.xml<br>

Solution icon of googlegroups
via Google Groups by Zach La Celle, 10 months ago
Unable to read /var/lib/jenkins/config.xml

Solution icon of jenkins
via Jenkins JIRA by Peter Miklosko, 1 year ago
Unable to read /var/lib/jenkins/config.xml

Solution icon of jenkins
via Jenkins JIRA by Veronica Èlizondo, 1 year ago
Unable to read /var/lib/jenkins/config.xml

Solution icon of github
Unable to read /var/lib/jenkins/config.xml

Solution icon of github
Unable to read /var/lib/jenkins/config.xml

Solution icon of googlegroups
via Google Groups by Jason Pyeron, 11 months ago
Unable to read /var/lib/jenkins/config.xml

Stack trace

java.io.IOException: Unable to read /var/lib/jenkins/global-build-stats.xml
	at hudson.XmlFile.unmarshal(XmlFile.java:161)
	at hudson.Plugin.load(Plugin.java:264)
	at hudson.plugins.global_build_stats.GlobalBuildStatsPlugin.load(GlobalBuildStatsPlugin.java:97)
	at hudson.plugins.global_build_stats.business.GlobalBuildStatsPluginSaver.reloadPlugin(GlobalBuildStatsPluginSaver.java:99)
	at hudson.plugins.global_build_stats.business.GlobalBuildStatsBusiness.reloadPlugin(GlobalBuildStatsBusiness.java:395)
	at hudson.plugins.global_build_stats.GlobalBuildStatsPlugin$GlobalBuildStatsItemListener.onLoaded(GlobalBuildStatsPlugin.java:152)
	at jenkins.model.Jenkins.<init>(Jenkins.java:995)
	at hudson.model.Hudson.<init>(Hudson.java:85)
	at hudson.model.Hudson.<init>(Hudson.java:81)
	at hudson.WebAppMain$3.run(WebAppMain.java:231)
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
required-type       : hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
converter-type      : hudson.plugins.global_build_stats.xstream.GlobalBuildStatsXStreamConverter
path                : /hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
line number         : 2
version             : not available
-------------------------------
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
	at hudson.util.XStream2.unmarshal(XStream2.java:114)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
	at hudson.XmlFile.unmarshal(XmlFile.java:159)
	... 9 more
Caused by: java.lang.NullPointerException
	at java.util.ArrayList.addAll(ArrayList.java:577)
	at hudson.plugins.global_build_stats.model.JobBuildResultSharder.load(JobBuildResultSharder.java:140)
	at hudson.plugins.global_build_stats.xstream.migration.AbstractMigrator.readGlobalBuildStatsPOJO(AbstractMigrator.java:35)
	at hudson.plugins.global_build_stats.xstream.GlobalBuildStatsXStreamConverter.unmarshal(GlobalBuildStatsXStreamConverter.java:159)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	... 18 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 4 months ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
18 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 more bugmates