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

An attempt to save the global configuration was made before it was loaded

XMLWordPrintable

      I just upgraded Jenkins to Jenkins 2.267 and I am getting the following errors:

      java.lang.IllegalStateException: An attempt to save the global configuration was made before it was loaded
      	at jenkins.model.Jenkins.save(Jenkins.java:3379)
      	at jenkins.model.Jenkins.saveQuietly(Jenkins.java:3398)
      	at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2637)
      	at jenkins.model.Jenkins$16.run(Jenkins.java:3342)
      	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:1129)
      	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:68)
      	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:50)
      	at jenkins.model.Jenkins.executeReactor(Jenkins.java:1162)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:962)
      	at hudson.model.Hudson.<init>(Hudson.java:85)
      	at hudson.model.Hudson.<init>(Hudson.java:81)
      	at hudson.WebAppMain$3.run(WebAppMain.java:295)
      Caused: hudson.util.HudsonFailedToLoad
      	at hudson.WebAppMain$3.run(WebAppMain.java:312)
      

      I noticed in the upgrade guide for 2.204, they said that the ConfigurationAsCode plugin may be cousing this but I don't see that in my plugins folder. These are all my plugins:

      ace-editor
      all-changes
      analysis-core
      analysis-model-api
      ansicolor
      ant
      antisamy-markup-formatter
      apache-httpcomponents-client-4-api
      authentication-tokens
      authorize-project
      aws-java-sdk
      backup
      basic-branch-build-strategies
      bitbucket
      blueocean
      blueocean-autofavorite
      blueocean-bitbucket-pipeline
      blueocean-commons
      blueocean-config
      blueocean-core-js
      blueocean-dashboard
      blueocean-display-url
      blueocean-events
      blueocean-github-pipeline
      blueocean-git-pipeline
      blueocean-i18n
      blueocean-jira
      blueocean-jwt
      blueocean-personalization
      blueocean-pipeline-api-impl
      blueocean-pipeline-editor
      blueocean-pipeline-scm-api
      blueocean-rest
      blueocean-rest-impl
      blueocean-web
      bootstrap4-api
      bouncycastle-api
      branch-api
      build-name-setter
      build-pipeline-plugin
      build-timeout
      build-token-root
      built-on-column
      checks-api
      checkstyle
      cloudbees-bitbucket-branch-source
      cloudbees-folder
      cloud-stats
      cloverphp
      cobertura
      code-coverage-api
      command-launcher
      conditional-buildstep
      config-file-provider
      consul
      consul-kv-builder
      convert-to-pipeline
      copyartifact
      crap4j
      credentials
      credentials-binding
      dashboard-view
      data-tables-api
      digitalocean-plugin
      display-url-api
      docker-commons
      docker-workflow
      drupal-developer
      dry
      dtkit-api
      durable-task
      echarts-api
      email-ext
      emailext-template
      embeddable-build-status
      envinject
      envinject-api
      external-monitor-job
      favorite
      font-awesome-api
      forensics-api
      generic-webhook-trigger
      git
      git-client
      github
      github-api
      github-branch-source
      github-organization-folder
      git-parameter
      git-server
      gradle
      handlebars
      handy-uri-templates-2-api
      htmlpublisher
      icon-shim
      jackson2-api
      javadoc
      jdepend
      jdk-tool
      jenkins-design-language
      jenkins-jira-issue-updater
      jenkins-multijob-plugin
      jira
      jira-steps
      JiraTestResultReporter
      jira-trigger
      jquery
      jquery3-api
      jquery-detached
      jquery-ui
      jsch
      junit
      ldap
      lockable-resources
      mailer
      mapdb-api
      matrix-auth
      matrix-project
      maven-plugin
      mercurial
      metrics
      momentjs
      monitoring
      naginator
      nodejs
      nodelabelparameter
      okhttp-api
      pam-auth
      parameterized-trigger
      pipeline-build-step
      pipeline-github-lib
      pipeline-graph-analysis
      pipeline-input-step
      pipeline-milestone-step
      pipeline-model-api
      pipeline-model-declarative-agent
      pipeline-model-definition
      pipeline-model-extensions
      pipeline-rest-api
      pipeline-stage-step
      pipeline-stage-tags-metadata
      pipeline-stage-view
      plain-credentials
      plot
      plugin-util-api
      pmd
      popper-api
      publish-over
      publish-over-ssh
      pubsub-light
      rebuild
      resource-disposer
      role-strategy
      run-condition
      s3
      scm-api
      script-security
      simple-theme-plugin
      sitemonitor
      slack
      snakeyaml-api
      sse-gateway
      ssh
      ssh-agent
      ssh-credentials
      ssh-slaves
      structs
      subversion
      throttle-concurrents
      timestamper
      token-macro
      trilead-api
      variant
      view-job-filters
      violations
      warnings
      warnings-ng
      windows-slaves
      workflow-aggregator
      workflow-api
      workflow-basic-steps
      workflow-cps
      workflow-cps-global-lib
      workflow-durable-task-step
      workflow-job
      workflow-multibranch
      workflow-scm-step
      workflow-step-api
      workflow-support
      ws-cleanup
      xunit
      

      Any recommendations on how to fix this?

            Unassigned Unassigned
            albertski Albert Jankowski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: