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

Jenkins won't start if both Configuration-as-code and disk-usage plugins are installed.

XMLWordPrintable

      It appears that there's some incompatibility between those two plugins in their current latest versions. If both are installed and enabled, Jenkins startup fails with the following error message. Is this something that you can help with?

       

      Error

      io.jenkins.plugins.casc.ConfiguratorException: 'checkWorkspaceOnSlave' is deprecated

              at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:330)

              at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)

              at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:360)

              at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)

              at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:797)

              at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:731)

      Caused: io.jenkins.plugins.casc.ConfiguratorException: unclassified: error configuring 'unclassified' with class io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator configurator

              at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:737)

              at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:797)

              at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:783)

              at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:652)

              at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)

              at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)

      Caused: java.lang.reflect.InvocationTargetException

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.base/java.lang.reflect.Method.invoke(Method.java:566)

              at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)

      Caused: java.lang.Error

              at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)

              at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)

              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)

              at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)

              at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)

              at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)

              at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)

              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

              at java.base/java.lang.Thread.run(Thread.java:829)

      Caused: org.jvnet.hudson.reactor.ReactorException

              at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)

              at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)

              at jenkins.model.Jenkins.executeReactor(Jenkins.java:1199)

              at jenkins.model.Jenkins.<init>(Jenkins.java:987)

              at hudson.model.Hudson.<init>(Hudson.java:86)

              at hudson.model.Hudson.<init>(Hudson.java:82)

              at hudson.WebAppMain$3.run(WebAppMain.java:247)

      Caused: hudson.util.HudsonFailedToLoad

              at hudson.WebAppMain$3.run(WebAppMain.java:264)

            Unassigned Unassigned
            rva R
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: