Gerrit notification issue due to parameter extraction failure

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable


      11 oct. 2010 12:52:19 com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted
      INFO: Completed. Build: Kernel #9 Cause: GerritCause: PatchsetCreated: Change: 153 PatchSet: 1 silent: false
      11 oct. 2010 12:52:19 com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted
      INFO: All Builds are completed for cause: GerritCause: PatchsetCreated: Change: 153 PatchSet: 1 silent: false


      11 oct. 2010 12:52:19 com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ParameterExpander expandParameters
      GRAVE: Failed to expand env vars into gerrit cmd. Gerrit won't be notified!!


      java.lang.NullPointerException
      at hudson.model.Run.getEnvironment(Run.java:1673)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:682)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ParameterExpander.expandParameters(ParameterExpander.java:210)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ParameterExpander.getBuildCompletedCommand(ParameterExpander.java:355)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.GerritNotifier.buildCompleted(GerritNotifier.java:100)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.job.BuildCompletedCommandJob.run(BuildCompletedCommandJob.java:63)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)
      11 oct. 2010 12:52:19 com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.GerritNotifier buildCompleted
      GRAVE: Something wrong during parameter extraction. Gerrit will not be notified of BuildCompleted

            Assignee:
            rsandell
            Reporter:
            Gregory
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: