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
gcs.getRunTimeContext( ) );
				}
				catch ( ChartException gex )
				{
					throw new ChartException( ChartEnginePlugin.ID,
							ChartException.RENDERING,
							gex );
				}
			}
		}
		final LinkedHashMap lhm = gcs.getRenderers( );
		final int iSize = lhm.size( );
		BaseRenderer br;
		final Collection co = lhm.values( );
		final LegendItemRenderingHints[] lirha = (LegendItemRenderingHints[]) co.toArray( EMPTY_LIRHA );
		final DeferredCache dc = new DeferredCache( idr, cm ); 
		
		
		
		
		
		
		final Bounds bo = gcs.getChartModel( ).getBlock( ).getBounds( );
		idr.setProperty( IDeviceRenderer.EXPECTED_BOUNDS,
				bo.scaledInstance( idr.getDisplayServer( ).getDpiResolution( ) / 72d ) );
		
		
		gcs.getRunTimeContext( )
				.setStructureDefinitionListener( idr.needsStructureDefinition( ) ? idr
						: null );