Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317267 - [Automation][Regression]Error is thrown out when preview gantt type chart
Summary: [Automation][Regression]Error is thrown out when preview gantt type chart
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 2.6.1   Edit
Assignee: Xingsheng Zhu CLA
QA Contact: Yong Jiang CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 03:12 EDT by Yong Jiang CLA
Modified: 2010-06-21 02:45 EDT (History)
1 user (show)

See Also:


Attachments
test report (39.10 KB, text/xml)
2010-06-18 03:12 EDT, Yong Jiang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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