You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/06/30 17:44:00 UTC

[jira] [Created] (KYLIN-2702) Ineffective null check in DataModelDesc#initComputedColumns()

Ted Yu created KYLIN-2702:
-----------------------------

             Summary: 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


{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)