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

NPE when releasing a build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: release-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Build Plugin 1.3 installed on Hudson 1.301

      When I click on the "Release" link in a job I get the following stacktrace:

      javax.servlet.ServletException: java.lang.NullPointerException
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:498)
      org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:318)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:186)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
      org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
      hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)

      Root Cause:

      java.lang.NullPointerException
      hudson.plugins.release.ReleaseWrapper$ReleaseAction.doSubmit(ReleaseWrapper.java:313)
      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:160)
      org.kohsuke.stapler.Function.bindAndInvoke(Function.java:76)
      org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:318)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:186)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
      org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
      hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)

        Attachments

          Activity

          Hide
          dirkolmes dirkolmes added a comment -

          An update to Hudson 1.304 did not help

          Show
          dirkolmes dirkolmes added a comment - An update to Hudson 1.304 did not help
          Hide
          petehayes Peter Hayes added a comment -

          I see the issue. I will release a fix asap.

          Show
          petehayes Peter Hayes added a comment - I see the issue. I will release a fix asap.
          Hide
          petehayes Peter Hayes added a comment -

          Checked for null list of parameters.

          Show
          petehayes Peter Hayes added a comment - Checked for null list of parameters.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : petehayes
          Path:
          trunk/hudson/plugins/release/src/main/java/hudson/plugins/release/ReleaseWrapper.java
          trunk/hudson/plugins/release/src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly
          http://fisheye4.cenqua.com/changelog/hudson/?cs=18150
          Log:
          JENKINS-3690 Checked for null list of parameters

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : petehayes Path: trunk/hudson/plugins/release/src/main/java/hudson/plugins/release/ReleaseWrapper.java trunk/hudson/plugins/release/src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly http://fisheye4.cenqua.com/changelog/hudson/?cs=18150 Log: JENKINS-3690 Checked for null list of parameters

            People

            • Assignee:
              petehayes Peter Hayes
              Reporter:
              dirkolmes dirkolmes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: