Bug 179661 NPE throws out when preview the attached report [1102]
Description: NPE throws out when preview the attached report [1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Using attached report design file 2, Preview Expected result: Previewed successfully Actual result: NPE throws out when preview Error log:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/query/view/BirtCubeView.java
rowEdgeView = createBirtEdgeView( this.queryDefn.getEdge( ICubeQueryDefinition.ROW_EDGE ) );
		this.executor = queryExecutor;
		CalculatedMember[] members = CubeQueryDefinitionUtil.getCalculatedMembers( queryDefn );
		if ( members != null && members.length > 0 )
		{
			Set rsIDSet = new HashSet( );
			calculatedMemberView = new BirtEdgeView[members.length];
			int index =0;
			for ( int i = 0; i < members.length; i++ )
			{
				if ( rsIDSet.contains( new Integer( members[i].getRsID( ) ) ) )
					continue;
				calculatedMemberView[index] = this.createBirtEdgeView( members[i] );
				rsIDSet.add( new Integer( members[i].getRsID( ) ) );
				index++;
			}
		}
		manager = new MeasureNameManager( members );
	}
	/**
	 * Get cubeCursor for current cubeView.
	 * @return CubeCursor
	 * @throws OLAPException
	 */
	public CubeCursor getCubeCursor( ) throws OLAPException
	{
		Map relationMap = CubeQueryDefinitionUtil.getRelationWithMeasure( queryDefn );
		IResultSet result;
		try
		{