org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read /var/lib/jenkins/config.xml

Google Groups | Alok Kumar Singh | 3 months ago
  1. 0

    Unable to migrate jenkins 1.5xx to different server

    Google Groups | 3 months ago | Alok Kumar Singh
    org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read /var/lib/jenkins/config.xml
  2. 0

    [JENKINS-18424] NPE while reading config.xml - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    For the second time in a row the upgrade fails. It seems hudsons' new revisions doesn't like our config file. Back to hudson v1.339 goes without a problem. Here is the error shown in hudson start page (the config.xml is attached): org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read /opt/tse/hudson_home/config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at hudson.model.Hudson.executeReactor(Hudson.java:667) at hudson.model.Hudson.(Hudson.java:585) at hudson.WebAppMain$2.run(WebAppMain.java:224) Caused by: hudson.util.IOException2: Unable to read /opt/tse/hudson_home/config.xml at hudson.XmlFile.unmarshal(XmlFile.java:152) at hudson.model.Hudson$11.run(Hudson.java:2076) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:649) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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.converters.ConversionException: Invalid reference ---- Debugging information ---- reference : ../../../hudson.plugins.sectioned__view.ListViewSection/jobNames/comparator class : hudson.model.Hudson required-type : java.util.TreeSet path : /hudson/views/hudson.plugins.sectioned_view.SectionedView[4]/sections/hudson.plugins.sectioned_view.JobGraphsSection/jobNames/comparator line number : 651 ------------------------------- at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:56) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.TreeSetConverter.unmarshal(TreeSetConverter.java:69) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:223) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:186) at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:229) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:223) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:86) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:77) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:223) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923) at hudson.util.XStream2.unmarshal(XStream2.java:70) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 9 more

    Jenkins JIRA | 7 years ago | fprumbau
    org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read /opt/tse/hudson_home/config.xml
  5. 0

    after updateing to this version several jobs are not displayed. everone failing with same error: SEVERE: Failed Loading job bioEscorte-Logic hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml at hudson.XmlFile.read(XmlFile.java:147) at hudson.model.Items.load(Items.java:220) at jenkins.model.Jenkins$17.run(Jenkins.java:2542) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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: com.thoughtworks.xstream.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.NullPointerException cause-message : null class : java.util.LinkedHashSet required-type : java.util.LinkedHashSet converter-type : hudson.util.RobustCollectionConverter path : /maven2-moduleset/properties/job-metadata/values/metadata-tree[2] line number : 113 class[1] : com.sonyericsson.hudson.plugins.metadata.model.MetadataJobProperty converter-type[1] : hudson.util.RobustReflectionConverter class[2] : hudson.util.CopyOnWriteList converter-type[2] : hudson.util.XStream2$AssociatedConverterImpl class[3] : hudson.maven.MavenModuleSet version : null ------------------------------- 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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) 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.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:172) at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:337) 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:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) 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)

    Jenkins JIRA | 3 years ago | Steffen Flemming
    hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.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. com.thoughtworks.xstream.converters.ConversionException

      Invalid reference ---- Debugging information ---- reference : ../../../hudson.plugins.nested__view.NestedView/views/listView[4]/jobNames/comparator class : java.util.TreeSet required-type : java.util.TreeSet converter-type : com.thoughtworks.xstream.converters.collections.TreeSetConverter path : /hudson/views/listView[3]/jobNames/comparator line number : 610 class[1] : hudson.model.ListView converter-type[1] : hudson.util.RobustReflectionConverter class[2] : java.util.concurrent.CopyOnWriteArrayList converter-type[2] : hudson.util.RobustCollectionConverter class[3] : hudson.model.Hudson version : null -------------------------------

      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert()
    2. XStream Core
      TreeUnmarshaller.convertAnother
      1. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:57)
      2. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      4. com.thoughtworks.xstream.converters.collections.TreeMapConverter.unmarshalComparator(TreeMapConverter.java:115)
      5. com.thoughtworks.xstream.converters.collections.TreeSetConverter.unmarshal(TreeSetConverter.java:86)
      6. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      7. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      8. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      8 frames
    3. Hudson
      RobustReflectionConverter.unmarshal
      1. hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
      2. hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
      3. hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
      3 frames
    4. XStream Core
      AbstractCollectionConverter.readItem
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      5. com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      5 frames
    5. Hudson
      RobustCollectionConverter.populateCollection
      1. hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85)
      1 frame
    6. XStream Core
      CollectionConverter.unmarshal
      1. com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
      1 frame
    7. Hudson
      RobustCollectionConverter.unmarshal
      1. hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76)
      1 frame
    8. XStream Core
      TreeUnmarshaller.convertAnother
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      3 frames
    9. Hudson
      RobustReflectionConverter.unmarshal
      1. hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
      2. hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
      3. hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
      3 frames
    10. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      5. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      6. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      7. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
      7 frames
    11. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:109)
      1 frame
    12. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
      1 frame
    13. Hudson
      XmlFile.unmarshal
      1. hudson.XmlFile.unmarshal(XmlFile.java:166)
      1 frame
    14. jenkins.model
      Jenkins$16.run
      1. jenkins.model.Jenkins$16.run(Jenkins.java:2515)
      1 frame
    15. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      2 frames
    16. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
      1 frame
    17. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    18. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames