[
https://issues.apache.org/jira/browse/KYLIN-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317353#comment-17317353
]
ASF GitHub Bot commented on KYLIN-4962:
---------------------------------------
coveralls commented on pull request #1623:
URL: https://github.com/apache/kylin/pull/1623#issuecomment-815989220
## Pull Request Test Coverage Report for [Build
7039](https://coveralls.io/builds/38648909)
* **0** of **20** **(0.0%)** changed or added relevant lines in **1**
file are covered.
* **3** unchanged lines in **2** files lost coverage.
* Overall coverage increased (+**0.003%**) to **28.094%**
---
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
| :-----|--------------|--------|---: |
|
[engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubingByLayer.java](https://coveralls.io/builds/38648909/source?filename=engine-spark%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fengine%2Fspark%2FSparkCubingByLayer.java#L202)
| 0 | 20 | 0.0%
<!-- | **Total:** | **0** | **20** | **0.0%** | -->
| Files with Coverage Reduction | New Missed Lines | % |
| :-----|--------------|--: |
|
[stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/GeneralColumnDataReader.java](https://coveralls.io/builds/38648909/source?filename=stream-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fstream%2Fcore%2Fstorage%2Fcolumnar%2FGeneralColumnDataReader.java#L43)
| 1 | 92.11% |
|
[engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubingByLayer.java](https://coveralls.io/builds/38648909/source?filename=engine-spark%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fengine%2Fspark%2FSparkCubingByLayer.java#L540)
| 2 | 0% |
<!-- | **Total:** | **3** | | -->
| Totals | [](https://coveralls.io/builds/38648909)
|
| :-- | --: |
| Change from base [Build 7032](https://coveralls.io/builds/38574273): |
0.003% |
| Covered Lines: | 26715 |
| Relevant Lines: | 95091 |
---
##### 💛 - [Coveralls](https://coveralls.io)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> 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)