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/script/ScriptHandler.java
logger.log( ILogger.INFORMATION,
						Messages.getString( "Info.javascript.content.registered" ) ); 
				
				Object[] objs = scope.getIds( );
				if ( objs != null )
				{
					javaScriptFunctionNamesCache = new ArrayList( );
					for ( int i = 0; i < objs.length; i++ )
					{
						javaScriptFunctionNamesCache.add( String.valueOf( objs[i] ) );
					}
				}
				else
				{
					javaScriptFunctionNamesCache = null;
				}
			}
			catch ( Exception jsx )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.SCRIPT,
						jsx );
			}
			finally
			{
				Context.exit( );
			}
		}
	}
}