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

build-failure-analyzer fails to load on startup, exception thrown.

XMLWordPrintable

      The plugin fails to load on jenkins startup, and is there for ignored completely. The settings are not visible in Configure Jenkins nor is the plugin listed in Installed Plugins.
      jenkins.err.log contains the following:

      SEVERE: Failed Loading plugin Build Failure Analyzer v1.21.0 (build-failure-analyzer)
      java.io.IOException: Failed to initialize
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:388)
      at hudson.PluginManager$2$1$1.run(PluginManager.java:545)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
      at jenkins.model.Jenkins$5.runTask(Jenkins.java:1095)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Unable to read E:\JenkinsData\build-failure-analyzer.xml
      at hudson.XmlFile.unmarshal(XmlFile.java:181)
      at hudson.XmlFile.unmarshal(XmlFile.java:161)
      at hudson.Plugin.load(Plugin.java:267)
      at com.sonyericsson.jenkins.plugins.bfa.PluginImpl.start(PluginImpl.java:151)
      at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:396)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:385)
      ... 9 more
      Caused by: com.thoughtworks.xstream.converters.ConversionException: Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0 : Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0
      ---- Debugging information ----
      message : Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0
      cause-exception : java.lang.IllegalStateException
      cause-message : Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0
      class : com.sonyericsson.jenkins.plugins.bfa.PluginImpl
      required-type : com.sonyericsson.jenkins.plugins.bfa.PluginImpl
      converter-type : hudson.util.RobustReflectionConverter
      path : /com.sonyericsson.jenkins.plugins.bfa.PluginImpl
      line number : 2884
      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:1189)
      at hudson.util.XStream2.unmarshal(XStream2.java:161)
      at hudson.util.XStream2.unmarshal(XStream2.java:132)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      at hudson.XmlFile.unmarshal(XmlFile.java:178)
      ... 14 more
      Caused by: java.lang.IllegalStateException: Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0
      at hudson.ExtensionList.lookupSingleton(ExtensionList.java:451)
      at hudson.diagnosis.OldDataMonitor.get(OldDataMonitor.java:92)
      at hudson.diagnosis.OldDataMonitor.report(OldDataMonitor.java:227)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:369)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:268)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      ... 24 more

      I am attaching the log file and build-failure-analyzer.xml
       

       

        1. build-failure-analyzer.xml
          165 kB
          Jens Brejner
        2. build-failure-analyzer.xml
          165 kB
          Jens Brejner
        3. build-failure-analyzer - Copy.bak.xml
          165 kB
          Jens Brejner
        4. jenkins.err.log
          993 kB
          Jens Brejner

            t_westling Tomas Westling
            jbrejner1 Jens Brejner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: