One more note...seems that if I have a Pattern-based name restriction, many of the other "Apply" buttons such as on the Edit View page throw the same error.
I am also NOT able to disable the "Restrict Project Naming" option once enabled. I can change it to use the "default" option, but I can't uncheck the option. The "Save" doesn't save it. Also the Job Import plugin bombs with a NullPointerException if I have the Pattern-based restriction on. Anyone else seeing this? javax.servlet.ServletException: java.lang.NullPointerException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:615) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) .... Caused by: java.lang.NullPointerException at org.jenkins.ci.plugins.jobimport.JobImportAction.doImport(JobImportAction.java:126) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) ... 65 more On Thu, Dec 20, 2012 at 8:38 PM, Jeff <[email protected]> wrote: > Clarification, I got the error when clicking "Apply". Clicking "Save" > seemed to work. > > > On Thu, Dec 20, 2012 at 8:36 PM, Jeff <[email protected]> wrote: > >> I'm trying to restrict job names after hitting an issue with the maven >> RPM plugin complaining that spaces were not allowed in the path. >> >> I have started with a simple regex allowing any of the characters in: >> >> [a-zA-Z0-9]+ >> >> but when I name a project such as "MyProject" (no quotes), I get a blank >> error dialog. I must me missing something simple. >> >> I'm running Jenkins 1.484 with all updated plugins. >> >> Thoughts? >> >> -- >> Jeff Vincent >> [email protected] >> See my LinkedIn profile at: >> http://www.linkedin.com/in/rjeffreyvincent >> I ♥ DropBox <http://db.tt/9O6LfBX> !! >> > > > > -- > Jeff Vincent > [email protected] > See my LinkedIn profile at: > http://www.linkedin.com/in/rjeffreyvincent > I ♥ DropBox <http://db.tt/9O6LfBX> !! > -- Jeff Vincent [email protected] See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox <http://db.tt/9O6LfBX> !!
