created an attachment (id=158430)
report

description:
[automation] npe thrown out when preview a report with datasource property binding [0703]

build:
2.5.2.v20100208

steps to reproduce:
1. download attached report
2. preview

actual result:
npe thrown out

expect result:
no npe
org.eclipse.birt.report.service.api.reportserviceexception: error happened while running the report
   at org.eclipse.birt.report.service.reportengineservice.throwdummyexception(reportengineservice.java:1097)
   at org.eclipse.birt.report.service.reportengineservice.runreport(reportengineservice.java:1316)
   at org.eclipse.birt.report.service.birtviewerreportservice.runreport(birtviewerreportservice.java:158)
   at org.eclipse.birt.report.service.actionhandler.birtrunreportactionhandler.__execute(birtrunreportactionhandler.java:81)
   at org.eclipse.birt.report.service.actionhandler.birtgetpageactionhandler.__checkdocumentexists(birtgetpageactionhandler.java:58)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.prepareparameters(abstractgetpageactionhandler.java:119)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.__execute(abstractgetpageactionhandler.java:104)
   at org.eclipse.birt.report.service.actionhandler.abstractbaseactionhandler.execute(abstractbaseactionhandler.java:90)
   at org.eclipse.birt.report.soapengine.processor.abstractbasedocumentprocessor.__executeaction(abstractbasedocumentprocessor.java:47)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.executeaction(abstractbasecomponentprocessor.java:143)
   at org.eclipse.birt.report.soapengine.processor.birtdocumentprocessor.handlegetpage(birtdocumentprocessor.java:87)
   at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
   at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.process(abstractbasecomponentprocessor.java:112)
   at org.eclipse.birt.report.soapengine.endpoint.birtsoapbindingimpl.getupdatedobjects(birtsoapbindingimpl.java:66)
   at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
   at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.apache.axis.providers.java.rpcprovider.invokemethod(rpcprovider.java:397)
   at org.apache.axis.providers.java.rpcprovider.processmessage(rpcprovider.java:186)
   at org.apache.axis.providers.java.javaprovider.invoke(javaprovider.java:323)
   at org.apache.axis.strategies.invocationstrategy.visit(invocationstrategy.java:32)
   at org.apache.axis.simplechain.dovisiting(simplechain.java:118)
   at org.apache.axis.simplechain.invoke(simplechain.java:83)
   at org.apache.axis.handlers.soap.soapservice.invoke(soapservice.java:454)
   at org.apache.axis.server.axisserver.invoke(axisserver.java:281)
   at org.apache.axis.transport.http.axisservlet.dopost(axisservlet.java:699)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.dopost(birtsoapmessagedispatcherservlet.java:265)
   at javax.servlet.http.httpservlet.service(httpservlet.java:727)
   at org.apache.axis.transport.http.axisservletbase.service(axisservletbase.java:327)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.service(birtsoapmessagedispatcherservlet.java:122)
   at org.eclipse.equinox.http.registry.internal.servletmanager$servletwrapper.service(servletmanager.java:180)
   at org.eclipse.equinox.http.servlet.internal.servletregistration.handlerequest(servletregistration.java:90)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.processalias(proxyservlet.java:111)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.service(proxyservlet.java:59)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.equinox.http.jetty.internal.httpservermanager$internalhttpserviceservlet.service(httpservermanager.java:318)
   at org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:502)
   at org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:380)
   at org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181)
   at org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:765)
   at org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152)
   at org.mortbay.jetty.server.handle(server.java:324)
   at org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:535)
   at org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:880)
   at org.mortbay.jetty.httpparser.parsenext(httpparser.java:748)
   at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:219)
   at org.mortbay.jetty.httpconnection.handle(httpconnection.java:404)
   at org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:409)
   at org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:520)
caused by: org.eclipse.birt.report.engine.api.engineexception: error happened while running the report
   at org.eclipse.birt.report.engine.api.impl.runtask.dorun(runtask.java:261)
   at org.eclipse.birt.report.engine.api.impl.runtask.run(runtask.java:85)
   at org.eclipse.birt.report.service.reportengineservice.runreport(reportengineservice.java:1307)
... 52 more
caused by: java.lang.nullpointerexception
   at org.eclipse.birt.report.data.adapter.internal.adapter.odadatasourceadapter.(odadatasourceadapter.java:90)
   at org.eclipse.birt.report.data.adapter.impl.modeladapter.adaptdatasource(modeladapter.java:101)
   at org.eclipse.birt.report.engine.adapter.modeldteapiadapter.createdatasourcedesign(modeldteapiadapter.java:185)
   at org.eclipse.birt.report.engine.adapter.modeldteapiadapter.dodefinedatasource(modeldteapiadapter.java:239)
   at org.eclipse.birt.report.engine.adapter.modeldteapiadapter.definedataset(modeldteapiadapter.java:226)
   at org.eclipse.birt.report.engine.data.dte.abstractdataengine.prepare(abstractdataengine.java:147)
   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)
... 54 more
fix it now.
no npe. verified.