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

NPE when saving global config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 1.442
      Winstone

      lpe in IRC reported this stack trace when saving the global job configuration.

      The "Schedule" field was empty. He said adding a space to the Schedule field fixed the problem.

      Status Code: 500
      Exception:
      Stacktrace:
      
      java.lang.NullPointerException
      	at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerProperty$DescriptorImpl.configure(MavenRepoCleanerProperty.java:99)
      	at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2560)
      	at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2523)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	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:104)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      

            Unassigned Unassigned
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: