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

Script Security Plugins latests version caused Jenkins 2.173 failed to start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • depgraph-view-plugin
    • None
    • Jenkins Version : 2.173
      Script Security Plugins Version : 1.58

      I updating my jenkins from 2.32.2 to 2.173, after many tries of removing/adding .jpi files inside plugins file, I already come to conclusion that the script-security plugins causing this error because when I removing these plugins, the jenkins is able too boot but with lots of missing dependency error due to script-security is not present

       

      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:1096)
       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: org.jvnet.hudson.reactor.ReactorException
       at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282)
       at jenkins.InitReactorRunner.run(InitReactorRunner.java:48)
       at jenkins.model.Jenkins.executeReactor(Jenkins.java:1130)
       at jenkins.model.Jenkins.<init>(Jenkins.java:932)
       at hudson.model.Hudson.<init>(Hudson.java:85)
       at hudson.model.Hudson.<init>(Hudson.java:81)
       at hudson.WebAppMain$3.run(WebAppMain.java:233)
      Caused: hudson.util.HudsonFailedToLoad
       at hudson.WebAppMain$3.run(WebAppMain.java:250)

       

      I really hope that you guys can help me in this, thank.

       

      I honestly didn't know wether the other plugins that caused this or it's purely from script-security that caused this, in some case, I'll give my list of plugins that need script-security to be able to ran

       

       

       

      Dependency errors: Some plugins could not be loaded due to unsatisfied dependencies. Fix these issues and restart Jenkins to restore the functionality provided by these plugins.
      
      Command Agent Launcher Plugin version 1.3
        script-security version 1.36 is missing. To fix, install version 1.36 or later.
      
      JUnit Plugin version 1.27
        script-security version 1.30 is missing. To fix, install version 1.30 or later.
      
      CloudBees AWS Credentials Plugin version 1.26
        script-security version 1.53 is missing. To fix, install version 1.53 or later.
      
      Pipeline: Supporting APIs version 2.20
        script-security version 1.39 is missing. To fix, install version 1.39 or later.
      
      Downstream dependency errors:
      
      GitHub Pipeline for Blue Ocean version 1.0.0-b15
         Pipeline REST API for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Git Pipeline for Blue Ocean version 1.0.0-b15
        Pipeline REST API for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Pipeline version 2.5
        Pipeline: Input Step version 2.9 failed to load. Fix this plugin first.
      
      Config API for Blue Ocean version 1.0.0-b15
        REST Implementation for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Pipeline: Build Step version 2.7
        Pipeline: Supporting APIs version 2.20 failed to load. Fix this plugin first.
      
      Pipeline: Stage View Plugin version 2.10
        Pipeline: REST API Plugin version 2.10 failed to load. Fix this plugin first.
      
      Pipeline: Declarative version 1.3.3.1
        Pipeline: Shared Groovy Libraries version 2.13 failed to load. Fix this plugin first.
      
      GitHub Branch Source Plugin version 1.10.1
        GitHub plugin version 1.29.4 failed to load. Fix this plugin first.
      
      Pipeline REST API for Blue Ocean version 1.0.0-b15
        REST Implementation for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Matrix Project Plugin version 1.14
        JUnit Plugin version 1.27 failed to load. Fix this plugin first.
      
      Pipeline: Multibranch version 2.20
        Pipeline: Groovy version 2.57.3 failed to load. Fix this plugin first.
      
      Maven Integration plugin version 3.2
        JUnit Plugin version 1.27 failed to load. Fix this plugin first.
      
      Git plugin version 3.9.3
        Matrix Project Plugin version 1.14 failed to load. Fix this plugin first.
      
      Pipeline: Nodes and Processes version 2.22
        Pipeline: Supporting APIs version 2.20 failed to load. Fix this plugin first.
      
      Build Blocker Plugin version 1.7.3
        Matrix Project Plugin version 1.14 failed to load. Fix this plugin first.
      
      Prometheus metrics plugin version 1.1.1
        JUnit Plugin version 1.27 failed to load. Fix this plugin first.
      
      Autofavorite for Blue Ocean version 1.2.3
        Pipeline: Job version 2.25 failed to load. Fix this plugin first.
      
      Pipeline: Job version 2.25
        Pipeline: Supporting APIs version 2.20 failed to load. Fix this plugin first.
      
      Rebuilder version 1.30
        Matrix Project Plugin version 1.14 failed to load. Fix this plugin first.
      
      Pipeline: Declarative Extension Points API version 1.3.3.1
        Pipeline: Groovy version 2.57.3 failed to load. Fix this plugin first.
      
      GitHub plugin version 1.29.4
        Jenkins Git plugin version 3.9.3 failed to load. Fix this plugin first.
      
      Pipeline Graph Analysis Plugin version 1.9
        Pipeline: Groovy version 2.57.3 failed to load. Fix this plugin first.
      
      Parameterized Trigger plugin version 2.35.2
        Conditional BuildStep version 1.3.6 failed to load. Fix this plugin first.
      
      CloudBees AWS Credentials Plugin version 1.26
        Pipeline: Declarative Extension Points API version 1.3.3.1 failed to load. Fix this plugin first.
      
      Pipeline: Shared Groovy Libraries version 2.13
        Pipeline: Groovy version 2.57.3 failed to load. Fix this plugin first.
      
      Pipeline: Groovy version 2.57.3
        Pipeline: Supporting APIs version 2.20 failed to load. Fix this plugin first.
      
      Personalization for Blue Ocean version 1.0.0-b15
        Events API for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Blue Ocean beta version 1.0.0-b15
        Dashboard for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      GitHub Organization Folder Plugin version 1.5
        Pipeline: Groovy version 2.57.3 failed to load. Fix this plugin first.
      
      Pipeline: REST API Plugin version 2.10
        Pipeline: Job version 2.25 failed to load. Fix this plugin first.
      
      Conditional BuildStep version 1.3.6
        Maven Integration plugin version 3.2 failed to load. Fix this plugin first.
      
      Environment Injector Plugin version 2.1.6
        Matrix Project Plugin version 1.14 failed to load. Fix this plugin first.
      
      Display URL for Blue Ocean version 2.2.0
        Pipeline: Job version 2.25 failed to load. Fix this plugin first.
      
      REST Implementation for Blue Ocean version 1.0.0-b15
        Favorite version 2.3.2 failed to load. Fix this plugin first.
      
      Events API for Blue Ocean version 1.0.0-b15
        Pipeline REST API for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      
      Build Pipeline Plugin version 1.5.8
        Jenkins Parameterized Trigger plugin version 2.35.2 failed to load. Fix this plugin first.
      
      Multijob plugin version 1.32
        Maven Integration plugin version 3.2 failed to load. Fix this plugin first.
      
      Pipeline: Input Step version 2.9
        Pipeline: Supporting APIs version 2.20 failed to load. Fix this plugin first.
      
      Pipeline: Declarative Agent API version 1.1.1
        Pipeline: Declarative Extension Points API version 1.3.3.1 failed to load. Fix this plugin first.
      
      Favorite version 2.3.2
        Matrix Project Plugin version 1.14 failed to load. Fix this plugin first.
      
      Dashboard for Blue Ocean version 1.0.0-b15
        Events API for Blue Ocean version 1.0.0-b15 failed to load. Fix this plugin first.
      

       

            Unassigned Unassigned
            dimasrizkyhp Dimas Rizky
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: