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

Jenkins startup Issue - Jenkins version 2.426.3-lts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • None

      We are running Jenkins as Configuration as a code, Today we have restarted the Jenkins instance after that getting below errors. 

       
      2024-05-16 05:40:11.682+0000 [id=36] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed ConfigurationAsCode.init
      io.jenkins.plugins.casc.UnknownAttributesException: unclassified: Invalid configuration elements for type: class jenkins.model.GlobalConfigurationCategory$Unclassified : githubPullRequests,ghprbTrigger,gitSCM,gitHubPluginConfig.
      Available attributes : administrativeMonitorsConfiguration, ansiColorBuildWrapper, appInsightsGlobalConfig, artifactManager, artifactoryBuilder, awsCredentialsProvider, buildDiscarders, buildMonitorView, buildTimestamp, buildUser, buildUserVars, builtInNode, casCGlobalConfig, chefIdentityBuildWrapper, defaultDisplayUrlProvider, defaultFolderConfiguration, defaultView, dependencyTrackPublisher, diskUsageProjectActionFactory, dockerBuilder, email-ext, enrichedSummaryConfig, envInjectNodeProperty, envVarsFilter, exporterBuilder, fingerprints, gitlabBuildTrigger, gitlabLogoProperty, globalBuildPromotedBuilds, globalConfig, globalConfigFiles, globalDefaultFlowDurabilityLevel, globalLibraries, globalSettings, hashicorpVault, injectionConfig, jiraGlobalConfiguration, jobConfigHistory, jobImportGlobalConfig, junitTestResultStorage, location, lockableResourcesManager, mailer, mavenInfoGlobalConfig, mavenModuleSet, metricsAccessKey, myView, nestedViewGlobalConfig, nodeProperties, pipeline-model-docker, pipelineStepsAWS, plugin, pollSCM, projectNamingStrategy, prometheusConfiguration, quietPeriod, rebuildDescriptor, remoteBuildConfiguration, resourceRoot, rundeckNotifier, s3Upload, scmRetryCount, serverConfiguration, shell, singleConditionalBuilder, sonarGlobalConfiguration, subversionSCM, timestamper, upstream, usageStatistics, viewsTabBar, violationsToGitLabGlobalConfiguration, vncRecorderBuildWrapper, vncViewerBuildWrapper, webhook, whitelist, xvnc
      at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:389)
      at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:374)
      at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
      at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:830)
      at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:773)
      at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:830)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:816)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:695)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:352)
      at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:341)
      Caused: io.jenkins.plugins.casc.ConfigurationAsCodeBootFailure
      at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:343)
      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:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      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:1170)
      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:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:840)
      2024-05-16 05:40:11.683+0000 [id=25] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
      io.jenkins.plugins.casc.UnknownAttributesException: unclassified: Invalid configuration elements for type: class jenkins.model.GlobalConfigurationCategory$Unclassified : githubPullRequests,ghprbTrigger,gitSCM,gitHubPluginConfig.
      Available attributes : administrativeMonitorsConfiguration, ansiColorBuildWrapper, appInsightsGlobalConfig, artifactManager, artifactoryBuilder, awsCredentialsProvider, buildDiscarders, buildMonitorView, buildTimestamp, buildUser, buildUserVars, builtInNode, casCGlobalConfig, chefIdentityBuildWrapper, defaultDisplayUrlProvider, defaultFolderConfiguration, defaultView, dependencyTrackPublisher, diskUsageProjectActionFactory, dockerBuilder, email-ext, enrichedSummaryConfig, envInjectNodeProperty, envVarsFilter, exporterBuilder, fingerprints, gitlabBuildTrigger, gitlabLogoProperty, globalBuildPromotedBuilds, globalConfig, globalConfigFiles, globalDefaultFlowDurabilityLevel, globalLibraries, globalSettings, hashicorpVault, injectionConfig, jiraGlobalConfiguration, jobConfigHistory, jobImportGlobalConfig, junitTestResultStorage, location, lockableResourcesManager, mailer, mavenInfoGlobalConfig, mavenModuleSet, metricsAccessKey, myView, nestedViewGlobalConfig, nodeProperties, pipeline-model-docker, pipelineStepsAWS, plugin, pollSCM, projectNamingStrategy, prometheusConfiguration, quietPeriod, rebuildDescriptor, remoteBuildConfiguration, resourceRoot, rundeckNotifier, s3Upload, scmRetryCount, serverConfiguration, shell, singleConditionalBuilder, sonarGlobalConfiguration, subversionSCM, timestamper, upstream, usageStatistics, viewsTabBar, violationsToGitLabGlobalConfiguration, vncRecorderBuildWrapper, vncViewerBuildWrapper, webhook, whitelist, xvnc
      at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:389)
      at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:374)
      at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
      at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:830)
      at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:773)
      at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:830)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:816)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:695)
      at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:352)
      at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:341)
      Caused: io.jenkins.plugins.casc.ConfigurationAsCodeBootFailure
      at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:343)
      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:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      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:1170)
      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:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:840)
      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:1205)
      at jenkins.model.Jenkins.<init>(Jenkins.java:992)
      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)
      2024-05-16 05:40:11.690+0000 [id=25] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
      2024-05-16 05:40:11.703+0000 [id=25] INFO jenkins.model.Jenkins$16#onAttained: Started termination
      2024-05-16 05:40:40.159+0000 [id=25] INFO jenkins.model.Jenkins$16#onAttained: Completed termination
      2024-05-16 05:40:40.160+0000 [id=25] INFO jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
      2024-05-16 05:40:40.174+0000 [id=25] INFO jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
      2024-05-16 05:40:41.077+0000 [id=25] INFO jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
      2024-05-16 05:40:41.101+0000 [id=25] INFO jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion
      2024-05-16 05:40:41.104+0000 [id=25] SEVERE jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters
      java.lang.ClassNotFoundException: net.bull.javamelody.MonitoringInitialContextFactory
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
      at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
      Caused: java.lang.NoClassDefFoundError: net/bull/javamelody/MonitoringInitialContextFactory
      at net.bull.javamelody.FilterContext.destroy(FilterContext.java:472)
      at net.bull.javamelody.MonitoringFilter.destroy(MonitoringFilter.java:176)
      at net.bull.javamelody.PluginMonitoringFilter.destroy(PluginMonitoringFilter.java:74)
      at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:191)
      at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3985)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3682)
      at hudson.WebAppMain$3.run(WebAppMain.java:268)
      2024-05-16 05:40:41.104+0000 [id=25] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
      2024-05-16 05:40:41.137+0000 [id=42] SEVERE h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (SyncQueueListener/42) died unexpectedly due to an uncaught exception. This may leave your server corrupted and usually indicates a software bug.
      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:819)
      at hudson.model.Queue.getInstance(Queue.java:3077)
      at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.lambda$static$0(SyncQueueListener.java:112)
      at java.base/java.lang.Thread.run(Thread.java:840)
       

            Unassigned Unassigned
            gopalarao347 gopal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: