Bug 200979 BIRT Cross tab - Better error messages
In general the error messages are very generic - either "Cube does not exist" followed by stack trace or - stack trace. From the error message it is difficult to fix the problem in the report design. I have attached a couple of report design, in which case the error messages are so difficult to follow. We need to show user friendly error messages. ( This bug applies to data engine errors and engine errors ).
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/facttable/FactTableAccessor.java
}
			}
			factTableRow.setMeasures( new Object[measureColumnIndex.length] );
			for ( int i = 0; i < measureColumnIndex.length; i++ )
			{
				factTableRow.getMeasures()[i] = iterator.getValue( measureColumnIndex[i] );
				if(factTableRow.getMeasures()[i]==null)
				{
					throw new DataException( ResourceConstants.FACTTABLE_NULL_MEASURE_VALUE,
							factTableRow.toString( ) );
				}
			}
			result.push( factTableRow );
		}
		return result;
	}
	/**
	 * 
	 * @param dimensionNumbers
	 * @param multiple
	 * @return
	 */
	private static int[] getDimensionMemberCount( Dimension[] dimension )
	{
		int[] dimensionMemberCount = new int[dimension.length];
		for ( int i = 0; i < dimension.length; i++ )
		{
			dimensionMemberCount[i] = dimension[i].length( );
		}
		return dimensionMemberCount;