You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "wangrupeng (Jira)" <ji...@apache.org> on 2019/09/08 02:06:00 UTC

[jira] [Commented] (KYLIN-4161) exception in update metrics when the response is null

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

wangrupeng commented on KYLIN-4161:
-----------------------------------

Hi,

      Could you please tell us more details about your project like your query sql, more problem logs , the description and the configuration of you cube? And you can upload  via screen shot .

> exception in update metrics when the response is null 
> ------------------------------------------------------
>
>                 Key: KYLIN-4161
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4161
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: ZhouKang
>            Priority: Major
>
> when something error in sql query, the response‘s cube and results is null, which cause an exception.
> {code:java}
> // 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}
> {code:java}
> // code placeholder
> service.QueryService:432 : Write metric error.java.lang.NullPointerException        at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:89)  
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)