-
Bug
-
Resolution: Fixed
-
Critical
-
None
After upgrading to 1.6, when my Grails jobs run, I get a NPE:
java.lang.NullPointerException at com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:155) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:480) at hudson.model.Run.run(Run.java:1434) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239)
I save my job after opening it up and saving it without changing, it now works. The config file now has an empty: useWrapper element. Your plugin should probably handle it missing without having to resave all grails jobs.