[ https://issues.apache.org/jira/browse/KYLIN-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Li resolved KYLIN-2510. ---------------------------- Resolution: Fixed Assignee: Dong Li Fix Version/s: v2.0.0 > Unintended NPE in CubeMetaExtractor#requireProject() > ---------------------------------------------------- > > Key: KYLIN-2510 > URL: https://issues.apache.org/jira/browse/KYLIN-2510 > Project: Kylin > Issue Type: Bug > Reporter: Ted Yu > Assignee: Dong Li > Priority: Minor > Fix For: v2.0.0 > > > {code} > private void requireProject(ProjectInstance projectInstance) throws > IOException { > if (projectInstance == null) { > throw new IllegalArgumentException("Project " + > projectInstance.getName() + " does not exist"); > } > {code} > When projectInstance is null, projectInstance.getName() would produce NPE > which is unintended. -- This message was sent by Atlassian JIRA (v6.3.15#6346)