Bug 209303 [Automation][Smoke]NPE is thrown out when previewing reportdesign
Description: NPE is thrown out when previewing reportdesign TestDate: 20071109 TestBuild: BIRT2.3.0 Daily Build: v20071109-0800 steps to reproduce: - use the attached report design - preview it Expected Result: Report can be previewed without any exception Actual Result: NPE is thrown out. Error log: Please refer to the attachment
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/BIRTPropertyManagerFactory.java
vms[StyleConstants.STYLE_MARGIN_TOP] = new MarginManager(
				CSSConstants.CSS_MARGIN_TOP_PROPERTY );
		vms[StyleConstants.STYLE_WIDOWS] = new IntegerManager(
				CSSConstants.CSS_WIDOWS_PROPERTY, true, 2 );
		vms[StyleConstants.STYLE_PADDING_BOTTOM] = new LengthManager(
				CSSConstants.CSS_PADDING_BOTTOM_PROPERTY, false,
				CSSValueConstants.NUMBER_0 );
		vms[StyleConstants.STYLE_PADDING_TOP] = new LengthManager(
				CSSConstants.CSS_PADDING_TOP_PROPERTY, false,
				CSSValueConstants.NUMBER_0 );
		vms[StyleConstants.STYLE_VISIBLE_FORMAT] = new VisibleFormatManager( );
	}
	public int getNumberOfProperties( )
	{
		return PerfectHash.TOTAL_KEYWORDS;
	}
	public int getPropertyIndex( String name )
	{
		return PerfectHash.in_word_set( name );
	}
	public ValueManager getValueManager( int idx )
	{
		return vms[idx];
	}
	public String getPropertyName( int idx )
	{
		return vms[idx].getPropertyName( );
	}
}