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.acceptance.StackedLineChart_2D.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.acceptance.StackedLineChart_2DWithDepth.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.acceptance.StandardMeterChart.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.acceptance.StockChart.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.acceptance.SuperimposedMeterChart.class );
		
		
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.Create3DBarChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.Create3DBarChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.Create3DLineChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.Create3DLineChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateAreaChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateAreaChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateAreaChart_3.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateBarChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateBarChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateBarChart_3.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateBarChart_4.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFAreaChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFAreaChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFBarChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFBarChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFLineChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFLineChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFLineChart_3.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFLineChart_4.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateCFStockChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateLineChart_1.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateLineChart_2.class );
		suite.addTestSuite( org.eclipse.birt.report.tests.chart.smoke.CreateLineChart_3.class );