Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [Mondrian] AbstractMethodError in CellSetFormatter

  1. #1
    VanIngen, Erik (FIPS) Guest

    Default [Mondrian] AbstractMethodError in CellSetFormatter

    Hello Mondrian,

    This code

    CellSet cellSet = i
    .generateCellSet("SELECT NON EMPTY {[Time].[Month].Members} ON COLUMNS, NON EMPTY CrossJoin({[Measures].[Avg Salary]}, [Store Type].[Store Type].Members) ON ROWS FROM [HR]");
    CellSetFormatter formatter = new RectangularCellSetFormatter(false);
    formatter.format(cellSet, new PrintWriter(System.out, true));

    causes this exception:

    java.lang.AbstractMethodError: mondrian.olap4j.MondrianOlap4jMember.getCaption()Ljava/lang/String;
    at org.olap4j.layout.RectangularCellSetFormatter.populateAxis(RectangularCellSetFormatter.java:360)
    at org.olap4j.layout.RectangularCellSetFormatter.formatPage(RectangularCellSetFormatter.java:182)
    at org.olap4j.layout.RectangularCellSetFormatter.format(RectangularCellSetFormatter.java:107)
    at org.opensdmx.adapter.olap4j.repository.generatormdx.CellSet2GenericDataTest.print(CellSet2GenericDataTest.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


    Configuration is Mondrian version 3.2.0.13661 and Olap4J 1.0.0.445.

    What could be the problem?

    Erik


    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  2. #2
    Luc Boudreau Guest

    Default Re: [Mondrian] AbstractMethodError in CellSetFormatter

    Erik, olap4j 1.0 is only supported by Mondrian 3.3 and later. Please note
    that Mondrian 3.3 has not been released yet, but is available as a
    Continuous Integration build in our Maven repo (mondrian-3.3-SNAPSHOT).
    On May 18, 2011 8:14 AM, "VanIngen, Erik (FIPS)" <Erik.VanIngen (AT) fao (DOT) org>
    wrote:
    > Hello Mondrian,
    >
    > This code
    >
    > CellSet cellSet = i
    > .generateCellSet("SELECT NON EMPTY {[Time].[Month].Members} ON COLUMNS,

    NON EMPTY CrossJoin({[Measures].[Avg Salary]}, [Store Type].[Store
    Type].Members) ON ROWS FROM [HR]");
    > CellSetFormatter formatter = new RectangularCellSetFormatter(false);
    > formatter.format(cellSet, new PrintWriter(System.out, true));
    >
    > causes this exception:
    >
    > java.lang.AbstractMethodError:

    mondrian.olap4j.MondrianOlap4jMember.getCaption()Ljava/lang/String;
    > at

    org.olap4j.layout.RectangularCellSetFormatter.populateAxis(RectangularCellSetFormatter.java:360)
    > at

    org.olap4j.layout.RectangularCellSetFormatter.formatPage(RectangularCellSetFormatter.java:182)
    > at

    org.olap4j.layout.RectangularCellSetFormatter.format(RectangularCellSetFormatter.java:107)
    > at

    org.opensdmx.adapter.olap4j.repository.generatormdx.CellSet2GenericDataTest.print(CellSet2GenericDataTest.java:41)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >
    >
    > Configuration is Mondrian version 3.2.0.13661 and Olap4J 1.0.0.445.
    >
    > What could be the problem?
    >
    > Erik
    >


    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.