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

NULLPOINTER exception on build 1.395 when saving configuration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      after upgrading to 1.395 started running into this issue. right before that ..there was a crash with the promoted-build plugin when passing in "-" in the name.
      Status Code: 500

      Exception:
      Stacktrace:
      java.lang.NullPointerException
      at hudson.model.Descriptor.getJsonSafeClassName(Descriptor.java:451)
      at hudson.util.DescribableList.rebuild(DescribableList.java:144)
      at hudson.model.Project.submit(Project.java:197)
      at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:99)
      at hudson.model.Job.doConfigSubmit(Job.java:961)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:620)
      at sun.reflect.GeneratedMethodAccessor949.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
      at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:242)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:160)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:680)

      Generated by Winstone Servlet Engine v0.9.10 at Wed Feb 23 13:27:42 PST 2011

        Attachments

          Activity

          Hide
          dchenbecker Derek Chen-Becker added a comment -

          Right, but the POM on GitHub indicates that it's currently 1.402-SNAPSHOT

          Show
          dchenbecker Derek Chen-Becker added a comment - Right, but the POM on GitHub indicates that it's currently 1.402-SNAPSHOT
          Hide
          firstaudio vince villanueva added a comment -

          EUREKA!!!! it was the twitter plugin causing the problem....i removed it and now it's fine!
          Thanks Kosuhke!

          Show
          firstaudio vince villanueva added a comment - EUREKA!!!! it was the twitter plugin causing the problem....i removed it and now it's fine! Thanks Kosuhke!
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed toward 1.402.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed toward 1.402.
          Hide
          dchenbecker Derek Chen-Becker added a comment -

          Same here. Disabling the twitter plugin fixed it! Thanks!

          Show
          dchenbecker Derek Chen-Becker added a comment - Same here. Disabling the twitter plugin fixed it! Thanks!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/PluginManager.java
          core/src/main/java/hudson/diagnosis/NullIdDescriptorMonitor.java
          core/src/main/java/hudson/model/Descriptor.java
          core/src/main/java/hudson/model/Hudson.java
          core/src/main/resources/hudson/diagnosis/NullIdDescriptorMonitor/message.jelly
          core/src/main/resources/hudson/diagnosis/NullIdDescriptorMonitor/message.properties
          http://jenkins-ci.org/commit/jenkins/6694994db5aa0e50d6413fe38338c27e4123df89
          Log:
          [FIXED JENKINS-8866] Look for Descriptor.getId()==null and warn the administrator

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/PluginManager.java core/src/main/java/hudson/diagnosis/NullIdDescriptorMonitor.java core/src/main/java/hudson/model/Descriptor.java core/src/main/java/hudson/model/Hudson.java core/src/main/resources/hudson/diagnosis/NullIdDescriptorMonitor/message.jelly core/src/main/resources/hudson/diagnosis/NullIdDescriptorMonitor/message.properties http://jenkins-ci.org/commit/jenkins/6694994db5aa0e50d6413fe38338c27e4123df89 Log: [FIXED JENKINS-8866] Look for Descriptor.getId()==null and warn the administrator

            People

            • Assignee:
              Unassigned
              Reporter:
              firstaudio vince villanueva
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: