Bug 191637 Empty cube causes error
Comment removed as requested by the submitter - 2007-06-08 droy
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/dimension/Dimension.java
private IDocumentManager documentManager = null;
	private IDocumentObject documentObj = null;
	private Hierarchy hierarchy = null;
	private int length = 0;
	private boolean isTime;
	private static Logger logger = Logger.getLogger( Dimension.class.getName( ) );
	/**
	 * 
	 * @param name
	 * @param documentManager
	 * @param hierarchy
	 * @param isTime
	 * @throws BirtException
	 * @throws IOException
	 */
	public Dimension( String name, IDocumentManager documentManager,
			 Hierarchy hierarchy, boolean isTime )
			throws DataException, IOException
	{
		Object[] params = {
				name, documentManager, hierarchy, new Boolean( isTime )
		};
		logger.entering( Dimension.class.getName( ), "Dimension", params );
		this.name = name;
		this.documentManager = documentManager;
		this.isTime = isTime;
		documentObj = documentManager.createDocumentObject( NamingUtil.getDimensionDocName( name ) );
		documentObj.writeBoolean( isTime );
		documentObj.writeString( hierarchy.getName( ) );
		this.hierarchy =  (Hierarchy)hierarchy;