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

exception in update metrics when the response is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v2.6.5, v3.1.0, v3.0.1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: