[Mondrian] AbstractMethodError in CellSetFormatter

VanIngen, Erik (FIPS) Erik.VanIngen at fao.org
Wed May 18 08:14:20 EDT 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110518/4e536c2f/attachment.html 


More information about the Mondrian mailing list