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

Gerrit notification issue due to parameter extraction failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None
    • Hudson 1.376 installed on CentOS 5.2, git version 1.7.x, gerrit 2.1.5


      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

            rsandell rsandell
            grome Gregory
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: