Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
.iterator( ); itr.hasNext( ); )
			{
				prepareComponent( model, token, itr.next( ), externalProcessor );
			}
			if ( pushed && !token.empty( ) )
			{
				token.pop( );
			}
		}
		else if ( component instanceof EList )
		{
			for ( Iterator litr = ( (EList) component ).iterator( ); litr.hasNext( ); )
			{
				prepareComponent( model, token, litr.next( ), externalProcessor );
			}
		}
	}
	private StyledComponent getStyledComponent( EObject obj )
	{
		if ( obj instanceof Block && obj.eContainer( ) instanceof Chart )
		{
			return StyledComponent.CHART_BACKGROUND_LITERAL;
		}
		if ( obj instanceof Plot )
		{
			return StyledComponent.PLOT_BACKGROUND_LITERAL;
		}
		if ( obj instanceof Legend )
		{
			return StyledComponent.LEGEND_BACKGROUND_LITERAL;