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

Sectioned View plugin views can't be updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: None
    • Labels:
      None
    • Environment:
      Hudson 1.337+, Sectioned View 1.5
    • Similar Issues:

      Description

      (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.

        Attachments

          Issue Links

            Activity

            Hide
            tbingaman Timothy Bingaman added a comment -

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

            Show
            tbingaman Timothy Bingaman added a comment - Looks like this issue is appearing for the standard ListView as well.
            Hide
            oeuftete 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
            Show
            oeuftete 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
            Hide
            tbingaman 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.

            Show
            tbingaman 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.
            Hide
            tbingaman Timothy Bingaman added a comment -

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

            Show
            tbingaman Timothy Bingaman added a comment - In the meantime, disabling the Claim plugin should allow List Views and List View Sections to be created/edited.
            Hide
            tbingaman 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

            Show
            tbingaman 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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: