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

Jenkins JIRA | mezlight | 8 years ago
  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

  5. 0

    Hudson CI: User Forum: JOBS not appearing while starting hudson — Project Kenai

    java.net | 1 year ago
    hudson.util.IOException2: Unable to read /home/star/.hudson/jobs/STAR-FRAMEWORK/config.xml
  6. 0

    After upgrading from 1.330 to 1.331, some projects fail to load. Reverting to 1.330 makes them reappear. I have several kinds stack traces in the log, but they all have a ClassCastException: - ConversionException with DiskUsageProperty hudson.util.IOException2: Unable to read /usr/local/web/.hudson/jobs/project1/config.xml at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$9.call(Hudson.java:2011) at hudson.model.Hudson$9.call(Hudson.java:2004) 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.converters.ConversionException: com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference ---- Debugging information ---- message : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference cause-exception : java.lang.ClassCastException cause-message : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference class : hudson.model.FreeStyleProject required-type : hudson.util.CopyOnWriteList path : /project/properties/hudson.plugins.disk_usage.DiskUsageProperty line number : 10 ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89) 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:261) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172) 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 com.thoughtworks.xstream.XStream.fromXML(XStream.java:853) at hudson.XmlFile.read(XmlFile.java:126) ... 8 more Caused by: java.lang.ClassCastException: com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:184) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:163) at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:157) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 25 more - ConversionException with MonitorPublisher hudson.util.IOException2: Unable to read /usr/local/web/.hudson/jobs/project2/config.xml at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$9.call(Hudson.java:2011) at hudson.model.Hudson$9.call(Hudson.java:2004) 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.converters.ConversionException: com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference ---- Debugging information ---- message : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference cause-exception : java.lang.ClassCastException cause-message : com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference class : hudson.maven.MavenModuleSet required-type : hudson.util.DescribableList path : /maven2-moduleset/publishers/hudson.plugins.statusmonitor.MonitorPublisher line number : 120 ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89) 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:261) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172) 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 com.thoughtworks.xstream.XStream.fromXML(XStream.java:853) at hudson.XmlFile.read(XmlFile.java:126) ... 8 more Caused by: java.lang.ClassCastException: com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to java.lang.ref.WeakReference at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:184) at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:312) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 25 more - shorter ConversionException on MonitorPublisher hudson.util.IOException2: Unable to read /usr/local/web/.hudson/jobs/project3/config.xml at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$9.call(Hudson.java:2011) at hudson.model.Hudson$9.call(Hudson.java:2004) 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.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.ClassCastException cause-message : null class : hudson.maven.MavenModuleSet required-type : hudson.util.DescribableList path : /maven2-moduleset/publishers/hudson.plugins.statusmonitor.MonitorPublisher line number : 68 ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89) 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:261) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172) 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 com.thoughtworks.xstream.XStream.fromXML(XStream.java:853) at hudson.XmlFile.read(XmlFile.java:126) ... 8 more Caused by: java.lang.ClassCastException

    Jenkins JIRA | 7 years ago | pavageau
    hudson.util.IOException2: Unable to read /usr/local/web/.hudson/jobs/project2/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. 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