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
}
			}
			else if ( flBackground instanceof Gradient
					|| flBackground instanceof org.eclipse.birt.chart.model.attribute.Image )
			{
				RectangleRenderEvent rre = (RectangleRenderEvent) ( (EventObjectCache) this ).getEventObject( are.getSource( ),
						RectangleRenderEvent.class );
				rre.setBackground( are.getBackground( ) );
				try
				{
					rre.setBounds( are.getBounds( ) );
					rre.setOutline( are.getOutline( ) );
					fillRectangle( rre );
				}
				catch ( ChartException ufex )
				{
					throw new ChartException( ChartDeviceSwtActivator.ID,
							ChartException.RENDERING,
							ufex );
				}
			}
		}
		finally
		{
			
			_gc.setClipping( previousClipping );
			
			previousClipping.dispose( );
			gp.dispose( );
		}