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.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java
}
			catch ( ChartException e1 )
			{
				ChartWizard.displayException( e1 );
			}
			btnNewData.setEnabled( getDataServiceProvider( ).isInvokingSupported( ) );
			btnFilters.setEnabled( hasDataSet( )
					&& getDataServiceProvider( ).isInvokingSupported( ) );
			btnParameters.setEnabled( hasDataSet( )
					&& getDataServiceProvider( ).isInvokingSupported( ) );
			btnBinding.setEnabled( hasDataSet( )
					&& getDataServiceProvider( ).isInvokingSupported( ) );
		}
		else if ( e.getSource( ).equals( btnNewData ) )
		{
			
			int result = getDataServiceProvider( ).invoke( IDataServiceProvider.COMMAND_NEW_DATASET );
			if ( result == Window.CANCEL )
			{
				return;
			}
			String[] sAllDS = getDataServiceProvider( ).getAllDataSets( );
			String currentDataSet = cmbDataSet.getText( );
			int dataSetCount = cmbDataSet.getItemCount( );
			if ( currentDataSet.equals( BLANK_DATASET ) )
			{
				dataSetCount = dataSetCount - 1;
			}
			if ( sAllDS.length == dataSetCount )
			{