[
https://issues.apache.org/jira/browse/KYLIN-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150992#comment-17150992
]
ASF subversion and git services commented on KYLIN-4603:
--------------------------------------------------------
Commit 5fd125e320e783eff7358fc1b8b2204fde4afdbc in kylin's branch
refs/heads/master from chuxiao
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=5fd125e ]
KYLIN-4603 listjobs check cache null
> listjob return NPE
> ------------------
>
> Key: KYLIN-4603
> URL: https://issues.apache.org/jira/browse/KYLIN-4603
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v3.0.0-alpha
> Reporter: chuxiao
> Assignee: chuxiao
> Priority: Major
> Attachments: D-Chat_20200610181627.png
>
>
> 如题,这是cache刷新时短暂不一致导致,要跳过
> Caused by: java.lang.NullPointerException at
> org.apache.kylin.rest.service.JobService$22.apply(JobService.java:1162) at
> org.apache.kylin.rest.service.JobService$22.apply(JobService.java:1156) at
> com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343) at
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:702) at
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
> at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
> at com.google.common.collect.Lists.newArrayList(Lists.java:144) at
> com.google.common.collect.Lists.newArrayList(Lists.java:125) at
> org.apache.kylin.rest.service.JobService.innerSearchCubingJobsV2(JobService.java:1120)
> at
> org.apache.kylin.rest.service.JobService.innerSearchCubingJobsV2(JobService.java:1064)
> at
> org.apache.kylin.rest.service.JobService.searchJobsByCubeNameV2(JobService.java:1034)
> at
> org.apache.kylin.rest.service.JobService.searchJobsV2(JobService.java:996) at
> org.apache.kylin.rest.controller.JobController.list(JobController.java:86)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)