You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/01/05 05:28:58 UTC

[jira] [Updated] (KYLIN-2074) Error happens when click the "SQL" section of cube

     [ https://issues.apache.org/jira/browse/KYLIN-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI updated KYLIN-2074:
--------------------------------
    Assignee: Shaofeng SHI  (was: Zhong,Jason)

> Error happens when click the "SQL" section of cube
> --------------------------------------------------
>
>                 Key: KYLIN-2074
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2074
>             Project: Kylin
>          Issue Type: Bug
>          Components: REST Service
>    Affects Versions: v1.5.4.1
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v1.6.0
>
>
> Qiutongxin (qiutongxin at jd.com) from mailing list reported this bug: an error thrown when click the "SQL" tab of a cube, in kylin.log there is this NPE:
> {code}
> ERROR [http-bio-8070-exec-2] controller.BasicController:44 :
> java.lang.NullPointerException
>         at org.apache.kylin.engine.EngineFactory.batchEngine(EngineFactory.java:44)
>         at org.apache.kylin.engine.EngineFactory.getJoinedFlatTableDesc(EngineFactory.java:58)
>         at org.apache.kylin.rest.controller.CubeController.getSql(CubeController.java:154)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
> Checking the REST call between web and server, the segment name be passed in the REST URL is 'null': http://localhost:7070/kylin/api/cubes/embedded_cube/segs/null/sql



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)