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

Unable to modify the job configurations in Jenkins 1.533 , getting the below given exception

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      Mar 04, 2019 9:00:16 AM winstone.Logger logInternal  SEVERE: Error while serving http://rscjnkpr01.darden.com:8080/static/61528dc7/images/16x16/.png  java.lang.reflect.InvocationTargetException            at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)            at java.lang.reflect.Method.invoke(Unknown Source)            at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)            at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)            at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:379)            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)            at org.kohsuke.stapler.Stapler.service(Stapler.java:218)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)            at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)            at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)            at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)            at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:46)            at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:103)            at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:42)            at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)            at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)            at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)            at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)            at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)            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 org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)            at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)            at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)            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:76)            at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)            at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)            at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)            at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)            at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)            at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)            at java.util.concurrent.FutureTask.run(Unknown Source)            at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)            at java.lang.Thread.run(Unknown Source)  Caused by: java.lang.NoSuchMethodError: hudson.ExtensionList.lookup(Ljava/lang/Class;)Lhudson/ExtensionList;            at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.get(ScriptApproval.java:97)            at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink.getUrlName(ScriptApprovalLink.java:45)            at jenkins.model.Jenkins.getDynamic(Jenkins.java:2708) 
      

        Attachments

          Activity

          Hide
          sureshkumar_s Suresh Kumar Shanmugam added a comment -

          can someone please help us on this issue? if more information needed , Please let us know .

          Thanks,
          Suresh

          Show
          sureshkumar_s Suresh Kumar Shanmugam added a comment - can someone please help us on this issue? if more information needed , Please let us know . Thanks, Suresh
          Hide
          gtoyang Yang Yan added a comment -

          Hi, Can you check all the settings are done in 'Configure systems'? Please do it before modifying the job configuration. I meet one similar issue and fixed by configure system correctly.

          Show
          gtoyang Yang Yan added a comment - Hi, Can you check all the settings are done in 'Configure systems'? Please do it before modifying the job configuration. I meet one similar issue and fixed by configure system correctly.
          Hide
          sureshkumar_s Suresh Kumar Shanmugam added a comment -

          Hi Yang - will check and let you know , thanks!

          Show
          sureshkumar_s Suresh Kumar Shanmugam added a comment - Hi Yang - will check and let you know , thanks!
          Hide
          sureshkumar_s Suresh Kumar Shanmugam added a comment -

          we did not change anything in the Systems configuration and is all fine, only change was the plugin update which was reverted back

          Thanks,
          Suresh

          Show
          sureshkumar_s Suresh Kumar Shanmugam added a comment - we did not change anything in the Systems configuration and is all fine, only change was the plugin update which was reverted back Thanks, Suresh
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Suresh Kumar Shanmugam Please provide the Jenkins Core and Script Security Plugin versions. Most likely you have installed an incompatible plugin version to the old Jenkins core.

           

          CC Devin Nusbaum just in case I am wrong

           

          Show
          oleg_nenashev Oleg Nenashev added a comment - Suresh Kumar Shanmugam Please provide the Jenkins Core and Script Security Plugin versions. Most likely you have installed an incompatible plugin version to the old Jenkins core.   CC Devin Nusbaum just in case I am wrong  
          Hide
          sureshkumar_s Suresh Kumar Shanmugam added a comment - - edited

          Hi Oleg - You are right, Team tried to update the plugin and ended up in this . Currently there is no access to check the version

          Thanks,
          Suresh

          Show
          sureshkumar_s Suresh Kumar Shanmugam added a comment - - edited Hi Oleg - You are right, Team tried to update the plugin and ended up in this . Currently there is no access to check the version Thanks, Suresh
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Taking your Jenkins master version (1.533), I will go ahead and close it as not a defect for now. There is no recent script-security plugin supporting such old version (almost 5 years?)

          I suggest updating your Jenkins. If you care about security on your instance, you should not really be using such old core version

          Show
          oleg_nenashev Oleg Nenashev added a comment - Taking your Jenkins master version (1.533), I will go ahead and close it as not a defect for now. There is no recent script-security plugin supporting such old version (almost 5 years?) I suggest updating your Jenkins. If you care about security on your instance, you should not really be using such old core version

            People

            • Assignee:
              Unassigned
              Reporter:
              sureshkumar_s Suresh Kumar Shanmugam
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: