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 2017/01/09 16:37:58 UTC
[jira] [Updated] (KYLIN-2268) Potential NPE in
ModelDimensionDesc#init()
[ https://issues.apache.org/jira/browse/KYLIN-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated KYLIN-2268:
--------------------------
Description:
{code}
if (columns != null) {
StringUtil.toUpperCaseArray(columns, columns);
}
if (model != null) {
table = model.findTable(table).getAlias();
for (int i = 0; i < columns.length; i++) {
{code}
In the second if block, columns is accessed without null check.
was:
{code}
if (columns != null) {
StringUtil.toUpperCaseArray(columns, columns);
}
if (model != null) {
table = model.findTable(table).getAlias();
for (int i = 0; i < columns.length; i++) {
{code}
In the second if block, columns is accessed without null check.
> Potential NPE in ModelDimensionDesc#init()
> ------------------------------------------
>
> Key: KYLIN-2268
> URL: https://issues.apache.org/jira/browse/KYLIN-2268
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> if (columns != null) {
> StringUtil.toUpperCaseArray(columns, columns);
> }
> if (model != null) {
> table = model.findTable(table).getAlias();
> for (int i = 0; i < columns.length; i++) {
> {code}
> In the second if block, columns is accessed without null check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)