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/Hierarchy.java
DiskIndex[] diskIndex = new DiskIndex[indexKeyLists.length];
		for ( int i = 0; i < indexKeyLists.length; i++ )
		{
			
			diskIndex[i] = DiskIndex.createIndex( documentManager,
					NamingUtil.getLevelIndexDocName( dimensionName, levelDefs[i].getLevelName( ) ),
					indexKeyLists[i],
					false );
		}
		levels = new Level[levelDefs.length];
		for ( int i = 0; i < levels.length; i++ )
		{
			levels[i] = new Level( documentManager,
					levelDefs[i],
					keyDataType[i],
					attributesDataType[i],
					currentIndex,
					diskIndex[i]);
		}
		for ( int i = 0; i < levels.length; i++ )
		{
			this.levelMap.put( levels[i].getName( ), levels[i] );
		}
		return currentIndex;
	}
	
	/**
	 * 
	 * @param sortedDimMembers
	 * @throws IOException