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

1.474 breaks adding a list-view to sectioned-view plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      Win7-64bit, all used plugins current
    • Similar Issues:

      Description

      I just wanted to add another list-view section in a sectioned view
      existing for some time now. I am using Jenkins 1.474, all plugins
      latest. As the sectioned view plugin was updated last year I suspect
      that there broke something in Jenkins core because downgrading Jenkins to 1.473 makes the bug disappear, so my guess is that it is a core issue?!

      This is the stack trace I get when trying to save the edited sectioned-view:

      Status Code: 500

      Exception: net.sf.json.JSONException: JSONObject["useincluderegex"] is
      not a JSONObject.
      Stacktrace:
      javax.servlet.ServletException: net.sf.json.JSONException:
      JSONObject["useincluderegex"] is not a JSONObject.
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      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:95)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:175)
      at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      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:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      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:66)
      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:50)
      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:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      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: net.sf.json.JSONException: JSONObject["useincluderegex"] is
      not a JSONObject.
      at net.sf.json.JSONObject.getJSONObject(JSONObject.java:1759)
      at hudson.plugins.sectioned_view.SectionedViewSectionDescriptor.newInstance(SectionedViewSectionDescriptor.java:60)
      at hudson.plugins.sectioned_view.ListViewSection$DescriptorImpl.newInstance(ListViewSection.java:91)
      at hudson.plugins.sectioned_view.ListViewSection$DescriptorImpl.newInstance(ListViewSection.java:86)
      at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:912)
      at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:899)
      at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
      at hudson.plugins.sectioned_view.SectionedView.submit(SectionedView.java:148)
      at hudson.model.View.doConfigSubmit(View.java:737)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.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:288)
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:28)
      at org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:389)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      ... 70 more

        Attachments

          Issue Links

            Activity

            Hide
            bruce Dirk Kuypers added a comment -

            I can confirm that 1.477 fixes the problem. Thanks to everyone involved for the fast fix.

            Show
            bruce Dirk Kuypers added a comment - I can confirm that 1.477 fixes the problem. Thanks to everyone involved for the fast fix.
            Hide
            xiaopan3322 Bao Xiaopan(Bob) added a comment -

            This problem has been fixed in 1.477 version, and it has been release on Aug.8

            Show
            xiaopan3322 Bao Xiaopan(Bob) added a comment - This problem has been fixed in 1.477 version, and it has been release on Aug.8
            Hide
            tbingaman Timothy Bingaman added a comment -

            yes, the delete button problem is the same issue, so it should also be fixed in the next Jenkins release (v1.477)

            Show
            tbingaman Timothy Bingaman added a comment - yes, the delete button problem is the same issue, so it should also be fixed in the next Jenkins release (v1.477)
            Hide
            xiaopan3322 Bao Xiaopan(Bob) added a comment -

            Thx very much, I will close another ticket rised by me... hope this version can be released as soon as possible.
            and btw, it also can not delete the session when you click the "delete session" button, do you also know this problem? can this problem also be fixed in new version?

            Show
            xiaopan3322 Bao Xiaopan(Bob) added a comment - Thx very much, I will close another ticket rised by me... hope this version can be released as soon as possible. and btw, it also can not delete the session when you click the "delete session" button, do you also know this problem? can this problem also be fixed in new version?
            Hide
            tbingaman Timothy Bingaman added a comment -

            If it really is related to the linked issues, then it has already been fixed, but not yet released. The associated fix is scheduled for Jenkins v1.477, but I have not verified if that fix actually fixes this particular problem.

            Show
            tbingaman Timothy Bingaman added a comment - If it really is related to the linked issues, then it has already been fixed, but not yet released. The associated fix is scheduled for Jenkins v1.477, but I have not verified if that fix actually fixes this particular problem.
            Hide
            xiaopan3322 Bao Xiaopan(Bob) added a comment -

            Anybody know how to solve this problem???

            Show
            xiaopan3322 Bao Xiaopan(Bob) added a comment - Anybody know how to solve this problem???
            Hide
            lot Thorsten Löber added a comment -

            We are facing the same problem with 1.475

            Show
            lot Thorsten Löber added a comment - We are facing the same problem with 1.475
            Hide
            jglick Jesse Glick added a comment -

            Probably related to JENKINS-14514, though I have not seen the stack trace mentioned, just a failure for Add button to do anything.

            Show
            jglick Jesse Glick added a comment - Probably related to JENKINS-14514 , though I have not seen the stack trace mentioned, just a failure for Add button to do anything.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bruce Dirk Kuypers
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: