You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Lei Xia (JIRA)" <ji...@apache.org> on 2016/11/17 17:46:59 UTC

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

    [ https://issues.apache.org/jira/browse/HELIX-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674340#comment-15674340 ] 

Lei Xia commented on HELIX-607:
-------------------------------

[~dasahcc] could you verify if this is still an issue?

> 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)