• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Hudson 1.337+, Sectioned View 1.5

      (Aside: There's no "sectioned-view" component in JIRA right now. See JENKINS-5109.)

      Any attempt to update a view using the Sectioned View plugin results in an exception. Views created with plugin version 1.5 and Hudson 1.318 still function. They just can't be changed through the UI.

      To reproduce, open any sectioned view, and click "OK" to save it.

      Error page in Tomcat 5.5.27:

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:527)
      org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)

      root cause

      java.lang.NullPointerException
      hudson.model.Descriptor.newInstance(Descriptor.java:351)
      hudson.plugins.sectioned_view.ListViewSection.initColumns(ListViewSection.java:84)
      hudson.plugins.sectioned_view.ListViewSection.<init>(ListViewSection.java:50)
      sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:391)
      org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:344)
      hudson.plugins.sectioned_view.SectionedViewSectionDescriptor.newInstance(SectionedViewSectionDescriptor.java:31)
      hudson.plugins.sectioned_view.ListViewSection$DescriptorImpl.newInstance(ListViewSection.java:128)
      hudson.plugins.sectioned_view.ListViewSection$DescriptorImpl.newInstance(ListViewSection.java:123)
      hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:633)
      hudson.util.DescribableList.rebuildHetero(DescribableList.java:164)
      hudson.plugins.sectioned_view.SectionedView.submit(SectionedView.java:124)
      hudson.model.View.doConfigSubmit(View.java:561)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
      org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.

          [JENKINS-5108] Sectioned View plugin views can't be updated

          oeuftete added a comment -

          The only thing that comes up in the Tomcat logs, btw, is:

          Dec 18, 2009 3:16:07 PM org.apache.tomcat.util.http.Parameters processParameters
          WARNING: Parameters: Invalid chunk ignored.

          oeuftete added a comment - The only thing that comes up in the Tomcat logs, btw, is: Dec 18, 2009 3:16:07 PM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored.

          oeuftete added a comment -

          This appears to only be a problem when the view contains a List View Section. No problems with other Section types.

          oeuftete added a comment - This appears to only be a problem when the view contains a List View Section. No problems with other Section types.

          oeuftete added a comment -

          I upgraded Hudson today to 1.339, and the sectioned view problem is still present.

          oeuftete added a comment - I upgraded Hudson today to 1.339, and the sectioned view problem is still present.

          Sorry it's taken so long, I was on vacation over xmas/new years and the lack of a Jira component for this plugin meant I wasn't seeing these issues. I've passed the component adding task to Kohsuke, so hopefully there will be one soon.

          I've never seen this issue myself (not using tomcat though), so I'll have to do some digging.

          Timothy Bingaman added a comment - Sorry it's taken so long, I was on vacation over xmas/new years and the lack of a Jira component for this plugin meant I wasn't seeing these issues. I've passed the component adding task to Kohsuke, so hopefully there will be one soon. I've never seen this issue myself (not using tomcat though), so I'll have to do some digging.

          Looks like this should affect the standard ListView as well. The method that it is failing in was copied directly from there.

          I'm assuming you must have a plugin installed which provides an additional list-view column. It seems like the way in which the columns are instantiated is non-standard.

          Can you provide me with a list of plugins you have installed in your Hudson?

          Timothy Bingaman added a comment - Looks like this should affect the standard ListView as well. The method that it is failing in was copied directly from there. I'm assuming you must have a plugin installed which provides an additional list-view column. It seems like the way in which the columns are instantiated is non-standard. Can you provide me with a list of plugins you have installed in your Hudson?

          Looks like this issue is appearing for the standard ListView as well.

          Timothy Bingaman added a comment - Looks like this issue is appearing for the standard ListView as well.

          oeuftete added a comment -

          FWIW, here are my active plugins. I don't think any of these provide an additional column.

          • Hudson Active Directory plugin 1.16
          • Hudson Analysis Utilities Plug-in 1.1
          • Audit Trail 1.4
          • Hudson build timeout plugin 1.6
          • Claim Plugin 1.6
          • Hudson Cobertura plugin 0.8.9
          • Hudson DocLinks plugin 0.2.2
          • Hudson Email Extension Plugin 2.4
          • Hudson Extended Read Permission Plugin 1.0
          • Hudson FindBugs Plug-in 4.1
          • Hudson instant-messaging plugin 1.4
          • Hudson Jabber notifier plugin 1.5
          • Hudson Locks and Latches plugin 0.5
          • Maven Integration plugin 1.339
          • Perforce Plugin 1.0.15-based private version
          • Hudson Post build task 1.6
          • Sectioned View Plugin 1.4
          • Hudson Setenv Plugin 1.1
          • Hudson Warnings Plug-in 3.1

          oeuftete added a comment - FWIW, here are my active plugins. I don't think any of these provide an additional column. Hudson Active Directory plugin 1.16 Hudson Analysis Utilities Plug-in 1.1 Audit Trail 1.4 Hudson build timeout plugin 1.6 Claim Plugin 1.6 Hudson Cobertura plugin 0.8.9 Hudson DocLinks plugin 0.2.2 Hudson Email Extension Plugin 2.4 Hudson Extended Read Permission Plugin 1.0 Hudson FindBugs Plug-in 4.1 Hudson instant-messaging plugin 1.4 Hudson Jabber notifier plugin 1.5 Hudson Locks and Latches plugin 0.5 Maven Integration plugin 1.339 Perforce Plugin 1.0.15-based private version Hudson Post build task 1.6 Sectioned View Plugin 1.4 Hudson Setenv Plugin 1.1 Hudson Warnings Plug-in 3.1

          The Claim plugin does and I believe that's the one causing the problems. The author has already fixed the issue, but no new release has been made. I've been given permission to do a release of it, so there should be a Claim plugin 1.7 available soon which should fix the issue.

          Timothy Bingaman added a comment - The Claim plugin does and I believe that's the one causing the problems. The author has already fixed the issue, but no new release has been made. I've been given permission to do a release of it, so there should be a Claim plugin 1.7 available soon which should fix the issue.

          In the meantime, disabling the Claim plugin should allow List Views and List View Sections to be created/edited.

          Timothy Bingaman added a comment - In the meantime, disabling the Claim plugin should allow List Views and List View Sections to be created/edited.

          Looks like Kohsuke has just made a better fix for this in Hudson core.
          See http://fisheye.jenkins-ci.org/changelog/Hudson/trunk/hudson?cs=25857

          Should be available in Hudson 1.342

          Timothy Bingaman added a comment - Looks like Kohsuke has just made a better fix for this in Hudson core. See http://fisheye.jenkins-ci.org/changelog/Hudson/trunk/hudson?cs=25857 Should be available in Hudson 1.342

            tbingaman Timothy Bingaman
            oeuftete oeuftete
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: