[
https://issues.jenkins-ci.org/browse/JENKINS-12002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sogabe resolved JENKINS-12002.
------------------------------
Resolution: Duplicate
> NPE when saving global config
> -----------------------------
>
> Key: JENKINS-12002
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12002
> Project: Jenkins
> Issue Type: Bug
> Components: maven-repo-cleaner
> Environment: Jenkins 1.442
> Winstone
> Reporter: Christopher Orr
>
> 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.
> {noformat}
> 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)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira