created an attachment (id=156357)
report design

description:
  npe was thrown out while previewing report.

test build:
birt2.5.2 v20100118-0630

step to reproduce:

1. use the report attached
2. preview it

error log:
caused by: java.lang.nullpointerexception
	at org.eclipse.birt.data.aggregation.impl.totalsum$myaccumulator.onrow(totalsum.java:110)
	at org.eclipse.birt.data.engine.olap.data.impl.aggregation.aggregationcalculator.newaggregationresultrow(aggregationcalculator.java:264)
	at org.eclipse.birt.data.engine.olap.data.impl.aggregation.aggregationcalculator.onrow(aggregationcalculator.java:154)
	at org.eclipse.birt.data.engine.olap.data.impl.aggregation.aggregationexecutor.execute(aggregationexecutor.java:125)
	at org.eclipse.birt.data.engine.olap.data.api.cubequeryexecutorhelper.onepassexecute(cubequeryexecutorhelper.java:508)
	at org.eclipse.birt.data.engine.olap.data.api.cubequeryexecutorhelper.execute(cubequeryexecutorhelper.java:337)
	at org.eclipse.birt.data.engine.olap.query.view.queryexecutor.populaters(queryexecutor.java:192)
	at org.eclipse.birt.data.engine.olap.query.view.queryexecutor.execute(queryexecutor.java:122)
	at org.eclipse.birt.data.engine.olap.query.view.birtcubeview.createcubecursor(birtcubeview.java:198)
	at org.eclipse.birt.data.engine.olap.query.view.birtcubeview.getcubecursor(birtcubeview.java:178)
for "aggregation" binding, cubequerydefinition.addbinding(ibinding) recieved an invalid ibinding instance from chartcubequeryhelper.bindbinding(ibinding, icubequerydefinition, cubehandle):

only aggregation function name, i.e. "sum" is set, no arguments is set.
added binding arguments to cube query definition.
verified in v20100128-0630