hudson.util.IOException2: Failed to initialize

Jenkins JIRA | pancake | 6 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

    Jan 8, 2011 1:21:25 AM hudson.model.Hudson$4 onTaskFailed SEVERE: Failed Loading plugin scm-sync-configuration hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:295) at hudson.PluginManager$2$1$1.run(PluginManager.java:275) 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:699) 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: hudson.util.IOException2: Unable to read c:\_H\scm-sync-configuration.xml at hudson.XmlFile.unmarshal(XmlFile.java:152) at hudson.Plugin.load(Plugin.java:220) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:49) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292) ... 9 more Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.NullPointerException cause-message : null class : hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin required-type : hudson.plugins.scm_sync_configuration.scms.SCM path : /hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin/scm line number : 4 ------------------------------- 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.unmarshalField(RobustReflectionConverter.java:290) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) 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:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 13 more Caused by: java.lang.NullPointerException at hudson.plugins.scm_sync_configuration.scms.SCM.valueOf(SCM.java:146) at hudson.plugins.scm_sync_configuration.scms.SCM$SCMXStreamConverter.unmarshal(SCM.java:186) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 29 more

    Jenkins JIRA | 6 years ago | pancake
    hudson.util.IOException2: Failed to initialize
  2. 0

    Jan 8, 2011 1:21:25 AM hudson.model.Hudson$4 onTaskFailed SEVERE: Failed Loading plugin scm-sync-configuration hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:295) at hudson.PluginManager$2$1$1.run(PluginManager.java:275) 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:699) 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: hudson.util.IOException2: Unable to read c:\_H\scm-sync-configuration.xml at hudson.XmlFile.unmarshal(XmlFile.java:152) at hudson.Plugin.load(Plugin.java:220) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:49) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292) ... 9 more Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.NullPointerException cause-message : null class : hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin required-type : hudson.plugins.scm_sync_configuration.scms.SCM path : /hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin/scm line number : 4 ------------------------------- 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.unmarshalField(RobustReflectionConverter.java:290) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) 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:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 13 more Caused by: java.lang.NullPointerException at hudson.plugins.scm_sync_configuration.scms.SCM.valueOf(SCM.java:146) at hudson.plugins.scm_sync_configuration.scms.SCM$SCMXStreamConverter.unmarshal(SCM.java:186) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) ... 29 more

    Jenkins JIRA | 6 years ago | pancake
    hudson.util.IOException2: Failed to initialize

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.scm_sync_configuration.scms.SCM.valueOf()
    2. hudson.plugins.scm_sync_configuration
      SCM$SCMXStreamConverter.unmarshal
      1. hudson.plugins.scm_sync_configuration.scms.SCM.valueOf(SCM.java:146)
      2. hudson.plugins.scm_sync_configuration.scms.SCM$SCMXStreamConverter.unmarshal(SCM.java:186)
      2 frames
    3. XStream Core
      TreeUnmarshaller.convertAnother
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      4 frames
    4. Hudson
      RobustReflectionConverter.unmarshal
      1. hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290)
      2. hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233)
      3. hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180)
      3 frames
    5. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      5. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
      6. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      7. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926)
      7 frames
    6. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:80)
      1 frame
    7. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
      1 frame
    8. Hudson
      Plugin.load
      1. hudson.XmlFile.unmarshal(XmlFile.java:148)
      2. hudson.Plugin.load(Plugin.java:220)
      2 frames
    9. hudson.plugins.scm_sync_configuration
      ScmSyncConfigurationPlugin.start
      1. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:49)
      1 frame
    10. Hudson
      PluginManager$2$1$1.run
      1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303)
      2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292)
      3. hudson.PluginManager$2$1$1.run(PluginManager.java:275)
      3 frames
    11. 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
    12. Hudson
      Hudson$3.runTask
      1. hudson.model.Hudson$3.runTask(Hudson.java:699)
      1 frame
    13. 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
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames