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

Checkstyle and FindBugs uninstallable after upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • checkstyle-plugin
    • Windows XP

      I cannot install either Checkstyle or FindBugs after upgrading a 1.434 installation to 1.514. Failure continues even after wiping out the $JENKINS_HOME/war directory and starting fresh. What I have not tried is wiping out the plugins directory (because I don't want to have to reinstall all my working plugins).

      I get the following stack trace on startup, after downloading e.g. checkstyle.

      SEVERE: Failed Loading plugin checkstyle
      hudson.util.IOException2: Failed to initialize
       	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:371)
       	at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
       	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:893)
       	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: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
       	at org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
       	at org.apache.commons.digester.Digester.endElement(Digester.java:1350)
       	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
       	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       	at org.apache.commons.digester.Digester.parse(Digester.java:1916)
       	at hudson.plugins.checkstyle.rules.CheckStyleRules.initialize(CheckStyleRules.java:60)
       	at hudson.plugins.checkstyle.CheckStylePlugin.start(CheckStylePlugin.java:14)
       	at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:379)
       	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
       	... 9 more
      

      Jenkins version: 1.514
      Checkstyle plugin: 3.35

            drulli Ulli Hafner
            wmarshall Whitney Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: