if (measures.size() == 0) {
Hierarchy hierarchy = nativeCube.getDimensions().get("Measures").getDefaultHierarchy();
measures = ObjectUtil.convertMembers(hierarchy.getRootMembers());
}
} catch (OlapException e) {
throw new SaikuOlapException("Cannot get measures for cube:" + cube.getName(), e);
}
//Collections.sort(measures, new SaikuMemberCaptionComparator());
return measures;
}