Bug 179882 The preview result is incorrect in Web Viewer when the report has a x-tab[1102]
Description: The preview result is incorrect in Web Viewer when the report has a x-tab[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: - Preview the attached rptdesign file in Web Viewer Expected result: The result is consistent with the preview Actual result: Only the measure's title in the result Error log:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/util/DataType.java
{
			return null;
		}
		for ( int i = 0; i < typeCodes.length; i++ )
		{
			if ( typeCodes[i] == typeCode )
			{
				return classes[i];
			}
		}
		return null;
	}
	/**
	 * 
	 * @param objClass
	 * @return
	 */
	public static int getDataType( Class objClass )
	{
		for ( int i = 0; i < classes.length; i++ )
		{
			if ( classes[i].equals( objClass ) )
			{
				return typeCodes[i];
			}
		}
		return UNKNOWN_TYPE;
	}
}