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/dom/AbstractStyle.java
this.engine = engine;
	}
	public void setProperties( IStyle style )
	{
		for ( int i = 0; i < NUMBER_OF_STYLE; i++ )
		{
			CSSValue v = style.getProperty( i );
			if ( v != null )
			{
				setProperty( i, v );
			}
		}
	}
	public String getCssText( )
	{
		StringBuffer sb = new StringBuffer( );
		for ( int i = 0; i < NUMBER_OF_STYLE; i++ )
		{
			CSSValue value = getProperty( i );
			if ( value != null )
			{
				sb.append( engine.getPropertyName( i ) );
				sb.append( ": " );
				short type = value.getCssValueType( );
				switch ( type )
				{
					case CSSValue.CSS_PRIMITIVE_VALUE :
					{
						CSSPrimitiveValue pv = (CSSPrimitiveValue) value;
						short unitType = pv.getPrimitiveType( );