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