Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14401

Jenkins throws exception iv version colnumn plugin is disabled.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When VersionColumn plug-in is disabled and Jenkins is restarted, Jenkins throws exception and stops working after restart.

      Important: Some nodes were set offline by VersionColumn plug-in when Jenkins was restarted.

      Versions:

      • Jenkins 1.470
      • VersionColumn 0.2

      Error

      org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read C:\Jenkins\config.xml
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:885)
      at jenkins.model.Jenkins.<init>(Jenkins.java:790)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.model.Hudson.<init>(Hudson.java:77)
      at hudson.WebAppMain$2.run(WebAppMain.java:217)
      Caused by: hudson.util.IOException2: Unable to read C:\Jenkins\config.xml
      at hudson.XmlFile.unmarshal(XmlFile.java:160)
      at jenkins.model.Jenkins$15.run(Jenkins.java:2456)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$7.runTask(Jenkins.java:874)
      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(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot load java class hudson.plugin.versioncolumn.Messages : hudson.plugin.versioncolumn.Messages
      ---- Debugging information ----
      message : Cannot load java class hudson.plugin.versioncolumn.Messages
      cause-exception : java.lang.ClassNotFoundException
      cause-message : hudson.plugin.versioncolumn.Messages
      class : hudson.model.Hudson
      required-type : java.lang.Class
      path : /hudson/slaves/slave[4]/temporaryOfflineCause/description/holder/owner
      line number : 349
      -------------------------------
      at com.thoughtworks.xstream.converters.extended.JavaClassConverter.fromString(JavaClassConverter.java:52)
      at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41)
      at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49)
      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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
      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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
      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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
      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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
      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.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 hudson.slaves.NodeList$ConverterImpl.unmarshal(NodeList.java:161)
      at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:297)
      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 hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
      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:93)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
      at hudson.XmlFile.unmarshal(XmlFile.java:156)
      ... 9 more
      Caused by: java.lang.ClassNotFoundException: hudson.plugin.versioncolumn.Messages
      at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:782)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at com.thoughtworks.xstream.core.util.ClassLoaderReference.loadClass(ClassLoaderReference.java:31)
      at com.thoughtworks.xstream.converters.extended.JavaClassConverter.loadClass(JavaClassConverter.java:73)
      at com.thoughtworks.xstream.converters.extended.JavaClassConverter.fromString(JavaClassConverter.java:50)
      ... 61 more

        Attachments

          Activity

          Hide
          lata lata kopalle added a comment -

          How do we resolve this, do you have a workaround, i don't mind enabling the plugin back, but not sure how to. I just hit this issue, and it's a blocker for us.

          Show
          lata lata kopalle added a comment - How do we resolve this, do you have a workaround, i don't mind enabling the plugin back, but not sure how to. I just hit this issue, and it's a blocker for us.
          Hide
          sogabe sogabe added a comment -

          try as follows.

          1) enable Version Column plugin.
          2) make nodes online.
          3) then disable the plugin.

          Show
          sogabe sogabe added a comment - try as follows. 1) enable Version Column plugin. 2) make nodes online. 3) then disable the plugin.
          Hide
          lata lata kopalle added a comment -

          thanks sogabe.
          i was having trouble finding how to enable the version column plugin (because the gui was down), but got help (by removing the .disable file).

          https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/V5cQSXFQGtA is a parallel discussion on why i needed to disable this, in the first place.

          Show
          lata lata kopalle added a comment - thanks sogabe. i was having trouble finding how to enable the version column plugin (because the gui was down), but got help (by removing the .disable file). https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/V5cQSXFQGtA is a parallel discussion on why i needed to disable this, in the first place.

            People

            Assignee:
            sogabe sogabe
            Reporter:
            alg Alexey Gavrilov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: