Project: Birt
Bug 214074 [Automation][Regression]EngineException is thrown out when previewing report
Reported: 2008-01-02 03:30:13 | Status: closed fixed

Description: EngineException is thrown out when previewing report in web viewer. Test Date: 20080102 Test Build: BIRT2.3.0 Daily Build: v20080102-1021 Step to reproduce: 1. Use the report attached. 2. Preview it in web viewer. Error log: null ( 1 time(s) ) detail : org.eclipse.birt.report.engine.api.EngineException at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:187) at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.prepareChildExecutor(ExtendedItemExecutor.java:117) at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.hasNextChild(ContainerExecutor.java:110) at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:85) at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:85) at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:60) at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27) at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:76) at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133) at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68) at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85) at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106) at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:509) at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:167) at org.eclipse.birt.report.service.ReportEngineService.renderReport(Unknown Source) at org.eclipse.birt.report.service.ReportEngineService.renderReport(Unknown Source) at org.eclipse.birt.report.service.BirtViewerReportService.getPage(Unknown Source) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.doExecution(Unknown Source) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(Unknown Source) at Caused by: java.lang.NullPointerException at org.eclipse.birt.data.engine.olap.cursor.RowDataAccessor.edge_setPostion(RowDataAccessor.java:601) at org.eclipse.birt.data.engine.olap.cursor.EdgeNavigator.setPosition(EdgeNavigator.java:178) at org.eclipse.birt.data.engine.olap.cursor.AbstractCursorSupport.setPosition(AbstractCursorSupport.java:725) at org.eclipse.birt.report.engine.adapter.CubeUtil.positionCursor(CubeUtil.java:92) at org.eclipse.birt.report.engine.data.dte.CubeResultSet.skipTo(CubeResultSet.java:213) at org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.restoreParentResultSet(ReportItemExecutor.java:477) at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.doExecute(ExtendedItemExecutor.java:202) at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:180) ... 63 more

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeCursorImpl.java