Bug 209309 Show javascript errorposition
If a javascript expression has errors, the error message is shown in the last lines in the preview tab. But there is no info where the error occurs. In most cases you had to guess the error location. It would be very helpfull to display the error location.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
}
	public void unregisterGlobalBean( String name )
	{
		persistentBeans.remove( name );
		registerInRoot( name, null );
	}
	public Map getGlobalBeans( )
	{
		return persistentBeans;
	}
	private void registerInRoot( String name, Object value )
	{
		Scriptable root = scriptContext.getRootScope( );
		Object sObj = Context.javaToJS( value, root );
		root.put( name, root, sObj );
	}
	/**
	 * Evaluate a BIRT expression
	 * 
	 * @param source
	 *            the expression to be evaluated
	 * @return the result if no error exists, otherwise null.
	 * 
	 * @see evaluate(String,String,int)
	 */
	public Object evaluate( String source )
	{
		return evaluate( source, "<inline>", 1 );
	}
	/**