Ted Yu created KYLIN-2172:
-----------------------------

             Summary: Potential NPE in ExecutableManager#updateJobOutput
                 Key: KYLIN-2172
                 URL: https://issues.apache.org/jira/browse/KYLIN-2172
             Project: Kylin
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
           if (newStatus != null && oldStatus != newStatus) {
...
        } catch (PersistentException e) {
            logger.error("error change job:" + jobId + " to " + 
newStatus.toString());
{code}
If newStatus is null and the execution got into catch block, 
newStatus.toString() would produce NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to