Project: Birt
Bug 220160 [Automation][Regression]Exception occurs when preview a cube with joint dataset[1102]
Reported: 2008-02-25 05:04:34 | Status: closed fixed

Description: [Automation][Regression]Exception occurs when preview a cube with joint dataset[1102] Build number: 2.3.0.v20080225-0080 Steps to reproduce: 1, New two datasets CUSTOMERS and ORDERS 2, New a joint dataset from two dataset and the join key is CUSTOMERNUMBER 3, New a cube using joint dataset 4, New a xtab using the cube 5, Preview Expected result: The preview should be ok Actual result: Exception occurs Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.NullPointerException: dataSource param cannot be null org.eclipse.birt.data.engine.impl.DataEngineImpl.defineDataSource(DataEngineImpl.java:158) org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.defineDataSource(DataRequestSessionImpl.java:135) org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.defineCube(DataRequestSessionImpl.java:513) org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.prepare(AbstractDataEngine.java:153) org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:101) org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:59) org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:51) org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:59) org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:137) org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:66) org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source) org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source) org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown Source) org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(Unknown Source) org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source) org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(Unknown Source) org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(Unknown Source)

Files changed in fix:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java