<p>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).</p>
<div class="gmail_quote">On May 18, 2011 8:14 AM, "VanIngen, Erik (FIPS)" <<a href="mailto:Erik.VanIngen@fao.org">Erik.VanIngen@fao.org</a>> wrote:<br type="attribution">> Hello Mondrian,<br>> <br>> This code<br>
> <br>> CellSet cellSet = i<br>> .generateCellSet("SELECT NON EMPTY {[Time].[Month].Members} ON COLUMNS, NON EMPTY CrossJoin({[Measures].[Avg Salary]}, [Store Type].[Store Type].Members) ON ROWS FROM [HR]");<br>
> CellSetFormatter formatter = new RectangularCellSetFormatter(false);<br>> formatter.format(cellSet, new PrintWriter(System.out, true));<br>> <br>> causes this exception:<br>> <br>> java.lang.AbstractMethodError: mondrian.olap4j.MondrianOlap4jMember.getCaption()Ljava/lang/String;<br>
> at org.olap4j.layout.RectangularCellSetFormatter.populateAxis(RectangularCellSetFormatter.java:360)<br>> at org.olap4j.layout.RectangularCellSetFormatter.formatPage(RectangularCellSetFormatter.java:182)<br>
> at org.olap4j.layout.RectangularCellSetFormatter.format(RectangularCellSetFormatter.java:107)<br>> at org.opensdmx.adapter.olap4j.repository.generatormdx.CellSet2GenericDataTest.print(CellSet2GenericDataTest.java:41)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>> <br>> <br>> Configuration is Mondrian version 3.2.0.13661 and Olap4J 1.0.0.445.<br>> <br>> What could be the problem?<br>> <br>
> Erik<br>> <br></div>