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

Problems on first execution with RolapResultShepherd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Cannot Reproduce
    • Affects 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

      some users have report the below pasted bug when using saiku (mondrian 3.3-SNAPSHOT). it doesn't always appear, it seems to happen only at the first execution in some environments (i have never really seen, but it always occurs in harris' environment)

      My assumption is, since statement.end() is called in RolapConnection:642 (see stacktrace) that in case of an error StatementImpl throws an error because the execution hasn't started properly yet for some reason, or maybe the concurrency control fails somehow

      public synchronized void start(Execution execution) {
      if (this.execution != null)

      { throw new AssertionError(); }

      ....
      this.execution = execution;

      the stacktrace of the bug:
      Caused by: mondrian.olap.MondrianException: Mondrian Error:java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: mondrian.olap4j.FactoryJdbc4Impl$MondrianOlap4jCellSetJdbc4@13ea6bf != null
      at mondrian.rolap.RolapResultShepherd.shepherdExecution(RolapResultShepherd.java:171)
      at mondrian.rolap.RolapConnection.execute(RolapConnection.java:580)
      at mondrian.olap4j.MondrianOlap4jCellSet.execute(MondrianOlap4jCellSet.java:88)
      at mondrian.olap4j.MondrianOlap4jStatement.executeOlapQueryInternal(MondrianOlap4jStatement.java:408)
      at mondrian.olap4j.MondrianOlap4jStatement.executeOlapQuery(MondrianOlap4jStatement.java:340)
      at mondrian.olap4j.MondrianOlap4jStatement.executeOlapQuery(MondrianOlap4jStatement.java:426)
      at org.olap4j.query.Query.execute(Query.java:292)
      at org.saiku.olap.query.OlapQuery.execute(OlapQuery.java:175)
      at org.saiku.service.olap.OlapQueryService.execute(OlapQueryService.java:164)
      ... 91 more
      Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: mondrian.olap4j.FactoryJdbc4Impl$MondrianOlap4jCellSetJdbc4@13ea6bf != null
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at mondrian.rolap.RolapResultShepherd.shepherdExecution(RolapResultShepherd.java:145)
      ... 99 more
      Caused by: java.lang.IllegalArgumentException: mondrian.olap4j.FactoryJdbc4Impl$MondrianOlap4jCellSetJdbc4@13ea6bf != null
      at mondrian.server.StatementImpl.end(StatementImpl.java:94)
      at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:642)
      at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:52)
      at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:586)
      at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:585)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      ... 1 more

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            pstoellberger Paul Stoellberger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: