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

IllegalArgumentException: No script is provided

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.213

      Description

      After updating jenkins.war from 2.210 to 2.212 jenkins is not booting up properly. It looks like that mainly user configs of users which are not in company anymore, but also a few users which are still here.

       

      I didn't test 2.211!

      error from log:

       

      2020-01-06 06:31:41.056+0000 [id=26] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Finalizing set up2020-01-06 06:31:41.056+0000 [id=26] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Finalizing set upjava.lang.IllegalArgumentException: No script is provided at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:340) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:487) at hudson.security.HudsonFilter.reset(HudsonFilter.java:138) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2590) at jenkins.model.Jenkins$16.run(Jenkins.java:3287) 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:1142) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)2020-01-06 06:31:41.056+0000 [id=18] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkinsjava.lang.IllegalArgumentException: No script is provided at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:340) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:487) at hudson.security.HudsonFilter.reset(HudsonFilter.java:138) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2590) at jenkins.model.Jenkins$16.run(Jenkins.java:3287) 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:1142) 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(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:48) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1175) at jenkins.model.Jenkins.<init>(Jenkins.java:965) 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)2020-01-06 06:31:41.071+0000 [id=25] SEVERE hudson.model.User#loadFromUserConfigFile: Failed to load H:\Jenkins\users\xxxx_671919744130591284\config.xmljava.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source) at sun.nio.ch.FileChannelImpl.read(Unknown Source) at sun.nio.ch.ChannelInputStream.read(Unknown Source) at sun.nio.ch.ChannelInputStream.read(Unknown Source) at sun.nio.ch.ChannelInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at java.io.PushbackInputStream.read(Unknown Source) at com.thoughtworks.xstream.core.util.XmlHeaderAwareReader.getHeader(XmlHeaderAwareReader.java:79) at com.thoughtworks.xstream.core.util.XmlHeaderAwareReader.<init>(XmlHeaderAwareReader.java:61) at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65)Caused: com.thoughtworks.xstream.io.StreamException:  : null at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:69) at hudson.XmlFile.unmarshal(XmlFile.java:180)Caused: java.io.IOException: Unable to read H:\Jenkins\users\xxx_671919744130591284\config.xml at hudson.XmlFile.unmarshal(XmlFile.java:183) at hudson.XmlFile.unmarshal(XmlFile.java:163) at hudson.model.User.loadFromUserConfigFile(User.java:223) at hudson.model.User.load(User.java:193) at hudson.model.User.<init>(User.java:188) at hudson.model.User.<init>(User.java:123) at hudson.model.User$AllUsers.scanAll(User.java:1048) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) 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:1142) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)2020-01-06 06:31:41.071+0000 [id=18] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins

      2020-01-06 06:31:41.087+0000 [id=25] SEVERE hudson.model.User#loadFromUserConfigFile: Failed to load H:\Jenkins\users\yyy_9214406477503837753\config.xml2020-01-06 06:31:41.087+0000 [id=25] SEVERE hudson.model.User#loadFromUserConfigFile: Failed to load H:\Jenkins\users\mdom1rozkopalt_9214406477503837753\config.xmljava.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source)

        Attachments

          Issue Links

            Activity

            Hide
            rw250155 Reiner Wirtz added a comment -

            I got the same error.
            I use now version 2.211.
            Thir version works for me.

            Show
            rw250155 Reiner Wirtz added a comment - I got the same error. I use now version 2.211. Thir version works for me.
            Hide
            martin_stolle Martin Stolle added a comment -
            java.lang.IllegalArgumentException: No script is provided
            	at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130)
            	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:340)
            	at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:487)
            	at hudson.security.HudsonFilter.reset(HudsonFilter.java:138)
            	at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2590)
            	at jenkins.model.Jenkins$16.run(Jenkins.java:3287)
            	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:1142)
            	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:1175)
            	at jenkins.model.Jenkins.<init>(Jenkins.java:965)
            	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)
            

            Same issue here, major problem with active directory plugin!

            Show
            martin_stolle Martin Stolle added a comment - java.lang.IllegalArgumentException: No script is provided at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:130) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:340) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:487) at hudson.security.HudsonFilter.reset(HudsonFilter.java:138) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2590) at jenkins.model.Jenkins$16.run(Jenkins.java:3287) 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:1142) 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:1175) at jenkins.model.Jenkins.<init>(Jenkins.java:965) 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) Same issue here, major problem with active directory plugin!
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I suspect the rott cause is similar to JENKINS-60644

            Show
            oleg_nenashev Oleg Nenashev added a comment - I suspect the rott cause is similar to  JENKINS-60644
            Hide
            jglick Jesse Glick added a comment -

            Also involves Class.getResourceAsStream so almost certainly a duplicate.

            Show
            jglick Jesse Glick added a comment - Also involves Class.getResourceAsStream so almost certainly a duplicate.
            Hide
            n3rdly Matthew Larrain added a comment -

            Same issues for us as well. Reverted back to 2.211 until this is resolved.

             

            Show
            n3rdly Matthew Larrain added a comment - Same issues for us as well. Reverted back to 2.211 until this is resolved.  
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            2.213 includes the fix FTR

            Show
            oleg_nenashev Oleg Nenashev added a comment - 2.213 includes the fix FTR

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              arbeita Ronny Borchert
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: