created an attachment (id=168677)
report design

description:
  exception was thrown out while previewing a report using a cube in a library.

test build:
birt2.6.0 v20100517-0630

step to reproduce:

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

error log:
caused by: org.eclipse.birt.report.item.crosstab.core.crosstabexception: crosstab row area contains null dimension definition or the specific dimension "cube.group1" does not exist in associated cube.
   at org.eclipse.birt.report.item.crosstab.core.re.crosstabqueryutil.addedgedefinition(crosstabqueryutil.java:304)
   at org.eclipse.birt.report.item.crosstab.core.re.crosstabqueryutil.createcubequery(crosstabqueryutil.java:162)
   at org.eclipse.birt.report.item.crosstab.core.re.crosstabreportitemquery.createreportqueries(crosstabreportitemquery.java:82)
   at org.eclipse.birt.report.engine.data.dte.reportquerybuilder$querybuildervisitor.visitextendeditem(reportquerybuilder.java:689)
... 65 more
created an attachment (id=168678)
library
evere: crosstab row area contains null dimension definition or the specific dimension "cube.group1" does not exist in associated cube. org.eclipse.birt.report.item.crosstab.core.crosstabexception: crosstab row area contains null dimension definition or the specific dimension "cube.group1" does not exist in associated cube. org.eclipse.birt.report.engine.api.engineexception: crosstab row area contains null dimension definition or the specific dimension "cube.group1" does not exist in associated cube.
	at org.eclipse.birt.report.engine.executor.executioncontext.addexception(executioncontext.java:1215)
	at org.eclipse.birt.report.engine.data.dte.reportquerybuilder$querybuildervisitor.visitextendeditem(reportquerybuilder.java:693)
	at org.eclipse.birt.report.engine.ir.extendeditemdesign.accept(extendeditemdesign.java:45)
	at org.eclipse.birt.report.engine.data.dte.reportquerybuilder.build(reportquerybuilder.java:256)
	at org.eclipse.birt.report.engine.data.dte.reportquerybuilder.build(reportquerybuilder.java:237)
	at org.eclipse.birt.report.engine.data.dte.abstractdataengine.prepare(abstractdataengine.java:178)
	at org.eclipse.birt.report.engine.executor.reportexecutor.execute(reportexecutor.java:123)
	at org.eclipse.birt.report.engine.internal.executor.wrap.wrappedreportexecutor.execute(wrappedreportexecutor.java:60)
	at org.eclipse.birt.report.engine.internal.executor.emitter.reportemitterexecutor.execute(reportemitterexecutor.java:77)
	at org.eclipse.birt.report.engine.internal.executor.wrap.wrappedreportexecutor.execute(wrappedreportexecutor.java:60)
	at org.eclipse.birt.report.engine.internal.executor.dup.suppressduplciatereportexecutor.execute(suppressduplciatereportexecutor.java:42)
	at org.eclipse.birt.report.engine.presentation.reportdocumentbuilder.build(reportdocumentbuilder.java:234)
	at org.eclipse.birt.report.engine.api.impl.runtask.dorun(runtask.java:252)
	at org.eclipse.birt.report.engine.api.impl.runtask.run(runtask.java:111)
	at com.actuate.reportapi.engine.birt.reportgenerationtask.runtask(unknown source)
	at com.actuate.reportapi.engine.birt.reportgenerationtask.generatereport(unknown source)
	at com.actuate.reportapi.engine.reportgenerationtaskbase.dotask(unknown source)
	at com.actuate.reportapi.engine.task.execute(unknown source)
	at com.actuate.reportapi.enginemanager.threadpool$controlrunnable.run(unknown source)
	at java.lang.thread.run(unknown source)
caused by: org.eclipse.birt.report.item.crosstab.core.crosstabexception: crosstab row area contains null dimension definition or the specific dimension "cube.group1" does not exist in associated cube.
	at org.eclipse.birt.report.item.crosstab.core.re.crosstabqueryutil.addedgedefinition(crosstabqueryutil.java:304)
	at org.eclipse.birt.report.item.crosstab.core.re.crosstabqueryutil.createcubequery(crosstabqueryutil.java:162)
	at org.eclipse.birt.report.item.crosstab.core.re.crosstabreportitemquery.createreportqueries(crosstabreportitemquery.java:82)
	at org.eclipse.birt.report.engine.data.dte.reportquerybuilder$querybuildervisitor.visitextendeditem(reportquerybuilder.java:689)
	... 18 more
fixed in head and 2.5.x.
verified in v20100520-0630