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
/**
			 * wrapper an java object to javascript object.
			 */
			public Object wrap( Context cx, Scriptable scope, Object obj,
					Class staticType )
			{
				Object object = coreWrapper.wrap( cx, scope, obj, staticType );
				if ( object != obj )
				{
					return object;
				}
				return super.wrap( cx, scope, obj, staticType );
			}
		} );
		new CoreJavaScriptInitializer( ).initialize( cx, scope );
	}
	/**
	 * get the report engine. In that engine, we create the context.
	 * 
	 * @return the report engine used to create the context.
	 */
	public IReportEngine getEngine( )
	{
		return engine;
	}
	/**
	 * Clean up the execution context before finishing using it
	 */
	public void close( )
	{