java.io.IOException: Unable to read /Users/jenkins/.jenkins/nodeMonitors.xml

Jenkins JIRA | b2jrock | 3 years ago
  1. 0

    The process continues to run, but throws this exception: Mar 19, 2014 1:34:54 PM hudson.model.ComputerSet <clinit> WARNING: Failed to instantiate NodeMonitors java.io.IOException: Unable to read /Users/jenkins/.jenkins/nodeMonitors.xml at hudson.XmlFile.read(XmlFile.java:144) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:426) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: com.thoughtworks.xstream.converters.ConversionException: hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList ---- Debugging information ---- message : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList cause-exception : java.lang.ClassCastException cause-message : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList class : hudson.util.DescribableList required-type : hudson.node_monitors.DiskSpaceMonitor converter-type : hudson.util.DescribableList$ConverterImpl path : /hudson.util.DescribableList/hudson.node_monitors.DiskSpaceMonitor line number : 12 version : not available ------------------------------- 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 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 com.thoughtworks.xstream.XStream.fromXML(XStream.java:925) at hudson.XmlFile.read(XmlFile.java:142) ... 14 more Caused by: java.lang.ClassCastException: hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:266) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 24 more

    Jenkins JIRA | 3 years ago | b2jrock
    java.io.IOException: Unable to read /Users/jenkins/.jenkins/nodeMonitors.xml
  2. 0

    The process continues to run, but throws this exception: Mar 19, 2014 1:34:54 PM hudson.model.ComputerSet <clinit> WARNING: Failed to instantiate NodeMonitors java.io.IOException: Unable to read /Users/jenkins/.jenkins/nodeMonitors.xml at hudson.XmlFile.read(XmlFile.java:144) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:426) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: com.thoughtworks.xstream.converters.ConversionException: hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList ---- Debugging information ---- message : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList cause-exception : java.lang.ClassCastException cause-message : hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList class : hudson.util.DescribableList required-type : hudson.node_monitors.DiskSpaceMonitor converter-type : hudson.util.DescribableList$ConverterImpl path : /hudson.util.DescribableList/hudson.node_monitors.DiskSpaceMonitor line number : 12 version : not available ------------------------------- 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 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 com.thoughtworks.xstream.XStream.fromXML(XStream.java:925) at hudson.XmlFile.read(XmlFile.java:142) ... 14 more Caused by: java.lang.ClassCastException: hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:266) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 24 more

    Jenkins JIRA | 3 years ago | b2jrock
    java.io.IOException: Unable to read /Users/jenkins/.jenkins/nodeMonitors.xml
  3. 0

    I upgraded to Hudson 1.368 today. I also upgraded the Plot plug-in to 1.3 (as well as a few others that probably aren't related; CVS, E-mail, XUnit and Maven). A couple of my jobs are dedicated to running a PMD copy/paste detection. No Java builds are involved in these jobs. After I installed the new software today, those PMD builds are no longer shown in my Hudson dashboard. If I go into the hudson/jobs directory, I can see the jobs directories are still there. They just aren't being displayed. I am attaching one of the config.xml files from one of the jobs that is no longer being shown. The Apache log has this error related to loading this job: SEVERE: Failed Loading job Copy Paste Detection hudson.util.IOException2: Unable to read /b/hudson/.hudson/jobs/Copy Paste Detection/config.xml at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2133) 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:678) 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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: com.thoughtworks.xstream.converters.ConversionException: java.util.ArrayList cannot be cast to hudson.util.DescribableList : java.util.ArrayList cannot be cast to hudson.util.DescribableList ---- Debugging information ---- message : java.util.ArrayList cannot be cast to hudson.util.DescribableList cause-exception : java.lang.ClassCastException cause-message : java.util.ArrayList cannot be cast to hudson.util.DescribableList class : hudson.model.FreeStyleProject required-type : java.util.ArrayList path : /project/publishers/hudson.plugins.plot.PlotPublisher line number : 107 ------------------------------- 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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:856) at hudson.XmlFile.read(XmlFile.java:126) ... 10 more Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to hudson.util.DescribableList at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:235) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 27 more Jul 30, 2010 4:00:59 PM hudson.util.RobustCollectionConverter populateCollection WARNING: Failed to resolve class com.thoughtworks.xstream.mapper.CannotResolveClassException: csvFileName : csvFileName at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:124) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56) 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.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: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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:190) at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:232) 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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:856) at hudson.XmlFile.read(XmlFile.java:126) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2133) 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:678) 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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 6 years ago | javakrieg
    hudson.util.IOException2: Unable to read /b/hudson/.hudson/jobs/Copy Paste Detection/config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I upgraded to Hudson 1.368 today. I also upgraded the Plot plug-in to 1.3 (as well as a few others that probably aren't related; CVS, E-mail, XUnit and Maven). A couple of my jobs are dedicated to running a PMD copy/paste detection. No Java builds are involved in these jobs. After I installed the new software today, those PMD builds are no longer shown in my Hudson dashboard. If I go into the hudson/jobs directory, I can see the jobs directories are still there. They just aren't being displayed. I am attaching one of the config.xml files from one of the jobs that is no longer being shown. The Apache log has this error related to loading this job: SEVERE: Failed Loading job Copy Paste Detection hudson.util.IOException2: Unable to read /b/hudson/.hudson/jobs/Copy Paste Detection/config.xml at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2133) 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:678) 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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: com.thoughtworks.xstream.converters.ConversionException: java.util.ArrayList cannot be cast to hudson.util.DescribableList : java.util.ArrayList cannot be cast to hudson.util.DescribableList ---- Debugging information ---- message : java.util.ArrayList cannot be cast to hudson.util.DescribableList cause-exception : java.lang.ClassCastException cause-message : java.util.ArrayList cannot be cast to hudson.util.DescribableList class : hudson.model.FreeStyleProject required-type : java.util.ArrayList path : /project/publishers/hudson.plugins.plot.PlotPublisher line number : 107 ------------------------------- 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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:856) at hudson.XmlFile.read(XmlFile.java:126) ... 10 more Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to hudson.util.DescribableList at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:235) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 27 more Jul 30, 2010 4:00:59 PM hudson.util.RobustCollectionConverter populateCollection WARNING: Failed to resolve class com.thoughtworks.xstream.mapper.CannotResolveClassException: csvFileName : csvFileName at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:124) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56) 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.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: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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:190) at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:232) 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:286) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:177) 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:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:856) at hudson.XmlFile.read(XmlFile.java:126) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2133) 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:678) 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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 6 years ago | javakrieg
    hudson.util.IOException2: Unable to read /b/hudson/.hudson/jobs/Copy Paste Detection/config.xml
  6. 0

    #762798 - ClassCastException: Vector cannot be cast to DescribableList - Debian Bug report logs

    debian.org | 1 year ago
    java.lang.ClassCastException: java.util.Vector cannot be cast to hudson.util.DescribableList

    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. java.lang.ClassCastException

      hudson.node_monitors.DiskSpaceMonitor cannot be cast to hudson.util.DescribableList

      at hudson.util.DescribableList$ConverterImpl.unmarshal()
    2. Hudson
      DescribableList$ConverterImpl.unmarshal
      1. hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:266)
      1 frame
    3. 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
    4. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:113)
      1 frame
    5. XStream Core
      XStream.fromXML
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
      2. com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
      2 frames
    6. Hudson
      ComputerSet.<clinit>
      1. hudson.XmlFile.read(XmlFile.java:142)
      2. hudson.model.ComputerSet.<clinit>(ComputerSet.java:426)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    8. Hudson
      TaskMethodFinder$TaskImpl.run
      1. hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      2. hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
      2 frames
    9. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      1 frame
    10. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
      1 frame
    11. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames