Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317267

Summary: [Automation][Regression]Error is thrown out when preview gantt type chart
Product: z_Archived Reporter: Yong Jiang <yjiang>
Component: BIRTAssignee: Xingsheng Zhu <xzhu>
Status: CLOSED FIXED QA Contact: Yong Jiang <yjiang>
Severity: normal    
Priority: P1 CC: Lionel.wyl
Version: 2.6.1   
Target Milestone: 2.6.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
test report none

Description Yong Jiang CLA 2010-06-18 03:12:50 EDT
Created attachment 172187 [details]
test report

Description:
  Error is thrown out when preview gantt type chart

Test Build:
BIRT2.6.1 v20100618-1142

Step to reproduce:

1. Use the report attached
2. Preview

Expect result:
report can preview correctly

Actual result:
error is thrown out

error log:
Caused by: org.eclipse.birt.chart.exception.ChartException: The data entry has a value of invalid type.
	at org.eclipse.birt.chart.extension.datafeed.GanttDataSetProcessorImpl.validateGanttEntryData(GanttDataSetProcessorImpl.java:126)
	at org.eclipse.birt.chart.extension.datafeed.GanttDataSetProcessorImpl.populate(GanttDataSetProcessorImpl.java:71)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillSeriesDataSet(DataProcessor.java:1367)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:814)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:1467)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:508)
	at org.eclipse.birt.chart.factory.Generator.bindData(Generator.java:652)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.bindData(ChartReportItemPresentationBase.java:683)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.onRowSets(ChartReportItemPresentationBase.java:801)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationProxy.onRowSets(ChartReportItemPresentationProxy.java:108)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:1014)
	... 59 more
Comment 1 Xingsheng Zhu CLA 2010-06-18 04:18:31 EDT
Fixed. Null value is allowed the gantt entry and this entry will not be drawn in rendering.
Comment 2 Yong Jiang CLA 2010-06-21 02:45:27 EDT
verified in daily build v20100621-0630