created an attachment (id=166438)
test report

description:
  npe throw out when preview this report

test build:
birt2.6.0 v20100428-0630

step to reproduce:

1. use the report attached.
2. preview as ppt

expect result:
report display correctly when preview

actual result:
throw out npe.

error log:
caused by: java.lang.nullpointerexception	at org.eclipse.birt.data.engine.olap.data.impl.dimension.level.close(level.java:124)	at org.eclipse.birt.data.engine.olap.data.impl.dimension.hierarchy.close(hierarchy.java:84)	at org.eclipse.birt.data.engine.olap.data.impl.dimension.dimension.close(dimension.java:303)	at org.eclipse.birt.data.engine.olap.data.impl.cube.close(cube.java:179)	at org.eclipse.birt.data.engine.olap.impl.query.cubequeryresults.getcubecursor(cubequeryresults.java:121)	at org.eclipse.birt.report.engine.data.dte.cuberesultset.<init>(cuberesultset.java:78)	at org.eclipse.birt.report.engine.data.dte.dtedataengine.doexecutecube(dtedataengine.java:224)	at org.eclipse.birt.report.engine.data.dte.abstractdataengine.execute(abstractdataengine.java:270)	at org.eclipse.birt.report.engine.executor.executormanager$executorcontext.executequery(executormanager.java:439)	at org.eclipse.birt.report.item.crosstab.core.re.executor.basecrosstabexecutor.executequery(basecrosstabexecutor.java:114)	at org.eclipse.birt.report.item.crosstab.core.re.executor.crosstabreportitemexecutor.execute(crosstabreportitemexecutor.java:102)	at org.eclipse.birt.report.engine.executor.extendeditemexecutor.execute(extendeditemexecutor.java:62)	at org.eclipse.birt.report.engine.internal.executor.dup.suppressduplicateitemexecutor.execute(suppressduplicateitemexecutor.java:43)	at org.eclipse.birt.report.engine.internal.executor.wrap.wrappedreportitemexecutor.execute(wrappedreportitemexecutor.java:46)	at org.eclipse.birt.report.engine.internal.executor.l18n.localizedreportitemexecutor.execute(localizedreportitemexecutor.java:34)	at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:65)	at org.eclipse.birt.report.engine.layout.html.htmlpagelm.layout(htmlpagelm.java:90)	at org.eclipse.birt.report.engine.layout.html.htmlreportlayoutengine.layout(htmlreportlayoutengine.java:99)	at org.eclipse.birt.report.engine.api.impl.runandrendertask.dorun(runandrendertask.java:169)	... 32 more
