Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
v1.5.4.1
-
None
Description
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:
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)
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
Attachments
Issue Links
- duplicates
-
KYLIN-2078 Can't see generated SQL at Web UI
- Closed