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

Bug 314070

Summary: [Automation][Regression]NPE is thrown out when Y value set to string type in bubble chart
Product: z_Archived Reporter: Yong Jiang <yjiang>
Component: BIRTAssignee: Yi Wang <yi.wang>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
test report none

Description Yong Jiang CLA 2010-05-24 04:31:09 EDT
Created attachment 169641 [details]
test report

Description:
  NPE is thrown out when Y value set to string type in bubble chart

Test Build:
BIRT2.6.0 v20100524-1222

Step to reproduce:

1. Use the report attached
2. Preview it

Expect result:
report can preview 

Actual result:
NEP is thrown out

error message:
Caused by: java.lang.NullPointerException
	at org.eclipse.birt.chart.extension.datafeed.BubbleDataSetProcessorImpl.populate(BubbleDataSetProcessorImpl.java:287)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillSeriesDataSet(DataProcessor.java:1350)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:813)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:1450)
	at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:507)
	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:797)
	... 41 more
Comment 1 Yi Wang CLA 2010-05-24 05:33:38 EDT
Fixed a NPE issue in ubbleDataSetProcessorImpl.
Comment 2 Yong Jiang CLA 2010-05-24 22:59:28 EDT
verified in daily build v20100525-0630