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

exception in update metrics when the response is null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.6.5, v3.1.0, v3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      when something error in sql query, the response‘s cube and results is null, which cause an exception.

      // code placeholder
      service.QueryService:432 : Write metric error.java.lang.NullPointerException        at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:158)        at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetrics(QueryMetricsFacade.java:77)
      
      // code placeholder
      service.QueryService:432 : Write metric error.java.lang.NullPointerException        at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:89)  
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zhoukangcn ZhouKang
                Reporter:
                zhoukangcn ZhouKang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: