You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ZhouKang (Jira)" <ji...@apache.org> on 2020/01/20 01:31:00 UTC
[jira] [Assigned] (KYLIN-4357) NPE in drop/cancel unexist job
[ https://issues.apache.org/jira/browse/KYLIN-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ZhouKang reassigned KYLIN-4357:
-------------------------------
Assignee: ZhouKang
> 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
>
> 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)