This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new 5fd125e KYLIN-4603 listjobs check cache null 5fd125e is described below commit 5fd125e320e783eff7358fc1b8b2204fde4afdbc Author: chuxiao <chux...@didichuxing.com> AuthorDate: Thu Jun 11 11:49:25 2020 +0800 KYLIN-4603 listjobs check cache null --- .../src/main/java/org/apache/kylin/rest/service/JobService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java b/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java index 2f42410..6ed46bb 100644 --- a/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java +++ b/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java @@ -1229,6 +1229,9 @@ public class JobService extends BasicService implements InitializingBean { try { ExecutableOutputPO executableOutputPO = allExecutableOutputPO .get(executable.getId()); + if (executableOutputPO == null) { + return false; + } ExecutableState state = ExecutableState.valueOf(executableOutputPO.getStatus()); return statusList.contains(state);