[ https://issues.jenkins-ci.org/browse/JENKINS-12002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160084#comment-160084 ]
Joel Beaudoin edited comment on JENKINS-12002 at 3/9/12 9:01 PM: ----------------------------------------------------------------- We are also having the same problem that every attempt to save Jenkins configuration produces this stacktrace. Thanks for the mention of the workaround (add space in schedule field) ... we were previously making changes directly to the configuration .xml's on the filesystem. Can anyone comment on a timeframe for a fix? was (Author: joelbdoin): We are also having the same problem that every attempt to save Jenkins configuration produces this stacktrace. Thanks for the mention of the workaround (add space in schedule field) and we were previously making changes directly to the configuration .xml's on the filesystem. Can anyone comment on a timeframe for a fix? > 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