[ https://issues.apache.org/jira/browse/KYLIN-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319810#comment-17319810 ]
ASF subversion and git services commented on KYLIN-4962: -------------------------------------------------------- Commit 69368b08a770f6e54c4ecf43c538331e13cb03b2 in kylin's branch refs/heads/master from zhengshengjun [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=69368b0 ] KYLIN-4962 Fix NPE in ShrunkDict step > Fix NPE in ShrunkDict step > -------------------------- > > Key: KYLIN-4962 > URL: https://issues.apache.org/jira/browse/KYLIN-4962 > Project: Kylin > Issue Type: Bug > Components: Job Engine > Affects Versions: v3.1.2 > Reporter: ShengJun Zheng > Assignee: ShengJun Zheng > Priority: Critical > Fix For: v3.1.2 > > > There are some fields in CreateShrunkenDictionary(a spark function) that can > not be serialized, causing NPE. > > Caused by: java.lang.NullPointerException > at org.apache.kylin.common.KylinConfig.getManager(KylinConfig.java:474) > at org.apache.kylin.common.KylinConfig.getManager(KylinConfig.java:472) > at org.apache.kylin.cube.CubeDescManager.getInstance(CubeDescManager.java:67) > at org.apache.kylin.cube.CubeInstance.getDescriptor(CubeInstance.java:212) > at org.apache.kylin.cube.CubeSegment.getCubeDesc(CubeSegment.java:142) > at > org.apache.kylin.cube.CubeSegment.buildGlobalDictionaryMap(CubeSegment.java:386) > at > org.apache.kylin.engine.spark.SparkCubingByLayer$CreateShrunkenDictionary.call(SparkCubingByLayer.java:592) > at > org.apache.kylin.engine.spark.SparkCubingByLayer$CreateShrunkenDictionary.call(SparkCubingByLayer.java:519) -- This message was sent by Atlassian Jira (v8.3.4#803005)