[Mondrian] AbstractMethodError in CellSetFormatter

Luc Boudreau lucboudreau at gmail.com
Wed May 18 09:20:30 EDT 2011


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.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110518/d108cee9/attachment.html 


More information about the Mondrian mailing list