You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Karthiek (JIRA)" <ji...@apache.org> on 2015/07/27 21:34:04 UTC

[jira] [Created] (HELIX-607) NPE while deleting a job from recurrent job queue

Karthiek created HELIX-607:
------------------------------

             Summary: 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


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)