Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-231

Poor error msg if use <Join> as cube's fact table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Low
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      I have this schema:

      <Cube name="Usage">
      <Join leftAlias="logs" leftKey="id"
      rightAlias="search" rightKey="id">
      <Table name="logs"/>
      <Table name="search"/>
      </Join>
      ...
      </Cube>

      Which causes this error:

      JPivot had an error ...

      org.apache.jasper.JasperException:
      javax.servlet.jsp.JspException:
      javax.servlet.jsp.JspException: Mondrian Error:Internal
      error: assert failed: todo: allow dimension which is
      not a Table or View, [(logs) join (search) on logs.id =
      search.id]

      org.apache.jasper.JasperException:
      javax.servlet.jsp.JspException:
      javax.servlet.jsp.JspException: Mondrian Error:Internal
      error: assert failed: todo: allow dimension which is
      not a Table or View, [(logs) join (search) on logs.id =
      search.id]
      at
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
      at
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
      at
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at
      com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
      at
      com.tonbeller.wcf.controller.RequestSynchronizer.handleRequest(RequestSynchronizer.java:127)
      at
      com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:263)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at
      org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at
      org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            defenestrate defenestrate
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: