Bug 121383 Set script for the chart, preview, system throws exception.
Set script for the chart, preview, system throws exception. Steps: 1.Create a line chart 2.Open the script page 3.input "importPackage(Packages.org.eclipse.birt.chart.model.component.impl); function beforeDrawSeries(series, renderer, scriptContext) { series.setCurveFitting(CurveFittingImpl.create()); series.getLabel().getCaption().getColor().set(12, 232, 182); }" Actual Resutls: 1.Preview in html , system throws exception. Exception in: ReportEngineService.runReport( ) Error happended while runntine the report Expected Results: 1.System can be previewed correctly.
testsuites/org.eclipse.birt.report.tests.chart/src/org/eclipse/birt/report/tests/chart/AllTests.java
suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateMeterChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateMeterChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateMeterChart_3.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreatePieChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreatePieChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreatePieChart_3.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateScatterChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateScatterChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateStockChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.LabelStaggering_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.LegendTitle_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.LegendTitle_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.MarkerShape_1.class );
		
		
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_101039.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_101855.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_101868.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_102455.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_103447.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_103787.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_103960.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_103961.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_104472.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_104627.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_106126.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_109641.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_110760.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_113536.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.regression.Regression_118797.class );