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

jenkins.InitReactorRunner$1#onTaskFailed: Failed Finalizing set up, java.lang.IllegalArgumentException: No script is provided.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: _unsorted
    • Labels:
    • Environment:
      windows server 2008 r2 enterprise
    • Similar Issues:

      Description

      After updating jenkins, error from log:

      2021-07-08 06:14:26.043+0000 [id=67] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
      2021-07-08 06:14:28.075+0000 [id=51] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
      2021-07-08 06:14:28.153+0000 [id=51] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
      2021-07-08 06:14:28.153+0000 [id=57] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
      2021-07-08 06:14:28.387+0000 [id=69] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
      2021-07-08 06:14:28.387+0000 [id=51] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
      2021-07-08 06:14:28.403+0000 [id=83] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata
      2021-07-08 06:14:28.434+0000 [id=83] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server
      2021-07-08 06:14:28.606+0000 [id=69] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Finalizing set up
      java.lang.IllegalArgumentException: No script is provided
      at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130)
      at hudson.security.AbstractPasswordBasedSecurityRealm.createSecurityComponents(AbstractPasswordBasedSecurityRealm.java:38)
      at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:489)
      at hudson.security.HudsonFilter.reset(HudsonFilter.java:138)
      at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2630)
      at jenkins.model.Jenkins$16.run(Jenkins.java:3332)
      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: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:59)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      2021-07-08 06:14:28.606+0000 [id=31] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
      java.lang.IllegalArgumentException: No script is provided
      at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130)
      at hudson.security.AbstractPasswordBasedSecurityRealm.createSecurityComponents(AbstractPasswordBasedSecurityRealm.java:38)
      at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:489)
      at hudson.security.HudsonFilter.reset(HudsonFilter.java:138)
      at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2630)
      at jenkins.model.Jenkins$16.run(Jenkins.java:3332)
      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: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:59)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused: org.jvnet.hudson.reactor.ReactorException
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:50)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:1164)
      at jenkins.model.Jenkins.<init>(Jenkins.java:964)
      at hudson.model.Hudson.<init>(Hudson.java:85)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.WebAppMain$3.run(WebAppMain.java:262)
      Caused: hudson.util.HudsonFailedToLoad
      at hudson.WebAppMain$3.run(WebAppMain.java:279)
      2021-07-08 06:14:28.622+0000 [id=31] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins
      2021-07-08 06:14:28.668+0000 [id=31] INFO jenkins.model.Jenkins$18#onAttained: Started termination
      2021-07-08 06:14:28.700+0000 [id=31] INFO jenkins.model.Jenkins$18#onAttained: Completed termination
      2021-07-08 06:14:28.700+0000 [id=31] INFO jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
      2021-07-08 06:14:28.715+0000 [id=31] INFO jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
      2021-07-08 06:14:28.715+0000 [id=31] INFO jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
      2021-07-08 06:14:28.731+0000 [id=31] INFO jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion
      2021-07-08 06:14:28.731+0000 [id=31] INFO jenkins.model.Jenkins#cleanUp: Jenkins stopped
      2021-07-08 06:14:38.059+0000 [id=83] INFO hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
      java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
      at jenkins.model.Jenkins.get(Jenkins.java:777)
      at jenkins.util.JSONSignatureValidator.loadTrustAnchors(JSONSignatureValidator.java:249)
      at jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:90)
      at hudson.model.UpdateSite.verifySignature(UpdateSite.java:268)
      at hudson.model.UpdateSite.updateData(UpdateSite.java:232)
      at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:212)
      at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:207)
      at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1767)
      at hudson.util.Retrier.start(Retrier.java:63)
      at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1738)
      at jenkins.DailyCheck.execute(DailyCheck.java:93)
      at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:100)
      at java.lang.Thread.run(Unknown Source)
      2021-07-08 06:14:38.075+0000 [id=83] INFO hudson.util.Retrier#start: Calling the listener of the allowed exception 'Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.' at the attempt #1 to do the action check updates server
      2021-07-08 06:14:38.075+0000 [id=83] INFO hudson.util.Retrier#start: Attempted the action check updates server for 1 time(s) with no success
      2021-07-08 06:14:38.075+0000 [id=83] SEVERE hudson.PluginManager#doCheckUpdatesServer: Error checking update sites for 1 attempt(s). Last exception was: IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
      2021-07-08 06:14:38.075+0000 [id=83] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished Download metadata. 9,657 ms

        Attachments

          Activity

          drewgg drew created issue -
          drewgg drew made changes -
          Field Original Value New Value
          Attachment QQ截图20210708150738.png [ 55158 ]

            People

            Assignee:
            drewgg drew
            Reporter:
            drewgg drew
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: