helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei Xia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-607) NPE while deleting a job from recurrent job queue
Date Thu, 17 Nov 2016 17:46:00 GMT

     [ https://issues.apache.org/jira/browse/HELIX-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lei Xia updated HELIX-607:
--------------------------
    Assignee: Junkai Xue

> NPE while deleting a job from recurrent job queue
> -------------------------------------------------
>
>                 Key: HELIX-607
>                 URL: https://issues.apache.org/jira/browse/HELIX-607
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Karthiek
>            Assignee: Junkai Xue
>
> Steps to reproduce:
> - Create a recurrent job queue
> - Pause the queue
> - Add a job to the queue
> - Delete the job
> We hit a NullPointerException.
> java.lang.NullPointerException
>         at org.apache.helix.task.TaskDriver.deleteJob(TaskDriver.java:300)
> TaskDriver expects WorkflowContext to be not null. But if the recurrent queue is not
scheduled even once, WorkflowContext will be null. This case is handled in non-recurrent workflow,
but not for recurrent ones.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message