hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml

Jenkins JIRA | Andrei Ababei | 5 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

    *Steps to reproduce :* 1.Install build-flow and envinject 2.Create a build-flow job 3.Successfully run the build-flow job 4.Restart jenkins *The following occurs:* No builds will be displayed in the history. Relevant jenkins log entry is attached. {quote} 08.08.2012 12:33:25 hudson.model.RunMap load WARNING: could not load E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02 hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml at hudson.XmlFile.unmarshal(XmlFile.java:164) at hudson.model.Run.reload(Run.java:290) at hudson.model.Run.<init>(Run.java:279) .... Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null ---- Debugging information ---- message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null class : com.cloudbees.plugins.flow.FlowRun required-type : org.jenkinsci.plugins.envinject.EnvInjectPluginAction path : /com.cloudbees.plugins.flow.FlowRun/builds/edgeMap/entry/org.jgrapht.graph.IntrusiveEdge/target/actions/org.jenkinsci.plugins.envinject.EnvInjectPluginAction line number : 59 ------------------------------- {quote} *Note:* Manually deleting all lines containing "envinject" from Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml allows for the build to properly be loaded and displayed in the build history.

    Jenkins JIRA | 5 years ago | Andrei Ababei
    hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml
  2. 0

    *Steps to reproduce :* 1.Install build-flow and envinject 2.Create a build-flow job 3.Successfully run the build-flow job 4.Restart jenkins *The following occurs:* No builds will be displayed in the history. Relevant jenkins log entry is attached. {quote} 08.08.2012 12:33:25 hudson.model.RunMap load WARNING: could not load E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02 hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml at hudson.XmlFile.unmarshal(XmlFile.java:164) at hudson.model.Run.reload(Run.java:290) at hudson.model.Run.<init>(Run.java:279) .... Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null ---- Debugging information ---- message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call org.jenkinsci.plugins.envinject.EnvInjectPluginAction.readResolve() : null class : com.cloudbees.plugins.flow.FlowRun required-type : org.jenkinsci.plugins.envinject.EnvInjectPluginAction path : /com.cloudbees.plugins.flow.FlowRun/builds/edgeMap/entry/org.jgrapht.graph.IntrusiveEdge/target/actions/org.jenkinsci.plugins.envinject.EnvInjectPluginAction line number : 59 ------------------------------- {quote} *Note:* Manually deleting all lines containing "envinject" from Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml allows for the build to properly be loaded and displayed in the build history.

    Jenkins JIRA | 5 years ago | Andrei Ababei
    hudson.util.IOException2: Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml

    Root Cause Analysis

    1. hudson.util.IOException2

      Unable to read E:\Jenkins\jobs\test111\builds\2012-07-31_17-20-02\build.xml

      at hudson.XmlFile.unmarshal()
    2. Hudson
      Run.<init>
      1. hudson.XmlFile.unmarshal(XmlFile.java:164)
      2. hudson.model.Run.reload(Run.java:290)
      3. hudson.model.Run.<init>(Run.java:279)
      3 frames