Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2268

Potential NPE in ModelDimensionDesc#init()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.0.0
    • Metadata

    Description

              if (columns != null) {
                  StringUtil.toUpperCaseArray(columns, columns);
              }
      
              if (model != null) {
                  table = model.findTable(table).getAlias();
                  for (int i = 0; i < columns.length; i++) {
      

      In the second if block, columns is accessed without null check.

      Attachments

        Activity

          People

            yimingliu Billy Liu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: