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

Dayue Gao commented on KYLIN-2074:
----------------------------------

I think it's duplicated to KYLIN-2078, which I'm going to fix, probably without 
front-end changes.

> 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: Zhong,Jason
>            Priority: Minor
>
> 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)

Reply via email to