[JIRA] Commented: (HUDSON-7738) Gerrit notification issue due to parameter extraction failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7738) Gerrit notification issue due to parameter extraction failure

Kohsuke Kawaguchi
Administrator

    [ http://issues.hudson-ci.org/browse/HUDSON-7738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144525#action_144525 ]

rsandell commented on HUDSON-7738:
----------------------------------

Yes it should. Can the reporter of this issue please verify that?

> Gerrit notification issue due to parameter extraction failure
> -------------------------------------------------------------
>
>                 Key: HUDSON-7738
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7738
>             Project: Hudson
>          Issue Type: Bug
>          Components: gerrit-trigger
>    Affects Versions: current
>         Environment: Hudson 1.376 installed on CentOS 5.2, git version 1.7.x, gerrit 2.1.5
>            Reporter: grome
>            Assignee: rsandell
>
> ----
> 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

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira