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

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

     [ https://issues.apache.org/jira/browse/KYLIN-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liyang resolved KYLIN-2172.
---------------------------
       Resolution: Fixed
    Fix Version/s: v1.6.1

> 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
>             Fix For: v1.6.1
>
>
> {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)