You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "XiaoXiang Yu (JIRA)" <ji...@apache.org> on 2019/04/17 11:52:00 UTC
[jira] [Closed] (KYLIN-3609) NPE from
QueryMetricsFacade#updateMetricsToReservoir
[ https://issues.apache.org/jira/browse/KYLIN-3609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XiaoXiang Yu closed KYLIN-3609.
-------------------------------
Resolution: Cannot Reproduce
> NPE from QueryMetricsFacade#updateMetricsToReservoir
> ----------------------------------------------------
>
> Key: KYLIN-3609
> URL: https://issues.apache.org/jira/browse/KYLIN-3609
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: XiaoXiang Yu
> Priority: Minor
>
> When running test suite, I saw the following in test output:
> {code}
> 2018-10-02 20:59:20,415 WARN [Query c8f42f2e-8c77-2bfc-97ab-053fbeb7c86e-1] service.QueryService:423 : Write metric error.
> java.lang.NullPointerException
> at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:148)
> at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetrics(QueryMetricsFacade.java:74)
> at org.apache.kylin.rest.service.QueryService.recordMetric(QueryService.java:505)
> at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:421)
> at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:353)
> at org.apache.kylin.rest.controller.QueryController.query(QueryController.java:87)
> at org.apache.kylin.rest.controller.QueryControllerTest.testQueryException(QueryControllerTest.java:63)
> {code}
> It seems sqlResponse.getResults() returned null.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)