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/util/DiskIndex.java
{
	
	private String name;
	private int degree;
	private IDocumentObject documentObject = null;
	private IDocumentObject offsetDocumentObject = null;
	private IDocumentManager documentManager = null;
	private int[] keyDataType;
	private int keyCount;
	private int rootNodeOffset;
	private int numberOfLevel;
	/**
	 * 
	 * @param name
	 * @param sortedStack
	 * @return
	 * @throws IOException
	 * @throws DataException 
	 */
	public static DiskIndex createIndex( IDocumentManager documentManager,
			String name, int sonNumber, IDiskArray keyList, boolean isSorted )
			throws IOException, DataException
	{
		assert sonNumber <= 127;
		assert keyList.size( ) > 0;
		DiskIndex indexTree = new DiskIndex( documentManager,