hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml

Jenkins JIRA | mezlight | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I was migrating from 1.286 to 1.289 using glassfish as the container and received a StackOverflowError on the layout.jelly file. I then tried to redeployed back to version 1.286 and received the same error. I was only successful migrating back to version 1.282... Error from the web page: type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53: java.lang.StackOverflowError root cause org.apache.commons.jelly.JellyTagException: file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53: java.lang.StackOverflowError root cause java.lang.StackOverflowError note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_01 logs. stack from server.log: [#|2009-03-03T22:36:57.302-0500|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=158;_ThreadName=hudson initialization thread;_RequestID=a2c6d3c7-91b4-4ad0-82c3-9e83c3193ce9;|java.lang.Error: hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml at hudson.WebAppMain$2.run(WebAppMain.java:192) Caused by: hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml at hudson.XmlFile.unmarshal(XmlFile.java:150) at hudson.model.Hudson.load(Hudson.java:1794) at hudson.model.Hudson.<init>(Hudson.java:514) at hudson.WebAppMain$2.run(WebAppMain.java:190) Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.model.ListView.readResolve() : null : Could not call hudson.model.ListView.readResolve() : null ---- Debugging information ---- message : Could not call hudson.model.ListView.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call hudson.model.ListView.readResolve() : null class : hudson.model.Hudson required-type : hudson.model.ListView path : /hudson/views/listView line number : 135 ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:79) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:71) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:262) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:222) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:173) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931) at hudson.util.XStream2.unmarshal(XStream2.java:65) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917) at hudson.XmlFile.unmarshal(XmlFile.java:146) ... 3 more Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Could not call hudson.model.ListView.readResolve() : null at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:50) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) ... 27 more Caused by: java.lang.StackOverflowError at java.util.zip.Inflater.inflate(Inflater.java:221) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135) at java.io.FilterInputStream.read(FilterInputStream.java:116) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2269) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2277) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2433) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2497) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2569) at java.io.DataInputStream.readInt(DataInputStream.java:370) at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2774) at java.io.ObjectInputStream.readInt(ObjectInputStream.java:950) at java.util.TreeMap.readObject(TreeMap.java:2266) at sun.reflect.GeneratedMethodAccessor1697.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:133) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) a The stack claims it couldn't read the config.xml file but that is not true @ all.

    Jenkins JIRA | 8 years ago | mezlight
    hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml
  2. 0

    Jenkins users - Jabber to Openfire XMPP server

    nabble.com | 1 year ago
    hudson.util.IOException2: Failed to initialize
  3. 0

    I was migrating from 1.286 to 1.289 using glassfish as the container and received a StackOverflowError on the layout.jelly file. I then tried to redeployed back to version 1.286 and received the same error. I was only successful migrating back to version 1.282... Error from the web page: type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53: java.lang.StackOverflowError root cause org.apache.commons.jelly.JellyTagException: file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53: java.lang.StackOverflowError root cause java.lang.StackOverflowError note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_01 logs. stack from server.log: [#|2009-03-03T22:36:57.302-0500|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=158;_ThreadName=hudson initialization thread;_RequestID=a2c6d3c7-91b4-4ad0-82c3-9e83c3193ce9;|java.lang.Error: hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml at hudson.WebAppMain$2.run(WebAppMain.java:192) Caused by: hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml at hudson.XmlFile.unmarshal(XmlFile.java:150) at hudson.model.Hudson.load(Hudson.java:1794) at hudson.model.Hudson.<init>(Hudson.java:514) at hudson.WebAppMain$2.run(WebAppMain.java:190) Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.model.ListView.readResolve() : null : Could not call hudson.model.ListView.readResolve() : null ---- Debugging information ---- message : Could not call hudson.model.ListView.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call hudson.model.ListView.readResolve() : null class : hudson.model.Hudson required-type : hudson.model.ListView path : /hudson/views/listView line number : 135 ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:79) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:71) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:262) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:222) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:173) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931) at hudson.util.XStream2.unmarshal(XStream2.java:65) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917) at hudson.XmlFile.unmarshal(XmlFile.java:146) ... 3 more Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Could not call hudson.model.ListView.readResolve() : null at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:50) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) ... 27 more Caused by: java.lang.StackOverflowError at java.util.zip.Inflater.inflate(Inflater.java:221) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135) at java.io.FilterInputStream.read(FilterInputStream.java:116) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2269) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2277) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2433) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2497) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2569) at java.io.DataInputStream.readInt(DataInputStream.java:370) at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2774) at java.io.ObjectInputStream.readInt(ObjectInputStream.java:950) at java.util.TreeMap.readObject(TreeMap.java:2266) at sun.reflect.GeneratedMethodAccessor1697.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:133) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146) a The stack claims it couldn't read the config.xml file but that is not true @ all.

    Jenkins JIRA | 8 years ago | mezlight
    hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      Unable to read /home/hudson/ci/hudson/config.xml

      at hudson.XmlFile.unmarshal()
    2. Hudson
      WebAppMain$2.run
      1. hudson.XmlFile.unmarshal(XmlFile.java:150)
      2. hudson.model.Hudson.load(Hudson.java:1794)
      3. hudson.model.Hudson.<init>(Hudson.java:514)
      4. hudson.WebAppMain$2.run(WebAppMain.java:190)
      4 frames