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
else
				{
					throw ex;
				}
			}
			if ( IChartEventHandler.class.isAssignableFrom( handlerClass ) )
			{
				javahandler = (IChartEventHandler) handlerClass.newInstance( );
				logger.log( ILogger.INFORMATION,
						Messages.getString( "Info.java.handler.loaded", 
								handlerClass,
								ULocale.getDefault( ) ) );
			}
			else
			{
				logger.log( ILogger.WARNING,
						Messages.getString( "Info.invalid.java.handler", 
								handlerClass,
								ULocale.getDefault( ) ) );
			}
		}
		catch ( Exception e )
		{
			javahandler = null;
			logger.log( ILogger.INFORMATION,
					Messages.getString( "Info.try.register.javascript.content" ) ); 
			final Context cx = Context.enter( );
			try
			{
				cx.evaluateString( scope, sScriptContent, "<cmd>", 1, null );