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

NPE in GrailsBuilder.getTargetsToRun at start of build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • grails-plugin
    • None
    • Hudson 1.358, Grails plugin 1.3, Grails 1.2.2, OpenJDK 6, Debian Linux

      After upgrading the Grails plugin, my build fails immediately with a NPE:

      FATAL: null
      java.lang.NullPointerException
      	at com.g2one.hudson.grails.GrailsBuilder.getTargetsToRun(GrailsBuilder.java:222)
      	at com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:120)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      	at hudson.model.Build$RunnerImpl.build(Build.java:174)
      	at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      	at hudson.model.Run.run(Run.java:1241)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:122)
      

      It is configured with the following in the "Targets" input field:

      clean "test-app -coverage -nopost -xml" codenarc war
      

            jeffg2one jeffg2one
            mbetter Marcus Better
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: