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)

Reply via email to