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)

Reply via email to