hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *Steps to reproduce :* 1.Install build-flow and envinject 2.Create a build-flow job 3.Successfully run the build-flow job 4.Restart jenkins *The following occurs:* No builds will be displayed in the history. Relevant jenkins log entry is attached. {quote} 08.08.2012 12:33:25 hudson.model.RunMap load WARNING: could not load E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02 hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml at hudson.XmlFile.unmarshal(XmlFile.java:164) at hudson.model.Run.reload(Run.java:290) at hudson.model.Run.<init>(Run.java:279) .... Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null ---- Debugging information ---- message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null class : com.cloudbees.plugins.flow.FlowRun required-type : org.jenkinsci.plugins.envinject.EnvInjectPluginAction path : /com.cloudbees.plugins.flow.FlowRun/builds/edgeMap/entry/org.jgrapht.graph.IntrusiveEdge/target/actions/org.jenkinsci.plugins.envinject.EnvInjectPluginAction line number : 59 ------------------------------- {quote} *Note:* Manually deleting all lines containing "envinject" from Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml allows for the build to properly be loaded and displayed in the build history.
    via by Andrei Ababei,
  • *Steps to reproduce :* 1.Install build-flow and envinject 2.Create a build-flow job 3.Successfully run the build-flow job 4.Restart jenkins *The following occurs:* No builds will be displayed in the history. Relevant jenkins log entry is attached. {quote} 08.08.2012 12:33:25 hudson.model.RunMap load WARNING: could not load E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02 hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml at hudson.XmlFile.unmarshal(XmlFile.java:164) at hudson.model.Run.reload(Run.java:290) at hudson.model.Run.<init>(Run.java:279) .... Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null ---- Debugging information ---- message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null class : com.cloudbees.plugins.flow.FlowRun required-type : org.jenkinsci.plugins.envinject.EnvInjectPluginAction path : /com.cloudbees.plugins.flow.FlowRun/builds/edgeMap/entry/org.jgrapht.graph.IntrusiveEdge/target/actions/org.jenkinsci.plugins.envinject.EnvInjectPluginAction line number : 59 ------------------------------- {quote} *Note:* Manually deleting all lines containing "envinject" from Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml allows for the build to properly be loaded and displayed in the build history.
    via by Andrei Ababei,
  • Jenkins and Ruby Metric Plugin error
    via Stack Overflow by 23tux
    ,
  • Jenkins | 技術メモ | TOYATAKU WEB
    via by Unknown author,
  • I get the following error at startup: hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at hudson.XmlFile.unmarshal(XmlFile.java:150) at hudson.model.Run.<init>(Run.java:251) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:150) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:58) at hudson.maven.MavenBuild.<init>(MavenBuild.java:95) at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:807) at hudson.model.AbstractProject$1.create(AbstractProject.java:209) at hudson.model.AbstractProject$1.create(AbstractProject.java:207) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:207) at hudson.maven.MavenModule.onLoad(MavenModule.java:197) at hudson.model.Items.load(Items.java:107) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:58) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:405) at hudson.model.Items.load(Items.java:107) at hudson.model.Hudson$9.call(Hudson.java:2036) at hudson.model.Hudson$9.call(Hudson.java:2029) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.thoughtworks.xstream.io.StreamException: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:78) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:154) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:147) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:111) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:36) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 24 more Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) ... 31 more Unfortunatly it doesn't log, which file is broken, so i can't check the file and fix it.
    via by tisoft_media,
  • Mar 04, 2013 12:06:29 PM hudson.triggers.SCMTrigger$Runner run INFO: SCM changes detected in Gravity_Update_Site. Triggering #94 Exception in thread "JmDNS(fe80:0:0:0:20c:29ff:fe7d:d4c6%2.local.).Timer" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2219) at java.util.ArrayList.grow(ArrayList.java:213) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:187) at java.util.ArrayList.addAll(ArrayList.java:532) at javax.jmdns.impl.DNSCache.allValues(DNSCache.java:351) at javax.jmdns.impl.JmDNSImpl.cleanCache(JmDNSImpl.java:1771) at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:58) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Mar 04, 2013 12:09:53 PM hudson.model.RunMap retrieve WARNING: could not load /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2 hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:166) at hudson.model.Run.reload(Run.java:308) at hudson.model.Run.<init>(Run.java:297) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1084) at hudson.model.AbstractProject$1.create(AbstractProject.java:282) at hudson.model.AbstractProject$1.create(AbstractProject.java:280) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:645) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:608) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:347) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:505) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:358) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:300) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1021) at hudson.model.AbstractProject.poll(AbstractProject.java:1387) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.OutOfMemoryError: Java heap space
    via by wim jongman,
    • hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml at hudson.XmlFile.unmarshal(XmlFile.java:164) at hudson.model.Run.reload(Run.java:290) at hudson.model.Run.<init>(Run.java:279)
    No Bugmate found.