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

Jacoco plugin 3.2.0 prevents jenkins 2.277.4 to start

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jacoco-plugin
    • None
    • Jenkins 2.277.4
      openjdk version "1.8.0_162"
    • 3.3.0

      After upgrading Jenkins from 2.263.2 to 2.277.4 I upgraded jacoco from 3.1.1 to 3.2.0 and Jenkins failed to start after that (the only plugin upgraded)

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) 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: org.jvnet.hudson.reactor.ReactorException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282) at jenkins.InitReactorRunner.run(InitReactorRunner.java:49) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1164) at jenkins.model.Jenkins.<init>(Jenkins.java:962) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:295)Caused: hudson.util.HudsonFailedToLoad at hudson.WebAppMain$3.run(WebAppMain.java:312)
      

          [JENKINS-65740] Jacoco plugin 3.2.0 prevents jenkins 2.277.4 to start

          This plugin update broke my Jenkins as well. I am on Jenkins 2.295. Upgrading from 3.1.1 to 3.2.0 caused Jenkins to fail to start when loading the plugins.

          If I had to guess based on the error I'm attaching to this issue, it has to do with the pom changes in https://github.com/jenkinsci/jacoco-plugin/compare/jacoco-3.1.1...jacoco-3.2.0#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8.

           

          Thomas Spencer added a comment - This plugin update broke my Jenkins as well. I am on Jenkins 2.295. Upgrading from 3.1.1 to 3.2.0 caused Jenkins to fail to start when loading the plugins. If I had to guess based on the error I'm attaching to this issue, it has to do with the pom changes in https://github.com/jenkinsci/jacoco-plugin/compare/jacoco-3.1.1...jacoco-3.2.0#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8 .  

          Luis Ehlen added a comment -

          I'm also waiting for this problem to be solved so I can upgrade Jenkins. This is also a problem with Jenkins 2.289.1

          Luis Ehlen added a comment - I'm also waiting for this problem to be solved so I can upgrade Jenkins. This is also a problem with Jenkins 2.289.1

          Luis Ehlen added a comment -

          Looks like version 3.3.0 of the plugin fix the problem 

          Luis Ehlen added a comment - Looks like version 3.3.0 of the plugin fix the problem 

            ognjenb Ognjen Bubalo
            lehlen Luis Ehlen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: