You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/07/22 14:18:01 UTC
[jira] [Resolved] (KYLIN-2702) Ineffective null check in
DataModelDesc#initComputedColumns()
[ https://issues.apache.org/jira/browse/KYLIN-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI resolved KYLIN-2702.
---------------------------------
Resolution: Fixed
Fix Version/s: v2.1.0
> Ineffective null check in DataModelDesc#initComputedColumns()
> -------------------------------------------------------------
>
> Key: KYLIN-2702
> URL: https://issues.apache.org/jira/browse/KYLIN-2702
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
> Fix For: v2.1.0
>
>
> {code}
> private void initComputedColumns(Map<String, CCInfo> ccInfoMap) {
> if (ccInfoMap == null) {
> logger.error("cc info map is null");
> }
> ...
> CCInfo other = ccInfoMap.get(thisCCName);
> {code}
> Subsequent access to ccInfoMap may produce NPE.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)