| Summary: | [Automation][Regression]Exception was thrown out while opening report in designer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Wen Lin <wlin> | ||||
| Component: | BIRT | Assignee: | Yulin Wang <Lionel.wyl> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Lionel.wyl, rlu, yjiang | ||||
| Version: | 2.6.0 | ||||||
| Target Milestone: | 2.6.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Chart's validation issue. Revised validation for invalid chart model in Chart report item. Verified in v20100520-0630 |
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)