Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313067 - [Automation][Regression]Exception was thrown out while opening report in designer
Summary: [Automation][Regression]Exception was thrown out while opening report in desi...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: Yulin Wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 01:41 EDT by Wen Lin CLA
Modified: 2010-05-20 03:17 EDT (History)
3 users (show)

See Also:


Attachments
report design (23.52 KB, application/octet-stream)
2010-05-17 01:41 EDT, Wen Lin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Lin CLA 2010-05-17 01:41:36 EDT
Created attachment 168679 [details]
report design

Description:
  Exception was thrown out while opening report in designer

Test Build:
BIRT2.6.0 v20100517-0630

Step to reproduce:

1. Use the report attached
2. Open it in designer

Error log:
Caused by: org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
	at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
	at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.validate(ChartReportItemImpl.java:783)
	at org.eclipse.birt.report.model.api.validators.ExtensionValidator.doValidate(ExtensionValidator.java:142)
	at org.eclipse.birt.report.model.api.validators.ExtensionValidator.validate(ExtensionValidator.java:81)
	at org.eclipse.birt.report.model.validators.ValidationNode.perform(ValidationNode.java:133)
	at org.eclipse.birt.report.model.validators.ValidationExecutor.perform(ValidationExecutor.java:79)
	at org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2121)
	at org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2130)
	at org.eclipse.birt.report.model.core.Module.semanticCheck(Module.java:1129)
	at org.eclipse.birt.report.model.core.LayoutModuleImpl.semanticCheck(LayoutModuleImpl.java:292)
	at org.eclipse.birt.report.model.core.LayoutModuleImpl.doClone(LayoutModuleImpl.java:1061)
	at org.eclipse.birt.report.model.elements.ReportDesignImpl.doClone(ReportDesignImpl.java:309)
	at org.eclipse.birt.report.model.api.ModuleHandle.copy(ModuleHandle.java:3050)
	at org.eclipse.birt.report.engine.api.impl.ReportRunnable.cloneRunnable(ReportRunnable.java:132)
	at org.eclipse.birt.report.engine.api.impl.EngineTask.prepareDesign(EngineTask.java:1655)
	at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:96)
	at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
Comment 1 Rick Lu CLA 2010-05-17 22:26:53 EDT
Chart's validation issue.
Comment 2 Yulin Wang CLA 2010-05-18 22:10:53 EDT
Revised validation for invalid chart model in Chart report item.
Comment 3 Wen Lin CLA 2010-05-20 03:17:33 EDT
Verified in v20100520-0630