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


Solutions on the web58

Solution icon of googlegroups
via Google Groups by wil...@ds.net (JIRA), 9 months ago
Unable to read /data/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 googlegroups
via Google Groups by Levente Barabas, 1 year ago
Unable to read D:\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

Stack trace

java.io.IOException: Unable to read /data/jenkins/global-build-stats.xml
	at hudson.XmlFile.unmarshal(XmlFile.java:165)
	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:960)
	at hudson.model.Hudson.<init>(Hudson.java:85)
	at hudson.model.Hudson.<init>(Hudson.java:81)
	at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
 126 ---- Debugging information ----
 127 cause-exception : java.lang.NullPointerException
 128 cause-message : null
 129 class : hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
 130 required-type : hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
 131 converter-type : hudson.plugins.global_build_stats.xstream.GlobalBuildStatsXStreamConverter
 132 path : /hudson.plugins.global_build_stats.GlobalBuildStatsPlugin
 133 line number : 2
 134 version : not available
 135 -------------------------------
	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:163)
	... 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