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
{
			( (ChartScriptContext) icsc ).setExternalContext( externalContext );
		}
		final Chart cmRunTime = icsc.getChartInstance( );
		
		prepareStyles( cmRunTime, externalProcessor );
		
		ScriptHandler sh = rtc.getScriptHandler( );
		if ( sh == null ) 
		
		{
			sh = new ScriptHandler( );
			rtc.setScriptHandler( sh );
			sh.setScriptClassLoader( rtc.getScriptClassLoader( ) );
			try
			{
				final String sScriptContent = cmRunTime.getScript( );
				if ( externalContext != null
						&& externalContext.getScriptable( ) != null )
				{
					sh.init( externalContext.getScriptable( ) );
				}
				else
				{
					sh.init( null );
				}
				sh.setRunTimeModel( cmRunTime );
				if ( sScriptContent != null
						&& sScriptContent.length( ) > 0
						&& rtc.isScriptingEnabled( ) )