• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • other
    • None

      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:

          [JENKINS-44907] Jenkins 2.63: Cannot Save Any Configuration

          Sebastian Willdo added a comment - - edited

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

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

          sikandar added a comment - - edited

          Hello Guys,

          Specifically, cpatel  0k00l  is this issue resolved at your side?

          I upgrade my Jenkins deployment to 2.264 since then all of my existing/new FreeStyle Project jobs are not saving. When I click SAVE nothing happens, when Apply is clicked then an empty screen appears with the title Error (as attached by Sebastian)

          However, my Pipelines projects are saving properly.

          This is very confusing state, this deployment is used by a team of 25 people, we create new job after every release. I am afraid we would be stuck if no permanent solution is found.

          Need your guy's help to get it through!

          sikandar added a comment - - edited Hello Guys, Specifically, cpatel   0k00l   is this issue resolved at your side? I upgrade my Jenkins deployment to 2.264 since then all of my existing/new FreeStyle Project jobs are not saving. When I click SAVE nothing happens, when Apply is clicked then an empty screen appears with the title Error (as attached by Sebastian) However, my Pipelines projects are saving properly. This is very confusing state, this deployment is used by a team of 25 people, we create new job after every release. I am afraid we would be stuck if no permanent solution is found. Need your guy's help to get it through!

          Chirag added a comment -

          xikandar

          No on my end, i submitted a new issue as well. we've slowly upgraded to 2.263 and it works fine in that version so we are staying put until the next version is released. we had to setup a new server and jenkins instance to test releases before downloading to our main instance so we dont have to keep restoring. 

          Chirag added a comment - xikandar No on my end, i submitted a new issue as well. we've slowly upgraded to 2.263 and it works fine in that version so we are staying put until the next version is released. we had to setup a new server and jenkins instance to test releases before downloading to our main instance so we dont have to keep restoring. 

          Hello All,

           

          I am also facing the same issue .

          i have update my Jenkins version to Jenkins 2.277.3 still have the issue whats the solution for this ?.

           

          configurations are not getting saved i cant add or update any configs its a big issue for me to make any changes can some one please help to get this fixed ?

          Mukesh Venkatesh added a comment - Hello All,   I am also facing the same issue . i have update my Jenkins version to Jenkins 2.277.3  still have the issue whats the solution for this ?.   configurations are not getting saved i cant add or update any configs its a big issue for me to make any changes can some one please help to get this fixed ?

          xikandar Hi, problem is not solved - some projects can be saved, and some not. Don't know why - some versions ago every project worked.

          Sebastian Willdo added a comment - xikandar Hi, problem is not solved - some projects can be saved, and some not. Don't know why - some versions ago every project worked.

          Patrick added a comment -

          Jenkins 2.277.4. I'm having this problem as well. I use freestyle projects and cannot save changes to any of them. I'm not getting the error screen as shown in the ticket description above. It just doesn't do anything at all when I click Save. It doesn't log anything to the jenkins.err.log. There are errors in my browser console log when I click Configure on the freestyle project. Could they be related? There are no errors when clicking Save though. 

          Here are the errors from my Chrome browser log:

           

           

          Patrick added a comment - Jenkins 2.277.4. I'm having this problem as well. I use freestyle projects and cannot save changes to any of them. I'm not getting the error screen as shown in the ticket description above. It just doesn't do anything at all when I click Save. It doesn't log anything to the jenkins.err.log. There are errors in my browser console log when I click Configure on the freestyle project. Could they be related? There are no errors when clicking Save though.  Here are the errors from my Chrome browser log:    

          Patrick added a comment -

          Update: I've resolved my issue by updating the Artifactory plugin. I was on version 3.4.1 and am now on 3.10.6. 

          I noticed before I updated that when I'd edit my projects, the configuration had a large section of Artifactory options and repeated the exact same section three times. These particular projects don't even use Artifactory. When I updated the plugin, those sections were gone from the configuration screen and I was able to save changes.

           

          Patrick added a comment - Update: I've resolved my issue by updating the Artifactory plugin. I was on version 3.4.1 and am now on 3.10.6.  I noticed before I updated that when I'd edit my projects, the configuration had a large section of Artifactory options and repeated the exact same section three times. These particular projects don't even use Artifactory. When I updated the plugin, those sections were gone from the configuration screen and I was able to save changes.  

          Robert Hadjiyski added a comment - - edited

          Same Jenkins 2.289.1,
          new Maven Project - click on "Save" - nothing, click on "Apply" - nothing
          edit existing Maven project — click on "Save" - nothing, click on "Apply" - empty error-pop-up window.
          Pipeline projects not affected.

          Robert Hadjiyski added a comment - - edited Same Jenkins 2.289.1, new Maven Project - click on "Save" - nothing, click on "Apply" - nothing edit existing Maven project — click on "Save" - nothing, click on "Apply" - empty error-pop-up window. Pipeline projects not affected.

          Sebastian Willdo added a comment - hadjiyski Check this one: https://issues.jenkins.io/browse/JENKINS-65913

          Confirmed, deprecated steps exist.

          Robert Hadjiyski added a comment - Confirmed, deprecated steps exist.

            mukeshyougi Mukesh Venkatesh
            znerd Ernst de Haan
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: