You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yichen Zhou (JIRA)" <ji...@apache.org> on 2018/09/25 01:22:00 UTC

[jira] [Commented] (KYLIN-3587) Null value is used in IllegalStateException message

    [ https://issues.apache.org/jira/browse/KYLIN-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626654#comment-16626654 ] 

Yichen Zhou commented on KYLIN-3587:
------------------------------------

I will fix this.

> Null value is used in IllegalStateException message
> ---------------------------------------------------
>
>                 Key: KYLIN-3587
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3587
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Yichen Zhou
>            Priority: Minor
>
> In ProjectManager :
> {code}
>                 TableDesc table = metaMgr.getTableDesc(tableId, projectName);
>                 if (table == null) {
>                     throw new IllegalStateException("Cannot find table '" + table + "' in metadata manager");
> {code}
> Since table is null, the exception message is not helpful.
> It seems including tableId in the message is better.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)