hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml

Jenkins JIRA | wim jongman | 4 years ago
  1. 0

    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

    Jenkins JIRA | 4 years ago | wim jongman
    hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml
  2. 0

    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

    Jenkins JIRA | 4 years ago | wim jongman
    hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml
  3. 0

    [JENKINS-13536] File parameter causing data lost after Jenkins restart - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: Unable to read /vol/ebs1/jenkins/jobs/ah-trunk-hardy/builds/2012-10-17_21-17-23/build.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-22664] BuildDiskUsageAction.build must be transient - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: Unable to read .../jobs/.../builds/2013-11-19_.../build.xml
  6. 0

    {code:none} ... WARNING hudson.model.RunMap retrieve could not load .../jobs/.../builds/2013-11-19_... hudson.util.IOException2: Unable to read .../jobs/.../builds/2013-11-19_.../build.xml at hudson.XmlFile.unmarshal(XmlFile.java:166) at hudson.model.Run.reload(Run.java:320) at hudson.model.Run.<init>(Run.java:309) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:187) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at ... Caused by: com.thoughtworks.xstream.converters.ConversionException: Invalid reference ---- Debugging information ---- reference : ../hudson.plugins.disk__usage.BuildDiskUsageAction/build/actions/org.jvnet.hudson.plugins.DownstreamBuildViewAction class : java.util.concurrent.CopyOnWriteArrayList required-type : java.util.concurrent.CopyOnWriteArrayList converter-type : hudson.util.RobustCollectionConverter path : /build/actions/org.jvnet.hudson.plugins.DownstreamBuildViewAction line number : 143 class[1] : hudson.model.FreeStyleBuild converter-type[1] : hudson.util.RobustReflectionConverter version : not available ------------------------------- at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:57) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:357) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) 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:1061) at hudson.util.XStream2.unmarshal(XStream2.java:113) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:164) ... 132 more {code} while trying to load {code:xml} <?xml version='1.0' encoding='UTF-8'?> <build> <actions> ... <hudson.plugins.disk__usage.BuildDiskUsageAction plugin="disk-usage@0.23"> <buildDiskUsage>...</buildDiskUsage> <build class="build"> <actions> ... <hudson.plugins.disk__usage.BuildDiskUsageAction reference="../../.."/> <org.jvnet.hudson.plugins.DownstreamBuildViewAction plugin="downstream-buildview@1.8"> <build class="build" reference="../../.."/> <downstreamBuilds class="concurrent-hash-map">... </org.jvnet.hudson.plugins.DownstreamBuildViewAction> ... </actions> ... </build> </hudson.plugins.disk__usage.BuildDiskUsageAction> <org.jvnet.hudson.plugins.DownstreamBuildViewAction reference="../hudson.plugins.disk__usage.BuildDiskUsageAction/build/actions/org.jvnet.hudson.plugins.DownstreamBuildViewAction"/> <hudson.tasks.Fingerprinter_-FingerprintAction reference="../hudson.plugins.disk__usage.BuildDiskUsageAction/build/actions/hudson.tasks.Fingerprinter_-FingerprintAction"/> ... <org.jvnet.hudson.plugins.DownstreamBuildViewAction plugin="downstream-buildview@1.8"> <build class="build" reference="../../.."/> <downstreamBuilds class="concurrent-hash-map">... </actions> ... <scm class="hudson.scm.NullChangeLogParser" reference="../actions/hudson.plugins.disk__usage.BuildDiskUsageAction/build/scm"/> <culprits class="com.google.common.collect.EmptyImmutableSortedSet" reference="../actions/hudson.plugins.disk__usage.BuildDiskUsageAction/build/culprits"/> </build> {code} It is very dangerous to serialize a {{Run}}-valued field as part of an action. You should make this field {{transient}} and implement {{RunAction2}} (1.509.4+ if I recall correctly). Then the {{BuildDiskUsageAction}} constructor need not take {{AbstractBuild build}}; the build will be set when the action is attached immediately after construction ({{DiskUsageUtil.calculateDiskUsageForBuild}}).

    Jenkins JIRA | 3 years ago | Jesse Glick
    hudson.util.IOException2: Unable to read .../jobs/.../builds/2013-11-19_.../build.xml

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Hudson
      FreeStyleBuild.<init>
      1. hudson.XmlFile.unmarshal(XmlFile.java:166)
      2. hudson.model.Run.reload(Run.java:308)
      3. hudson.model.Run.<init>(Run.java:297)
      4. hudson.model.AbstractBuild.<init>(AbstractBuild.java:179)
      5. hudson.model.Build.<init>(Build.java:103)
      6. hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
      6 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      4 frames
    4. Hudson
      RunMap.retrieve
      1. hudson.model.AbstractProject.loadBuild(AbstractProject.java:1084)
      2. hudson.model.AbstractProject$1.create(AbstractProject.java:282)
      3. hudson.model.AbstractProject$1.create(AbstractProject.java:280)
      4. hudson.model.RunMap.retrieve(RunMap.java:225)
      5. hudson.model.RunMap.retrieve(RunMap.java:59)
      5 frames
    5. jenkins.model.lazy
      AbstractLazyLoadRunMap.newestBuild
      1. jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:645)
      2. jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:608)
      3. jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:347)
      4. jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:505)
      5. jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:358)
      6. jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:300)
      6 frames
    6. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1021)
      2. hudson.model.AbstractProject.poll(AbstractProject.java:1387)
      3. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      4. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      5. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      5 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:722)
      6 frames