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

Jenkins 2.63: Cannot Save Any Configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: other
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      Steps to reproduce:

      • Upgrade from Jenkins 2.62 to 2.63.
      • Attempt to save any configuration (no need to change anything) in a Pipeline job or Freestyle job

      Expected result:

      • Configuration is saved.
      • There is no error.

      Actual result:

      •  Configuration is not saved.
      •  There is a Jenkins error, with a significant stack trace.

      Stack trace:

      java.lang.NoSuchFieldError: INSTANCE
      at io.jenkins.blueocean.events.BlueMessageEnricher.enrich(BlueMessageEnricher.java:58)
      at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:133)
      at org.jenkinsci.plugins.pubsub.listeners.SyncJobCRUDListener.publish(SyncJobCRUDListener.java:92)
      at org.jenkinsci.plugins.pubsub.listeners.SyncJobCRUDListener.onUpdated(SyncJobCRUDListener.java:80)
      at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:229)
      at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:227)
      at hudson.model.listeners.ItemListener.forAll(ItemListener.java:180)
      at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:227)
      at hudson.model.Job.doConfigSubmit(Job.java:1316)
      at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
      at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
      Caused: javax.servlet.ServletException
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
      at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:51)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:80)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:92)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
      at org.eclipse.jetty.server.Server.handle(Server.java:564)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
      at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
      at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)

      Screenshot:

        Attachments

          Activity

          Hide
          theotsatsos Theodoros Tsatsos added a comment -

          I have the same issue, I tried all the above and still getting the error message

          Show
          theotsatsos Theodoros Tsatsos added a comment - I have the same issue, I tried all the above and still getting the error message
          Hide
          theotsatsos Theodoros Tsatsos added a comment -

          Ernst de HaanCraig Barr,  i am running Jenkins 2.73.2 with Blue Ocean 1.3.0 and I still have this issue.

           

           

          [Plugin:ace-editor, Plugin:active-directory, Plugin:advanced-installer-msi-builder, Plugin:analysis-core, Plugin:ant, Plugin:antisamy-markup-formatter, Plugin:any-buildstep, Plugin:apache-httpcomponents-client-4-api, Plugin:archived-artifact-url-viewer, Plugin:artifactory, Plugin:audit-trail, Plugin:authentication-tokens, Plugin:batch-task, Plugin:blueocean-autofavorite, Plugin:blueocean-bitbucket-pipeline, Plugin:blueocean-commons, Plugin:blueocean-config, Plugin:blueocean-dashboard, Plugin:blueocean-display-url, Plugin:blueocean-events, Plugin:blueocean-git-pipeline, Plugin:blueocean-github-pipeline, Plugin:blueocean-i18n, Plugin:blueocean-jira, Plugin:blueocean-jwt, Plugin:blueocean-personalization, Plugin:blueocean-pipeline-api-impl, Plugin:blueocean-pipeline-editor, Plugin:blueocean-pipeline-scm-api, Plugin:blueocean-rest-impl, Plugin:blueocean-rest, Plugin:blueocean-web, Plugin:blueocean, Plugin:bouncycastle-api, Plugin:branch-api, Plugin:build-monitor-plugin, Plugin:build-name-setter, Plugin:build-pipeline-plugin, Plugin:build-publisher, Plugin:build-time-blame, Plugin:build-timeout, Plugin:build-user-vars-plugin, Plugin:checkstyle, Plugin:cloudbees-bitbucket-branch-source, Plugin:cloudbees-folder, Plugin:collapsing-console-sections, Plugin:conditional-buildstep, Plugin:config-file-provider, Plugin:copyartifact, Plugin:create-fingerprint, Plugin:credentials-binding, Plugin:credentials, Plugin:cucumber-reports, Plugin:custom-tools-plugin, Plugin:description-setter, Plugin:display-url-api, Plugin:docker-commons, Plugin:docker-workflow, Plugin:dos-trigger, Plugin:durable-task, Plugin:email-ext-recipients-column, Plugin:email-ext, Plugin:emailext-template, Plugin:emotional-jenkins-plugin, Plugin:envinject, Plugin:extended-choice-parameter, Plugin:external-monitor-job, Plugin:external-workspace-manager, Plugin:extra-tool-installers, Plugin:favorite, Plugin:flexible-publish, Plugin:git-client, Plugin:git-server, Plugin:git, Plugin:github-api, Plugin:github-branch-source, Plugin:github-organization-folder, Plugin:github, Plugin:global-build-stats, Plugin:global-variable-string-parameter, Plugin:gradle, Plugin:greenballs, Plugin:handlebars, Plugin:htmlpublisher, Plugin:icon-shim, Plugin:ivy, Plugin:jackson2-api, Plugin:javadoc, Plugin:jenkins-jira-issue-updater, Plugin:jira-ext, Plugin:jira, Plugin:JiraTestResultReporter, Plugin:job-restrictions, Plugin:jobConfigHistory, Plugin:jquery-detached, Plugin:jquery, Plugin:jsch, Plugin:junit-realtime-test-reporter, Plugin:junit, Plugin:ldap, Plugin:ldapemail, Plugin:log-parser, Plugin:mailer, Plugin:managed-scripts, Plugin:mapdb-api, Plugin:matrix-auth, Plugin:matrix-project, Plugin:maven-plugin, Plugin:mercurial, Plugin:metrics, Plugin:momentjs, Plugin:msbuild, Plugin:multiple-scms, Plugin:nexus-artifact-uploader, Plugin:nexus-jenkins-plugin, Plugin:nodejs, Plugin:nunit, Plugin:pam-auth, Plugin:parameterized-trigger, Plugin:periodicbackup, Plugin:pipeline-build-step, Plugin:pipeline-github-lib, Plugin:pipeline-graph-analysis, Plugin:pipeline-input-step, Plugin:pipeline-milestone-step, Plugin:pipeline-model-api, Plugin:pipeline-model-declarative-agent, Plugin:pipeline-model-definition, Plugin:pipeline-model-extensions, Plugin:pipeline-multibranch-defaults, Plugin:pipeline-rest-api, Plugin:pipeline-stage-step, Plugin:pipeline-stage-tags-metadata, Plugin:pipeline-stage-view, Plugin:plain-credentials, Plugin:pollscm, Plugin:postbuild-task, Plugin:powershell, Plugin:preSCMbuildstep, Plugin:publish-over-cifs, Plugin:pubsub-light, Plugin:python, Plugin:rake, Plugin:resource-disposer, Plugin:role-strategy, Plugin:run-condition, Plugin:scm-api, Plugin:scm-sync-configuration, Plugin:script-security, Plugin:sidebar-link, Plugin:simple-theme-plugin, Plugin:sse-gateway, Plugin:ssh-credentials, Plugin:ssh-slaves, Plugin:ssh, Plugin:started-by-envvar, Plugin:statistics-gatherer, Plugin:structs, Plugin:subversion, Plugin:test-results-analyzer, Plugin:tfs, Plugin:throttle-concurrents, Plugin:timestamper, Plugin:token-macro, Plugin:toolenv, Plugin:variant, Plugin:vsts-cd, Plugin:windows-slaves, Plugin:workflow-aggregator, Plugin:workflow-api, Plugin:workflow-basic-steps, Plugin:workflow-cps-global-lib, Plugin:workflow-cps, Plugin:workflow-durable-task-step, Plugin:workflow-job, Plugin:workflow-multibranch, Plugin:workflow-scm-step, Plugin:workflow-step-api, Plugin:workflow-support, Plugin:ws-cleanup, Plugin:xunit]

          Show
          theotsatsos Theodoros Tsatsos added a comment - Ernst de Haan ,  Craig Barr ,  i am running Jenkins 2.73.2 with Blue Ocean  1.3.0  and I still have this issue.     [Plugin:ace-editor, Plugin:active-directory, Plugin:advanced-installer-msi-builder, Plugin:analysis-core, Plugin:ant, Plugin:antisamy-markup-formatter, Plugin:any-buildstep, Plugin:apache-httpcomponents-client-4-api, Plugin:archived-artifact-url-viewer, Plugin:artifactory, Plugin:audit-trail, Plugin:authentication-tokens, Plugin:batch-task, Plugin:blueocean-autofavorite, Plugin:blueocean-bitbucket-pipeline, Plugin:blueocean-commons, Plugin:blueocean-config, Plugin:blueocean-dashboard, Plugin:blueocean-display-url, Plugin:blueocean-events, Plugin:blueocean-git-pipeline, Plugin:blueocean-github-pipeline, Plugin:blueocean-i18n, Plugin:blueocean-jira, Plugin:blueocean-jwt, Plugin:blueocean-personalization, Plugin:blueocean-pipeline-api-impl, Plugin:blueocean-pipeline-editor, Plugin:blueocean-pipeline-scm-api, Plugin:blueocean-rest-impl, Plugin:blueocean-rest, Plugin:blueocean-web, Plugin:blueocean, Plugin:bouncycastle-api, Plugin:branch-api, Plugin:build-monitor-plugin, Plugin:build-name-setter, Plugin:build-pipeline-plugin, Plugin:build-publisher, Plugin:build-time-blame, Plugin:build-timeout, Plugin:build-user-vars-plugin, Plugin:checkstyle, Plugin:cloudbees-bitbucket-branch-source, Plugin:cloudbees-folder, Plugin:collapsing-console-sections, Plugin:conditional-buildstep, Plugin:config-file-provider, Plugin:copyartifact, Plugin:create-fingerprint, Plugin:credentials-binding, Plugin:credentials, Plugin:cucumber-reports, Plugin:custom-tools-plugin, Plugin:description-setter, Plugin:display-url-api, Plugin:docker-commons, Plugin:docker-workflow, Plugin:dos-trigger, Plugin:durable-task, Plugin:email-ext-recipients-column, Plugin:email-ext, Plugin:emailext-template, Plugin:emotional-jenkins-plugin, Plugin:envinject, Plugin:extended-choice-parameter, Plugin:external-monitor-job, Plugin:external-workspace-manager, Plugin:extra-tool-installers, Plugin:favorite, Plugin:flexible-publish, Plugin:git-client, Plugin:git-server, Plugin:git, Plugin:github-api, Plugin:github-branch-source, Plugin:github-organization-folder, Plugin:github, Plugin:global-build-stats, Plugin:global-variable-string-parameter, Plugin:gradle, Plugin:greenballs, Plugin:handlebars, Plugin:htmlpublisher, Plugin:icon-shim, Plugin:ivy, Plugin:jackson2-api, Plugin:javadoc, Plugin:jenkins-jira-issue-updater, Plugin:jira-ext, Plugin:jira, Plugin:JiraTestResultReporter, Plugin:job-restrictions, Plugin:jobConfigHistory, Plugin:jquery-detached, Plugin:jquery, Plugin:jsch, Plugin:junit-realtime-test-reporter, Plugin:junit, Plugin:ldap, Plugin:ldapemail, Plugin:log-parser, Plugin:mailer, Plugin:managed-scripts, Plugin:mapdb-api, Plugin:matrix-auth, Plugin:matrix-project, Plugin:maven-plugin, Plugin:mercurial, Plugin:metrics, Plugin:momentjs, Plugin:msbuild, Plugin:multiple-scms, Plugin:nexus-artifact-uploader, Plugin:nexus-jenkins-plugin, Plugin:nodejs, Plugin:nunit, Plugin:pam-auth, Plugin:parameterized-trigger, Plugin:periodicbackup, Plugin:pipeline-build-step, Plugin:pipeline-github-lib, Plugin:pipeline-graph-analysis, Plugin:pipeline-input-step, Plugin:pipeline-milestone-step, Plugin:pipeline-model-api, Plugin:pipeline-model-declarative-agent, Plugin:pipeline-model-definition, Plugin:pipeline-model-extensions, Plugin:pipeline-multibranch-defaults, Plugin:pipeline-rest-api, Plugin:pipeline-stage-step, Plugin:pipeline-stage-tags-metadata, Plugin:pipeline-stage-view, Plugin:plain-credentials, Plugin:pollscm, Plugin:postbuild-task, Plugin:powershell, Plugin:preSCMbuildstep, Plugin:publish-over-cifs, Plugin:pubsub-light, Plugin:python, Plugin:rake, Plugin:resource-disposer, Plugin:role-strategy, Plugin:run-condition, Plugin:scm-api, Plugin:scm-sync-configuration, Plugin:script-security, Plugin:sidebar-link, Plugin:simple-theme-plugin, Plugin:sse-gateway, Plugin:ssh-credentials, Plugin:ssh-slaves, Plugin:ssh, Plugin:started-by-envvar, Plugin:statistics-gatherer, Plugin:structs, Plugin:subversion, Plugin:test-results-analyzer, Plugin:tfs, Plugin:throttle-concurrents, Plugin:timestamper, Plugin:token-macro, Plugin:toolenv, Plugin:variant, Plugin:vsts-cd, Plugin:windows-slaves, Plugin:workflow-aggregator, Plugin:workflow-api, Plugin:workflow-basic-steps, Plugin:workflow-cps-global-lib, Plugin:workflow-cps, Plugin:workflow-durable-task-step, Plugin:workflow-job, Plugin:workflow-multibranch, Plugin:workflow-scm-step, Plugin:workflow-step-api, Plugin:workflow-support, Plugin:ws-cleanup, Plugin:xunit]
          Hide
          cpatel Chirag added a comment - - edited

          anyone know of a fix for this issue? we recently started seeing the same behavior on jenkins version 2.270. although, i am kinda concerned that the latest i can download from jenkins.io is 2.270 and im seeing people from 3 years ago saying they were already on 2.73. im not using BlueOcean and I even made sure to update all plugins. but same issue. i can create a job. but when i try to add anything to the configuration and save it, it wipes it clean. but no error is presented. 

          Show
          cpatel Chirag added a comment - - edited anyone know of a fix for this issue? we recently started seeing the same behavior on jenkins version 2.270. although, i am kinda concerned that the latest i can download from jenkins.io is 2.270 and im seeing people from 3 years ago saying they were already on 2.73. im not using BlueOcean and I even made sure to update all plugins. but same issue. i can create a job. but when i try to add anything to the configuration and save it, it wipes it clean. but no error is presented. 
          Hide
          0k00l Sebastian Willdo added a comment - - edited

          I have same error like Chirag, nothing is present in error window as shown in attachment

          Should I open new error?

          Show
          0k00l Sebastian Willdo added a comment - - edited I have same error like Chirag , nothing is present in error window as shown in attachment Should I open new error?
          Hide
          0k00l Sebastian Willdo added a comment -

          After saving main configuration (Manage Jenkins) i'm able to save job config ... weird

          Show
          0k00l Sebastian Willdo added a comment - After saving main configuration (Manage Jenkins) i'm able to save job config ... weird

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            znerd Ernst de Haan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: