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/03/15 18:03:41 UTC
[jira] [Created] (KYLIN-2510) Unintended NPE in
CubeMetaExtractor#requireProject()
Ted Yu created KYLIN-2510:
-----------------------------
Summary: 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
Priority: Minor
{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)