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.device.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java
{
			return;
		}
		final Bounds bo = ore.getBounds( );
		final Rectangle r = new Rectangle( (int) ( ( bo.getLeft( ) + dTranslateX ) * dScale ),
				(int) ( ( bo.getTop( ) + dTranslateY ) * dScale ),
				(int) ( bo.getWidth( ) * dScale ),
				(int) ( bo.getHeight( ) * dScale ) );
		if ( flBackground instanceof ColorDefinition )
		{
			final ColorDefinition cd = (ColorDefinition) flBackground;
			final Color cBG = (Color) _ids.getColor( cd );
			final Color cPreviousBG = _gc.getBackground( );
			_gc.setBackground( cBG );
			R31Enhance.setAlpha( _gc, cd );
			_gc.fillOval( r.x, r.y, r.width, r.height );
			cBG.dispose( );
			_gc.setBackground( cPreviousBG );
		}
		else if ( flBackground instanceof Gradient
				|| flBackground instanceof org.eclipse.birt.chart.model.attribute.Image )
		{
			Path pt = new Path( ( (SwtDisplayServer) _ids ).getDevice( ) );
			pt.addArc( r.x, r.y, r.width, r.height, 0, 360 );
			Region previousClipping = new Region( );
			_gc.getClipping( previousClipping );
			
			_gc.setClipping( pt );
			RectangleRenderEvent rre = (RectangleRenderEvent) ( (EventObjectCache) this ).getEventObject( ore.getSource( ),
					RectangleRenderEvent.class );