You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/23 13:18:00 UTC

[jira] [Commented] (KYLIN-3609) NPE from QueryMetricsFacade#updateMetricsToReservoir

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

ASF subversion and git services commented on KYLIN-3609:
--------------------------------------------------------

Commit 7f1679339643983c39c4b1a0fa28f4eb6cb59c45 in kylin's branch refs/heads/master from Alexander Sidorchuk
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7f16793 ]

KYLIN-3609 KYLIN-3409 KYLIN-4161 CubeSegmentStatisticsMap exist only on OLAPQuery.EnumeratorTypeEnum.OLAP query type. (#942)



> 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
(v8.3.4#803005)