Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • 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

      The following MDX query leads to a crash during
      execution:

      select

      {[Measures].[Unit Sales], [Measures].[Store Cost], [Measures].[Store Sales]}

      ON columns,
      Order(Crossjoin(

      {[Promotion Media].[All Promotion Media].[Radio], [Promotion Media].[All Promotion Media].[TV], [Promotion Media].[All Promotion Media]. [Sunday Paper], [Promotion Media].[All Promotion Media].[Street Handout]}

      , [Product].[All Products].
      [Drink].Children), [Measures].[Unit Sales], BDESC) ON
      rows
      from [Sales]
      where ([Time].[1997])

      This is the stack trace:
      INjava.lang.ClassCastException:
      [Lmondrian.olap.Member;
      at mondrian.olap.fun.FunUtil.evaluateMembers
      (FunUtil.java:302)
      at mondrian.olap.fun.FunUtil.evaluateMembers
      (FunUtil.java:272)
      at mondrian.olap.fun.FunUtil.sort(FunUtil.java:313)
      at mondrian.olap.fun.BuiltinFunTable$50.evaluate
      (BuiltinFunTable.java:17
      34)
      at mondrian.olap.fun.FunkFunDef.evaluate
      (MultiResolver.java:93)
      at mondrian.rolap.RolapEvaluator.xx
      (RolapEvaluator.java:116)
      at mondrian.olap.FunCall.evaluate(FunCall.java:244)
      at mondrian.rolap.RolapResult.executeAxis
      (RolapResult.java:142)
      at mondrian.rolap.RolapResult.<init>
      (RolapResult.java:73)
      at mondrian.rolap.RolapConnection.execute
      (RolapConnection.java:99)
      at
      mondrian.web.servlet.MDXQueryServlet.processRequest
      (MDXQueryServlet.j
      ava:83)
      at mondrian.web.servlet.MDXQueryServlet.doGet
      (MDXQueryServlet.java:168)

        Attachments

          Activity

            People

            • Assignee:
              jhyde Julian Hyde
              Reporter:
              hhaas hhaas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: