You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/11/08 16:37:58 UTC

[jira] [Created] (KYLIN-2172) Potential NPE in ExecutableManager#updateJobOutput

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)