Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2074

Error happens when click the "SQL" section of cube

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • v1.5.4.1
    • v1.6.0
    • REST Service
    • 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

          Activity

            People

              shaofengshi Shao Feng Shi
              shaofengshi Shao Feng Shi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: