created an attachment (id=155188)
report design

description:
  npe was thrown out while previewing crosstab related report in web viewer.

test build:
birt2.5.2 v20100104-0630

step to reproduce:

1. use the report attached
2. preview it in web viewer

error log:
caused by: java.lang.nullpointerexception
	at org.eclipse.birt.core.archive.compound.archiveentryinputstream.read(archiveentryinputstream.java:68)
	at java.io.filterinputstream.read(filterinputstream.java:66)
	at org.eclipse.birt.core.util.ioutil.readint(ioutil.java:198)
	at org.eclipse.birt.data.engine.olap.data.impl.aggregationresultsetsaveutil.readobjectarray(aggregationresultsetsaveutil.java:313)
	at org.eclipse.birt.data.engine.olap.data.impl.aggregationresultsetsaveutil.loadaggregationrow(aggregationresultsetsaveutil.java:223)
	at org.eclipse.birt.data.engine.olap.data.impl.cachedaggregationresultset.seek(cachedaggregationresultset.java:416)
	at org.eclipse.birt.data.engine.olap.cursor.edgedimensionrelation.<init>(edgedimensionrelation.java:108)
	at org.eclipse.birt.data.engine.olap.cursor.rowdataaccessor.initialize(rowdataaccessor.java:81)
	at org.eclipse.birt.data.engine.olap.driver.edgeaxis.populateedgeinfo(edgeaxis.java:190)
	at org.eclipse.birt.data.engine.olap.cursor.cubecursorimpl.<init>(cubecursorimpl.java:84)
	at org.eclipse.birt.data.engine.olap.cursor.cubecursorimpl.<init>(cubecursorimpl.java:51)
	at org.eclipse.birt.data.engine.olap.query.view.birtcubeview.createcubecursor(birtcubeview.java:219)
	at org.eclipse.birt.data.engine.olap.query.view.birtcubeview.getcubecursor(birtcubeview.java:178)
	at org.eclipse.birt.data.engine.olap.impl.query.cubequeryresults.getcubecursor(cubequeryresults.java:96)
	at org.eclipse.birt.report.engine.data.dte.cuberesultset.<init>(cuberesultset.java:78)
this bug is caused by reading data from a closed input stream. fix the bug.
verified in v20100105-0630