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
*            Encapsulates the runtime environment for the build process.
	 * @param externalProcessor
	 *            An external style processor.
	 * @return An instance of a generated chart state that encapsulates built
	 *         chart information that may be subsequently rendered.
	 * 
	 * @throws GenerationException
	 * 
	 * @deprecated
	 */
	public final GeneratedChartState build( IDisplayServer ids,
			Chart cmDesignTime, Scriptable scParent, Bounds bo,
			RunTimeContext rtc, IStyleProcessor externalProcessor )
			throws ChartException
	{
		final Scriptable scriptContext = scParent;
		return build( ids, cmDesignTime, bo, new IExternalContext( ) {
			private static final long serialVersionUID = 1L;
			public Object getObject( )
			{
				return null;
			}
			public Scriptable getScriptable( )
			{
				return scriptContext;
			}
		}, rtc, externalProcessor );
	}
	
	/**