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

Xiaoxiang Yu closed KYLIN-4357.
-------------------------------

Resolved in release 3.1.0 (2020-07-03)

> NPE in drop/cancel unexist job
> ------------------------------
>
>                 Key: KYLIN-4357
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4357
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: ZhouKang
>            Assignee: ZhouKang
>            Priority: Major
>             Fix For: v3.1.0
>
>
> REST apiĀ 
>  jobs/\{uuid}/cancel
> jobs/\{uuid}/drop
> if uuid is not exist, NPE happened.
> {code:java}
> // code placeholder
> Caused by: java.lang.NullPointerException
>  at 
> org.apache.kylin.rest.util.AclEvaluate.getProjectByJob(AclEvaluate.java:51)
>  at 
> org.apache.kylin.rest.util.AclEvaluate.checkProjectOperationPermission(AclEvaluate.java:107)
>  at org.apache.kylin.rest.service.JobService.cancelJob(JobService.java:610)
>  at 
> org.apache.kylin.rest.controller.JobController.cancel(JobController.java:204)
>  ... 75 more\n
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to