Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Birt Sample Report(Error while loading the SalesInvoice sample report)
Birt Sample Report [message #660626] Sun, 20 March 2011 08:11 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: March 2011
Junior Member
I am new to Birt and while trying out the SalesInvoice.rptdesign sample report I have encountered following exception

org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection
SEVERE: Unable to open connection.
Throwable occurred: org.eclipse.birt.report.data.oda.jdbc.JDBCException: Failed to get connection.
SQL error #1:Failed to start database 'C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp/BIRTS ampleDB_1300606745895_55785578/BirtSample', see the next exception for details.
SQL error #2:Java exception: 'org.apache.geronimo.derby.DerbyUserAuthenticator: java.lang.ClassNotFoundException'.
;
java.sql.SQLException: Failed to start database 'C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp/BIRTS ampleDB_1300606745895_55785578/BirtSample', see the next exception for details.
at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUr l(Connection.java:248)
at org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connec tion.java:162)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:250)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:165)
at org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:224)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:212)
at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:208)
at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:406)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:316)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:455)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.pr oduceQueryResults(PreparedDataSourceQuery.java:190)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:178)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:145)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.execute(DataRequestSessionImpl.java:616)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:152)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine .doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1890)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.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.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:249)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)
Caused by: java.sql.SQLException: Failed to start database 'C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp/BIRTS ampleDB_1300606745895_55785578/BirtSample', see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLExcep tion(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unkn own Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.connect(Unknown Source)
at org.eclipse.birt.report.data.oda.sampledb.SampleDBJDBCConnec tionFactory.getConnection(SampleDBJDBCConnectionFactory.java :80)
at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doCo nnect(JDBCDriverManager.java:239)
at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getC onnection(JDBCDriverManager.java:212)
at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUr l(Connection.java:237)
... 84 more
Caused by: java.sql.SQLException: Failed to start database 'C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp/BIRTS ampleDB_1300606745895_55785578/BirtSample', see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLExcepti on(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsFor TransportAcrossDRDA(Unknown Source)
... 96 more
Caused by: java.sql.SQLException: Java exception: 'org.apache.geronimo.derby.DerbyUserAuthenticator: java.lang.ClassNotFoundException'.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLExcepti on(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsFor TransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLExcep tion(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
... 93 more
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.derby.DerbyUserAuthenticator
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:139)
at org.apache.derby.impl.jdbc.authentication.SpecificAuthentica tionServiceImpl.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unkn own Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule (Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModu le(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceMo dule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.bootAuthenticationSer vice(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unkn own Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule (Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootServi ce(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startProv iderService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.findProvi derAndStartService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startPers istentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startPersiste ntService(Unknown Source)
... 93 more

Can somebody please help in resolving this issue.

Cheers
Re: Birt Sample Report [message #660634 is a reply to message #660626] Sun, 20 March 2011 14:13 Go to previous messageGo to next message
Richard A. Polunsky is currently offline Richard A. PolunskyFriend
Messages: 199
Registered: July 2009
Location: Houston TX
Senior Member

I don't think that's specifically a BIRT issue. Maybe WebSphere or something else. What did you get BIRT bundled with? I use BIRT, but I use either the RCP or the Eclipse All-In-One package and there are no references to WebSphere in those. Also, where did your "SalesInvoice" sample report come from?
Re: Birt Sample Report [message #661746 is a reply to message #660634] Sun, 27 March 2011 06:00 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: March 2011
Junior Member
Hi Richard

I am using birt with Websphere Application Server Community edition. I got the "SalesInvoice" Report from birt webpage.

After having no success with the sample report, I have now created my own report in eclipse with a Derby Data Source that points to a folder on my C Drive. The report works fine while viewing it through the web viewer in eclipse. However, when I deploy the report to WAS CE I am getting following exception



27/03/2011 4:51:11 PM org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection
SEVERE: Unable to open connection.
Throwable occurred: org.eclipse.birt.report.data.oda.jdbc.JDBCException: There is an error in get connection, Failed to start database 'directory:/C:\birtruntime\waddington', see the next exception for details..
at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doCo nnect(JDBCDriverManager.java:262)
at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getC onnection(JDBCDriverManager.java:212)
at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUr l(Connection.java:237)
at org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connec tion.java:162)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:250)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:165)
at org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:224)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:212)
at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:208)
at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:406)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:316)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:455)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.pr oduceQueryResults(PreparedDataSourceQuery.java:190)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:178)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:145)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.execute(DataRequestSessionImpl.java:616)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:152)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine .doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1890)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.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.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:249)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)

I have placed the derby 10.5.3.1 jar inside \WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.j dbc_2.6.2.r262_v20110127\drivers.

Any help in this regard is much appreciated.

Thanks
Re: Birt Sample Report [message #661936 is a reply to message #661746] Mon, 28 March 2011 14:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This looks like a permission issue. You should not have to put the
derby db jar in the drivers directory. This will probably cause it to
fail. In your web app server are you setting java.io.tmpdir? That is
the default location for the sample db.

Jason

On 3/27/2011 2:00 AM, atif.mehmood@live.com wrote:
> Hi Richard
>
> I am using birt with Websphere Application Server Community edition. I
> got the "SalesInvoice" Report from birt webpage.
>
> After having no success with the sample report, I have now created my
> own report in eclipse with a Derby Data Source that points to a folder
> on my C Drive. The report works fine while viewing it through the web
> viewer in eclipse. However, when I deploy the report to WAS CE I am
> getting following exception
>
>
>
> 27/03/2011 4:51:11 PM
> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection
> SEVERE: Unable to open connection.
> Throwable occurred: org.eclipse.birt.report.data.oda.jdbc.JDBCException:
> There is an error in get connection, Failed to start database
> 'directory:/C:\birtruntime\waddington', see the next exception for
> details..
> at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doCo
> nnect(JDBCDriverManager.java:262)
> at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getC
> onnection(JDBCDriverManager.java:212)
> at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUr
> l(Connection.java:237)
> at org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connec
> tion.java:162)
> at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo
> nnection.open(OdaConnection.java:250)
> at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o
> penConnection(ConnectionManager.java:165)
> at org.eclipse.birt.data.engine.executor.DataSource.newConnecti
> on(DataSource.java:224)
> at org.eclipse.birt.data.engine.executor.DataSource.open(DataSo
> urce.java:212)
> at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD
> ataSource(DataSourceRuntime.java:208)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour
> ce(QueryExecutor.java:406)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu
> tion(QueryExecutor.java:316)
> at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr
> eparedQuery.java:455)
> at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.pr
> oduceQueryResults(PreparedDataSourceQuery.java:190)
> at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex
> ecute(PreparedDataSourceQuery.java:178)
> at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute
> (PreparedOdaDSQuery.java:145)
> at org.eclipse.birt.report.data.adapter.impl.DataRequestSession
> Impl.execute(DataRequestSessionImpl.java:616)
> at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec
> uteQuery(DteDataEngine.java:152)
> at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine
> .doExecuteQuery(DataGenerationEngine.java:80)
> at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e
> xecute(AbstractDataEngine.java:265)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.exe
> cuteQuery(ExecutionContext.java:1890)
> at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex
> ecuteQuery(QueryItemExecutor.java:80)
> at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex
> ecute(TableItemExecutor.java:62)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
> at org.eclipse.birt.report.engine.internal.executor.emitter.Rep
> ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
> at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
> sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
> at org.eclipse.birt.report.engine.internal.executor.l18n.Locali
> zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:34)
> at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking
> LM.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.HTMLReportLayoutE
> ngine.layout(HTMLReportLayoutEngine.java:99)
> at org.eclipse.birt.report.engine.presentation.ReportDocumentBu
> ilder.build(ReportDocumentBuilder.java:249)
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at org.eclipse.birt.report.service.ReportEngineService.runRepor
> t(ReportEngineService.java:1315)
> at org.eclipse.birt.report.service.BirtViewerReportService.runR
> eport(BirtViewerReportService.java:158)
> at org.eclipse.birt.report.service.actionhandler.BirtRunReportA
> ctionHandler.__execute(BirtRunReportActionHandler.java:81)
> at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct
> ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
> at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc
> tionHandler.execute(AbstractBaseActionHandler.java:90)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc
> umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
> at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro
> cessor.handleGetPage(BirtDocumentProcessor.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
> at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI
> mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP
> rovider.java:397)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RP
> CProvider.java:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi
> der.java:323)
> at org.apache.axis.strategies.InvocationStrategy.visit(Invocati
> onStrategy.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(AxisServle t.java:699)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191)
> at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
> at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet
> hodValve.invoke(GeronimoStandardContext.java:406)
> at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in
> voke(GeronimoBeforeAfterValve.java:47)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:555)
> at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T
> hreadCleanerValve.java:40)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
> at java.lang.Thread.run(Thread.java:736)
>
> I have placed the derby 10.5.3.1 jar inside
> \WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.j
> dbc_2.6.2.r262_v20110127\drivers.
>
> Any help in this regard is much appreciated.
>
> Thanks
Re: Birt Sample Report [message #662816 is a reply to message #661936] Fri, 01 April 2011 04:42 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: March 2011
Junior Member
Jason

Thanks for your reply.

Actually, I have not specified java.io.tmpdir any where in Websphere application server CE. I just did what was mentioned on the Birt website. Do I need to specify the temp dir when I configure database url in my Birt report as 'directory:/C:\birtruntime\waddington'?.


Thanks
Re: Birt Sample Report [message #662958 is a reply to message #662816] Fri, 01 April 2011 15:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I would try setting the system java.io.tmpdir variable. It may be
already set. To see your current variables run the attached report.

Jason

<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22"
id="1">
<property name="comments">Copyright (c) 2006 Innovent Solutions,
Inc.</property>
<property name="createdBy">Eclipse BIRT Designer Version
2.6.1.v20100902 Build &lt;2.6.1.v20100915-1750></property>
<property name="units">in</property>
<method name="beforeFactory"><![CDATA[// Create a hash table which
will contain lists of other lists
//importPackages(Packages.java.util);
var topMap = new Packages.java.util.Hashtable();


// Request Attributes
var request = reportContext.getHttpServletRequest();
var requestAttrMap = new Packages.java.util.Hashtable();
var attrNames = request.getAttributeNames();
do {
var aName = attrNames.nextElement();
requestAttrMap.put(aName, request.getAttribute(aName).toString());
} while (attrNames.hasMoreElements())
topMap.put("requestAttributes", requestAttrMap);

// Request Parameters
var requestParamMap = new Packages.java.util.Hashtable();
var paramIter = request.getParameterMap().entrySet().iterator();
do{
var entry = paramIter.next();
requestParamMap.put(entry.getKey(), (entry.getValue()[0]));
} while (paramIter.hasNext())
topMap.put("requestParameters",requestParamMap);


// Session Attributes
var sessionAttrMap = new Packages.java.util.Hashtable();
var session = request.getSession();
// Insert a variable on the session
session.setAttribute("ReportAttribute", "arbitrary value to pass to
container");
var sessionAttrNames = session.getAttributeNames();
var i = 0;
do {
i ++;
var aaa = sessionAttrNames.nextElement();
sessionAttrMap.put(aaa, session.getAttribute(aaa));
} while (sessionAttrNames.hasMoreElements())
topMap.put("sessionAttributes", sessionAttrMap);




// Get the system properties
topMap.put("systemProps", Packages.java.lang.System.getProperties());

importPackage(Packages.java.lang.management)
var RuntimemxBean = ManagementFactory.getRuntimeMXBean();
arguments = RuntimemxBean.getInputArguments();
var argsMap = new Packages.java.util.Hashtable();
iterator = arguments.iterator();
while ( iterator.hasNext() ){
var val = iterator.next();
argsMap.put( val, val );
}
topMap.put("vmargs", argsMap);

// Store top map as a global
reportContext.setPersistentGlobalVariable("topMap", topMap);]]></method>
<property name="layoutPreference">auto layout</property>
<data-sources>
<script-data-source name="setScript" id="4"/>
</data-sources>
<data-sets>
<script-data-set name="setEnvironmentVars" id="5">
<list-property name="resultSetHints">
<structure>
<property name="position">1</property>
<property name="name">propName</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">propValue</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">propType</property>
<property name="dataType">string</property>
</structure>
</list-property>
<list-property name="columnHints">
<structure>
<property name="columnName">propName</property>
</structure>
<structure>
<property name="columnName">propValue</property>
</structure>
<structure>
<property name="columnName">propType</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">propName</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">propValue</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">propType</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">setScript</property>
<method name="open"><![CDATA[aMap =
reportContext.getPersistentGlobalVariable("topMap");
topIter = aMap.entrySet().iterator();
if (topIter == null)
{
topIterator = new Packages.java.util.Iterator();
Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " );
}
innerIter = null;]]></method>
<method name="fetch"><![CDATA[do
{ // find an innerIter that has a new value
if (innerIter == null || innerIter.hasNext() == false)
{ // no value in the inner iterator, get the next Hashtable out of the
toHashtable
if (topIter.hasNext())
{
outerObject = topIter.next();
innerIter = outerObject.getValue().entrySet().iterator();
}
else
{ // no more top hash tables. close things up
return false;
}
}
}
while (innerIter.hasNext() == false)

// we must have another innerIter
innerObject = innerIter.next();

row["propName"] = innerObject.getKey();
row["propValue"] = innerObject.getValue().toString();
row["propType"] = outerObject.getKey();
return true;



/*
Iterator i = topMap.entrySet().iterator();
while (i.hasNext()) {
Entry entry = (Entry) i.next();
logger.info(entry.getKey() + " " + entry.getValue() );
}
*/]]></method>
</script-data-set>
</data-sets>
<styles>
<style name="detail" id="36">
<property name="backgroundColor">#FFFF80</property>
<property name="fontFamily">"Arial"</property>
<property name="fontSize">small</property>
</style>
<style name="headerfooter" id="37">
<property name="backgroundColor">#004080</property>
<property name="fontFamily">"Arial"</property>
<property name="fontSize">small</property>
<property name="fontWeight">bold</property>
<property name="color">#FFFFFF</property>
</style>
<style name="groupheader" id="38">
<property name="backgroundColor">#0080FF</property>
<property name="fontFamily">"Arial"</property>
<property name="fontSize">small</property>
<property name="fontWeight">bold</property>
<property name="color">#FFFFFF</property>
</style>
</styles>
<page-setup>
<simple-master-page name="Simple MasterPage" id="2">
<property name="orientation">landscape</property>
<property name="topMargin">0.5in</property>
<property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.5in</property>
<property name="rightMargin">0.5in</property>
</simple-master-page>
</page-setup>
<body>
<table id="6">
<property name="width">100%</property>
<property name="dataSet">setEnvironmentVars</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">propName</property>
<expression
name="expression">dataSetRow["propName"]</expression>
</structure>
<structure>
<property name="name">propValue</property>
<expression
name="expression">dataSetRow["propValue"]</expression>
</structure>
<structure>
<property name="name">propType</property>
<expression
name="expression">dataSetRow["propType"]</expression>
<simple-property-list name="aggregateOn">
<value>propType</value>
</simple-property-list>
</structure>
</list-property>
<property name="pageBreakInterval">50</property>
<column id="16"/>
<column id="17"/>
<header>
<row id="7">
<property name="style">headerfooter</property>
<cell id="8">
<label id="18">
<text-property
name="text">propName</text-property>
</label>
</cell>
<cell id="9">
<label id="20">
<text-property
name="text">propValue</text-property>
</label>
</cell>
</row>
</header>
<group id="22">
<property name="groupName">propType</property>
<property name="interval">none</property>
<property name="sortDirection">asc</property>
<expression name="keyExpr">row["propType"]</expression>
<structure name="toc">
<expression
name="expressionValue">row["propType"]</expression>
</structure>
<header>
<row id="23">
<property name="backgroundColor">#FFFF80</property>
<cell id="24">
<data id="29">
<property name="fontWeight">bold</property>
<property
name="resultSetColumn">propType</property>
</data>
</cell>
<cell id="25"/>
</row>
<row id="33">
<property name="height">2pt</property>
<property name="backgroundColor">#000000</property>
<cell id="34"/>
<cell id="35"/>
</row>
</header>
<footer>
<row id="26">
<cell id="27"/>
<cell id="28"/>
</row>
</footer>
</group>
<detail>
<row id="10">
<property name="style">groupheader</property>
<cell id="11">
<data id="19">
<property name="fontSize">small</property>
<property
name="resultSetColumn">propName</property>
</data>
</cell>
<cell id="12">
<data id="21">
<property name="fontSize">small</property>
<property
name="resultSetColumn">propValue</property>
</data>
</cell>
</row>
<row id="30">
<property name="height">2pt</property>
<property name="backgroundColor">#C0C0C0</property>
<cell id="31"/>
<cell id="32"/>
</row>
</detail>
<footer>
<row id="13">
<cell id="14"/>
<cell id="15"/>
</row>
</footer>
</table>
</body>
</report>



On 4/1/2011 12:42 AM, atif.mehmood@live.com wrote:
> Jason
>
> Thanks for your reply.
>
> Actually, I have not specified java.io.tmpdir any where in Websphere
> application server CE. I just did what was mentioned on the Birt
> website. Do I need to specify the temp dir when I configure database url
> in my Birt report as 'directory:/C:\birtruntime\waddington'?.
>
>
> Thanks
>
Re: Birt Sample Report [message #663085 is a reply to message #662958] Sun, 03 April 2011 12:29 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: March 2011
Junior Member
Hi Jason

I believe there are some serious issues in my BIRT and Websphere CE configuration. I tried running the report, however it was blank with just the header column displaying propName and propValue. When I checked the logs I found this nested exception

03/04/2011 10:21:00 PM org.eclipse.birt.report.engine.script.internal.ScriptExecuto r addException
WARNING: Unhandled exception when executing script.
Throwable occurred: org.eclipse.birt.report.engine.api.EngineException: Unhandled exception when executing script.
at org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.addException(ScriptExecutor.java:162)
at org.eclipse.birt.report.engine.script.internal.ReportScriptE xecutor.handleBeforeFactory(ReportScriptExecutor.java:82)
at org.eclipse.birt.report.engine.api.impl.EngineTask.startFact ory(EngineTask.java:1804)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:218)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.mozilla.javascript.EvaluatorException: missing ; before statement (/report/method[@name="beforeFactory"]#2)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Def aultErrorReporter.java:109)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErr orReporter.java:96)
at org.mozilla.javascript.Parser.addError(Parser.java:146)
at org.mozilla.javascript.Parser.reportError(Parser.java:160)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:12 66)
at org.mozilla.javascript.Parser.statement(Parser.java:707)
at org.mozilla.javascript.Parser.parse(Parser.java:401)
at org.mozilla.javascript.Parser.parse(Parser.java:338)
at org.mozilla.javascript.Context.compileImpl(Context.java:2368 )
at org.mozilla.javascript.Context.compileString(Context.java:13 59)
at org.mozilla.javascript.Context.compileString(Context.java:13 48)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 .run(JavascriptEngine.java:232)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 .run(JavascriptEngine.java:1)
at java.security.AccessController.doPrivileged(AccessController .java:202)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c ompile(JavascriptEngine.java:228)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c ompile(JavascriptEngine.java:1)
at org.eclipse.birt.core.script.ScriptContext.compile(ScriptCon text.java:148)
at org.eclipse.birt.report.engine.executor.ExecutionContext.com pile(ExecutionContext.java:762)
at org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:696)
at org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.handleScriptInternal(ScriptExecutor.java:61)
at org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.handleScript(ScriptExecutor.java:48)
at org.eclipse.birt.report.engine.script.internal.ReportScriptE xecutor.handleBeforeFactory(ReportScriptExecutor.java:74)
... 57 more
03/04/2011 10:21:02 PM org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor handleJS
WARNING: Fail to execute script in function __bm_OPEN(). Source:
------
" + aMap =
reportContext.getPersistentGlobalVariable("topMap");
topIter = aMap.entrySet().iterator();
if (topIter == null)
{
topIterator = new Packages.java.util.Iterator();
Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " );
}
innerIter = null; + "
-----
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: TypeError: Cannot call method "entrySet" of null (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line: 0, text:
__bm_OPEN()
Throwable occurred: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_OPEN(). Source:
------
" + aMap =
reportContext.getPersistentGlobalVariable("topMap");
topIter = aMap.entrySet().iterator();
if (topIter == null)
{
topIterator = new Packages.java.util.Iterator();
Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " );
}
innerIter = null; + "
-----
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: TypeError: Cannot call method "entrySet" of null (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line: 0, text:
__bm_OPEN()
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript (JSMethodRunner.java:147)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScript Executor.handleJS(DataSetScriptExecutor.java:246)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSet ScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:9 7)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open( ScriptDataSetRuntime.java:80)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.j ava:247)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :223)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer yExecutor.java:1103)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe cuteQuery(ServiceForQueryResults.java:232)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter ator(QueryResults.java:173)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init >(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine .doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1890)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.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.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:258)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: TypeError: Cannot call method "entrySet" of null (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line: 0, text:
__bm_OPEN()
at org.eclipse.birt.data.engine.core.DataException.wrap(DataExc eption.java:118)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ SAsExpr(ScriptEvalUtil.java:1005)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript (JSMethodRunner.java:138)
... 79 more
Caused by: org.eclipse.birt.core.exception.CoreException: Error evaluating Javascript expression. Script engine error: TypeError: Cannot call method "entrySet" of null (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line: 0, text:
__bm_OPEN()
at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoExc eption(JavascriptEvalUtil.java:303)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS cript(JavascriptEvalUtil.java:102)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScri pt(JavascriptEvalUtil.java:134)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ SAsExpr(ScriptEvalUtil.java:1001)
... 80 more
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "entrySet" of null (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu ntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu ntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime .java:3660)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntim e.java:3679)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRu ntime.java:3698)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisH elper(ScriptRuntime.java:2221)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis( ScriptRuntime.java:2214)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRun time.java:117)
at org.mozilla.javascript.gen.c4._c1(/report/data-sets/script-d ata-set[@id= "5"]/method[@name="open"]:3)
at org.mozilla.javascript.gen.c4.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="open"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRun time.java:108)
at org.mozilla.javascript.gen.c5._c0(/report/data-sets/script-d ata-set[@id= "5"]/method[@name="open"])
at org.mozilla.javascript.gen.c5.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="open"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:3065)
at org.mozilla.javascript.gen.c5.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="open"])
at org.mozilla.javascript.gen.c5.exec(/report/data-sets/script- data-set[@id= "5"]/method[@name="open"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS cript(JavascriptEvalUtil.java:95)
... 82 more
03/04/2011 10:21:02 PM org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor handleJS
WARNING: Fail to execute script in function __bm_FETCH(). Source:
------
" + do
{ // find an innerIter that has a new value
if (innerIter == null || innerIter.hasNext() == false)
{ // no value in the inner iterator, get the next Hashtable out of the
toHashtable
if (topIter.hasNext())
{
outerObject = topIter.next();
innerIter = outerObject.getValue().entrySet().iterator();
}
else
{ // no more top hash tables. close things up
return false;
}
}
}
while (innerIter.hasNext() == false)

// we must have another innerIter
innerObject = innerIter.next();

row["propName"] = innerObject.getKey();
row["propValue"] = innerObject.getValue().toString();
row["propType"] = outerObject.getKey();
return true;



/*
Iterator i = topMap.entrySet().iterator();
while (i.hasNext()) {
Entry entry = (Entry) i.next();
logger.info(entry.getKey() + " " + entry.getValue() );
}
*/ + "
-----
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError: "innerIter" is not defined.
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line: 0, text:
__bm_FETCH()
Throwable occurred: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_FETCH(). Source:
------
" + do
{ // find an innerIter that has a new value
if (innerIter == null || innerIter.hasNext() == false)
{ // no value in the inner iterator, get the next Hashtable out of the
toHashtable
if (topIter.hasNext())
{
outerObject = topIter.next();
innerIter = outerObject.getValue().entrySet().iterator();
}
else
{ // no more top hash tables. close things up
return false;
}
}
}
while (innerIter.hasNext() == false)

// we must have another innerIter
innerObject = innerIter.next();

row["propName"] = innerObject.getKey();
row["propValue"] = innerObject.getValue().toString();
row["propType"] = outerObject.getKey();
return true;



/*
Iterator i = topMap.entrySet().iterator();
while (i.hasNext()) {
Entry entry = (Entry) i.next();
logger.info(entry.getKey() + " " + entry.getValue() );
}
*/ + "
-----
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError: "innerIter" is not defined.
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line: 0, text:
__bm_FETCH()
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript (JSMethodRunner.java:147)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScript Executor.handleJS(DataSetScriptExecutor.java:246)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSet ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 140)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch (ScriptDataSetRuntime.java:103)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery. java:260)
at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch (OdiAdapter.java:226)
at org.eclipse.birt.data.engine.executor.cache.RowResultSet.nex t(RowResultSet.java:105)
at org.eclipse.birt.data.engine.executor.cache.ExpandableRowRes ultSet.next(ExpandableRowResultSet.java:63)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .populateData(SmartCacheHelper.java:316)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .initInstance(SmartCacheHelper.java:285)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .getResultSetCache(SmartCacheHelper.java:246)
at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init >(SmartCache.java:73)
at org.eclipse.birt.data.engine.executor.transform.pass.PassUti l.populateOdiResultSet(PassUtil.java:110)
at org.eclipse.birt.data.engine.executor.transform.pass.PassUti l.pass(PassUtil.java:62)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateResultSetCacheInResultSetPopulator(PassManager. java:317)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateDataSet(PassManager.java:279)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.prepareDataSetResultSet(PassManager.java:98)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.pass(PassManager.java:125)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateResultSet(PassManager.java:74)
at org.eclipse.birt.data.engine.executor.transform.ResultSetPop ulator.populateResultSet(ResultSetPopulator.java:198)
at org.eclipse.birt.data.engine.executor.transform.CachedResult Set. <init>(CachedResultSet.java:195)
at org.eclipse.birt.data.engine.executor.CandidateQuery.execute (CandidateQuery.java:106)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :226)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer yExecutor.java:1103)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe cuteQuery(ServiceForQueryResults.java:232)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter ator(QueryResults.java:173)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init >(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine .doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1890)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.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.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:258)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError: "innerIter" is not defined.
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line: 0, text:
__bm_FETCH()
at org.eclipse.birt.data.engine.core.DataException.wrap(DataExc eption.java:118)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ SAsExpr(ScriptEvalUtil.java:1005)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript (JSMethodRunner.java:138)
... 96 more
Caused by: org.eclipse.birt.core.exception.CoreException: Error evaluating Javascript expression. Script engine error: ReferenceError: "innerIter" is not defined.
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line: 0, text:
__bm_FETCH()
at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoExc eption(JavascriptEvalUtil.java:303)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS cript(JavascriptEvalUtil.java:102)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScri pt(JavascriptEvalUtil.java:134)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ SAsExpr(ScriptEvalUtil.java:1001)
... 97 more
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "innerIter" is not defined.
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu ntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu ntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRun time.java:3717)
at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRu ntime.java:1758)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java :1697)
at org.mozilla.javascript.gen.c6._c1(/report/data-sets/script-d ata-set[@id= "5"]/method[@name="fetch"])
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="fetch"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRun time.java:108)
at org.mozilla.javascript.gen.c7._c0(/report/data-sets/script-d ata-set[@id= "5"]/method[@name="fetch"])
at org.mozilla.javascript.gen.c7.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="fetch"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:3065)
at org.mozilla.javascript.gen.c7.call(/report/data-sets/script- data-set[@id= "5"]/method[@name="fetch"])
at org.mozilla.javascript.gen.c7.exec(/report/data-sets/script- data-set[@id= "5"]/method[@name="fetch"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS cript(JavascriptEvalUtil.java:95)
... 99 more
03/04/2011 10:21:02 PM org.eclipse.birt.report.engine.script.internal.ScriptExecuto r addException
WARNING: Data Set script method "Fetch" returned null; expected a Boolean value.
Throwable occurred: org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value.
at org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.addException(ScriptExecutor.java:158)
at org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.addException(ScriptExecutor.java:147)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSet ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 162)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch (ScriptDataSetRuntime.java:103)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery. java:260)
at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch (OdiAdapter.java:226)
at org.eclipse.birt.data.engine.executor.cache.RowResultSet.nex t(RowResultSet.java:105)
at org.eclipse.birt.data.engine.executor.cache.ExpandableRowRes ultSet.next(ExpandableRowResultSet.java:63)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .populateData(SmartCacheHelper.java:316)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .initInstance(SmartCacheHelper.java:285)
at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper .getResultSetCache(SmartCacheHelper.java:246)
at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init >(SmartCache.java:73)
at org.eclipse.birt.data.engine.executor.transform.pass.PassUti l.populateOdiResultSet(PassUtil.java:110)
at org.eclipse.birt.data.engine.executor.transform.pass.PassUti l.pass(PassUtil.java:62)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateResultSetCacheInResultSetPopulator(PassManager. java:317)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateDataSet(PassManager.java:279)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.prepareDataSetResultSet(PassManager.java:98)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.pass(PassManager.java:125)
at org.eclipse.birt.data.engine.executor.transform.pass.PassMan ager.populateResultSet(PassManager.java:74)
at org.eclipse.birt.data.engine.executor.transform.ResultSetPop ulator.populateResultSet(ResultSetPopulator.java:198)
at org.eclipse.birt.data.engine.executor.transform.CachedResult Set. <init>(CachedResultSet.java:195)
at org.eclipse.birt.data.engine.executor.CandidateQuery.execute (CandidateQuery.java:106)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :226)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer yExecutor.java:1103)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe cuteQuery(ServiceForQueryResults.java:232)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter ator(QueryResults.java:173)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init >(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine .doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1890)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
at org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.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.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:258)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1315)
at org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.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(AxisServle t.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:406)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:47)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:555)
at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T hreadCleanerValve.java:40)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.birt.data.engine.core.DataException: Data Set script method "Fetch" returned null; expected a Boolean value.
at org.eclipse.birt.report.engine.script.internal.ScriptDataSet ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 150)
... 93 more

I did manage to find out the value of java.io.tmpdir variable in Websphere CE and it is set to
C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp


I am totally lost as I can not proceed any further without your help.

Any help is much appreciated.
Re: Birt Sample Report [message #663646 is a reply to message #663085] Wed, 06 April 2011 02:43 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

That error looks like there is something wrong with the beforeFactory
script. I am not certain why that is happening in your environment.
Can you open a bugzilla entry for the original error?

Jason

On 4/3/2011 8:30 AM, atif.mehmood@live.com wrote:
> Hi Jason
>
> I believe there are some serious issues in my BIRT and Websphere CE
> configuration. I tried running the report, however it was blank with
> just the header column displaying propName and propValue. When I checked
> the logs I found this nested exception
>
> 03/04/2011 10:21:00 PM
> org.eclipse.birt.report.engine.script.internal.ScriptExecuto r addException
> WARNING: Unhandled exception when executing script.
> Throwable occurred: org.eclipse.birt.report.engine.api.EngineException:
> Unhandled exception when executing script.
> at org.eclipse.birt.report.engine.script.internal.ScriptExecuto
> r.addException(ScriptExecutor.java:162)
> at org.eclipse.birt.report.engine.script.internal.ReportScriptE
> xecutor.handleBeforeFactory(ReportScriptExecutor.java:82)
> at org.eclipse.birt.report.engine.api.impl.EngineTask.startFact
> ory(EngineTask.java:1804)
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:218)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at org.eclipse.birt.report.service.ReportEngineService.runRepor
> t(ReportEngineService.java:1315)
> at org.eclipse.birt.report.service.BirtViewerReportService.runR
> eport(BirtViewerReportService.java:158)
> at org.eclipse.birt.report.service.actionhandler.BirtRunReportA
> ctionHandler.__execute(BirtRunReportActionHandler.java:81)
> at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct
> ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
> at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc
> tionHandler.execute(AbstractBaseActionHandler.java:90)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc
> umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
> at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro
> cessor.handleGetPage(BirtDocumentProcessor.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
> at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI
> mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP
> rovider.java:397)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RP
> CProvider.java:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi
> der.java:323)
> at org.apache.axis.strategies.InvocationStrategy.visit(Invocati
> onStrategy.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(AxisServle t.java:699)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191)
> at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
> at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet
> hodValve.invoke(GeronimoStandardContext.java:406)
> at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in
> voke(GeronimoBeforeAfterValve.java:47)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:555)
> at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T
> hreadCleanerValve.java:40)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: org.mozilla.javascript.EvaluatorException: missing ; before
> statement (/report/method[@name="beforeFactory"]#2)
> at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Def
> aultErrorReporter.java:109)
> at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErr
> orReporter.java:96)
> at org.mozilla.javascript.Parser.addError(Parser.java:146)
> at org.mozilla.javascript.Parser.reportError(Parser.java:160)
> at org.mozilla.javascript.Parser.statementHelper(Parser.java:12 66)
> at org.mozilla.javascript.Parser.statement(Parser.java:707)
> at org.mozilla.javascript.Parser.parse(Parser.java:401)
> at org.mozilla.javascript.Parser.parse(Parser.java:338)
> at org.mozilla.javascript.Context.compileImpl(Context.java:2368 )
> at org.mozilla.javascript.Context.compileString(Context.java:13 59)
> at org.mozilla.javascript.Context.compileString(Context.java:13 48)
> at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3
> .run(JavascriptEngine.java:232)
> at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3
> .run(JavascriptEngine.java:1)
> at java.security.AccessController.doPrivileged(AccessController .java:202)
> at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c
> ompile(JavascriptEngine.java:228)
> at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c
> ompile(JavascriptEngine.java:1)
> at org.eclipse.birt.core.script.ScriptContext.compile(ScriptCon
> text.java:148)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.com
> pile(ExecutionContext.java:762)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.eva
> luate(ExecutionContext.java:696)
> at org.eclipse.birt.report.engine.script.internal.ScriptExecuto
> r.handleScriptInternal(ScriptExecutor.java:61)
> at org.eclipse.birt.report.engine.script.internal.ScriptExecuto
> r.handleScript(ScriptExecutor.java:48)
> at org.eclipse.birt.report.engine.script.internal.ReportScriptE
> xecutor.handleBeforeFactory(ReportScriptExecutor.java:74)
> ... 57 more
> 03/04/2011 10:21:02 PM
> org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor handleJS
> WARNING: Fail to execute script in function __bm_OPEN(). Source:
> ------
> " + aMap =
> reportContext.getPersistentGlobalVariable("topMap");
> topIter = aMap.entrySet().iterator();
> if (topIter == null)
> {
> topIterator = new Packages.java.util.Iterator();
> Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " );
> }
> innerIter = null; + "
> -----
> A BIRT exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error: TypeError:
> Cannot call method "entrySet" of null
> (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line:
> 0, text:
> __bm_OPEN()
> Throwable occurred: org.eclipse.birt.data.engine.core.DataException:
> Fail to execute script in function __bm_OPEN(). Source:
> ------
> " + aMap =
> reportContext.getPersistentGlobalVariable("topMap");
> topIter = aMap.entrySet().iterator();
> if (topIter == null)
> {
> topIterator = new Packages.java.util.Iterator();
> Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " );
> }
> innerIter = null; + "
> -----
> A BIRT exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error: TypeError:
> Cannot call method "entrySet" of null
> (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line:
> 0, text:
> __bm_OPEN()
> at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript
> (JSMethodRunner.java:147)
> at org.eclipse.birt.report.engine.script.internal.DtEScriptExec
> utor.handleJS(DtEScriptExecutor.java:90)
> at org.eclipse.birt.report.engine.script.internal.DataSetScript
> Executor.handleJS(DataSetScriptExecutor.java:246)
> at org.eclipse.birt.report.engine.script.internal.ScriptDataSet
> ScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:9 7)
> at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(
> ScriptDataSetRuntime.java:80)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.j ava:247)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :223)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer
> yExecutor.java:1103)
> at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe
> cuteQuery(ServiceForQueryResults.java:232)
> at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter
> ator(QueryResults.java:173)
> at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init
> >(QueryResultSet.java:98)
> at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec
> uteQuery(DteDataEngine.java:168)
> at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine
> .doExecuteQuery(DataGenerationEngine.java:80)
> at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e
> xecute(AbstractDataEngine.java:265)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.exe
> cuteQuery(ExecutionContext.java:1890)
> at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex
> ecuteQuery(QueryItemExecutor.java:80)
> at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex
> ecute(TableItemExecutor.java:62)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
> at org.eclipse.birt.report.engine.internal.executor.emitter.Rep
> ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
> at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
> sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
> at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking
> LM.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.HTMLReportLayoutE
> ngine.layout(HTMLReportLayoutEngine.java:99)
> at org.eclipse.birt.report.engine.presentation.ReportDocumentBu
> ilder.build(ReportDocumentBuilder.java:258)
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at org.eclipse.birt.report.service.ReportEngineService.runRepor
> t(ReportEngineService.java:1315)
> at org.eclipse.birt.report.service.BirtViewerReportService.runR
> eport(BirtViewerReportService.java:158)
> at org.eclipse.birt.report.service.actionhandler.BirtRunReportA
> ctionHandler.__execute(BirtRunReportActionHandler.java:81)
> at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct
> ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
> at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc
> tionHandler.execute(AbstractBaseActionHandler.java:90)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc
> umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
> at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro
> cessor.handleGetPage(BirtDocumentProcessor.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
> at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI
> mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP
> rovider.java:397)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RP
> CProvider.java:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi
> der.java:323)
> at org.apache.axis.strategies.InvocationStrategy.visit(Invocati
> onStrategy.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(AxisServle t.java:699)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191)
> at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
> at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet
> hodValve.invoke(GeronimoStandardContext.java:406)
> at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in
> voke(GeronimoBeforeAfterValve.java:47)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:555)
> at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T
> hreadCleanerValve.java:40)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT
> exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error: TypeError:
> Cannot call method "entrySet" of null
> (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line:
> 0, text:
> __bm_OPEN()
> at org.eclipse.birt.data.engine.core.DataException.wrap(DataExc
> eption.java:118)
> at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ
> SAsExpr(ScriptEvalUtil.java:1005)
> at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript
> (JSMethodRunner.java:138)
> ... 79 more
> Caused by: org.eclipse.birt.core.exception.CoreException: Error
> evaluating Javascript expression. Script engine error: TypeError: Cannot
> call method "entrySet" of null
> (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="open "], line:
> 0, text:
> __bm_OPEN()
> at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoExc
> eption(JavascriptEvalUtil.java:303)
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS
> cript(JavascriptEvalUtil.java:102)
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScri
> pt(JavascriptEvalUtil.java:134)
> at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ
> SAsExpr(ScriptEvalUtil.java:1001)
> ... 80 more
> Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call
> method "entrySet" of null
> (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3)
> at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu
> ntime.java:3654)
> at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu
> ntime.java:3632)
> at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime .java:3660)
> at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntim
> e.java:3679)
> at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRu
> ntime.java:3698)
> at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisH
> elper(ScriptRuntime.java:2221)
> at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(
> ScriptRuntime.java:2214)
> at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRun
> time.java:117)
> at org.mozilla.javascript.gen.c4._c1(/report/data-sets/script-d
> ata-set[@id= "5"]/method[@name="open"]:3)
> at org.mozilla.javascript.gen.c4.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="open"])
> at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRun
> time.java:108)
> at org.mozilla.javascript.gen.c5._c0(/report/data-sets/script-d
> ata-set[@id= "5"]/method[@name="open"])
> at org.mozilla.javascript.gen.c5.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="open"])
> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto
> ry.java:398)
> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:3065)
> at org.mozilla.javascript.gen.c5.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="open"])
> at org.mozilla.javascript.gen.c5.exec(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="open"])
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS
> cript(JavascriptEvalUtil.java:95)
> ... 82 more
> 03/04/2011 10:21:02 PM
> org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor handleJS
> WARNING: Fail to execute script in function __bm_FETCH(). Source:
> ------
> " + do
> { // find an innerIter that has a new value
> if (innerIter == null || innerIter.hasNext() == false)
> { // no value in the inner iterator, get the next Hashtable out of the
> toHashtable
> if (topIter.hasNext())
> {
> outerObject = topIter.next();
> innerIter = outerObject.getValue().entrySet().iterator();
> }
> else
> { // no more top hash tables. close things up
> return false;
> }
> }
> }
> while (innerIter.hasNext() == false)
>
> // we must have another innerIter
> innerObject = innerIter.next();
>
> row["propName"] = innerObject.getKey();
> row["propValue"] = innerObject.getValue().toString();
> row["propType"] = outerObject.getKey();
> return true;
>
>
>
> /*
> Iterator i = topMap.entrySet().iterator();
> while (i.hasNext()) {
> Entry entry = (Entry) i.next();
> logger.info(entry.getKey() + " " + entry.getValue() );
> }
> */ + "
> -----
> A BIRT exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error:
> ReferenceError: "innerIter" is not defined.
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line:
> 0, text:
> __bm_FETCH()
> Throwable occurred: org.eclipse.birt.data.engine.core.DataException:
> Fail to execute script in function __bm_FETCH(). Source:
> ------
> " + do
> { // find an innerIter that has a new value
> if (innerIter == null || innerIter.hasNext() == false)
> { // no value in the inner iterator, get the next Hashtable out of the
> toHashtable
> if (topIter.hasNext())
> {
> outerObject = topIter.next();
> innerIter = outerObject.getValue().entrySet().iterator();
> }
> else
> { // no more top hash tables. close things up
> return false;
> }
> }
> }
> while (innerIter.hasNext() == false)
>
> // we must have another innerIter
> innerObject = innerIter.next();
>
> row["propName"] = innerObject.getKey();
> row["propValue"] = innerObject.getValue().toString();
> row["propType"] = outerObject.getKey();
> return true;
>
>
>
> /*
> Iterator i = topMap.entrySet().iterator();
> while (i.hasNext()) {
> Entry entry = (Entry) i.next();
> logger.info(entry.getKey() + " " + entry.getValue() );
> }
> */ + "
> -----
> A BIRT exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error:
> ReferenceError: "innerIter" is not defined.
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line:
> 0, text:
> __bm_FETCH()
> at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript
> (JSMethodRunner.java:147)
> at org.eclipse.birt.report.engine.script.internal.DtEScriptExec
> utor.handleJS(DtEScriptExecutor.java:90)
> at org.eclipse.birt.report.engine.script.internal.DataSetScript
> Executor.handleJS(DataSetScriptExecutor.java:246)
> at org.eclipse.birt.report.engine.script.internal.ScriptDataSet
> ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 140)
> at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch
> (ScriptDataSetRuntime.java:103)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery. java:260)
> at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch
> (OdiAdapter.java:226)
> at org.eclipse.birt.data.engine.executor.cache.RowResultSet.nex
> t(RowResultSet.java:105)
> at org.eclipse.birt.data.engine.executor.cache.ExpandableRowRes
> ultSet.next(ExpandableRowResultSet.java:63)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .populateData(SmartCacheHelper.java:316)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .initInstance(SmartCacheHelper.java:285)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .getResultSetCache(SmartCacheHelper.java:246)
> at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init
> >(SmartCache.java:73)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassUti
> l.populateOdiResultSet(PassUtil.java:110)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassUti
> l.pass(PassUtil.java:62)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateResultSetCacheInResultSetPopulator(PassManager. java:317)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateDataSet(PassManager.java:279)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.prepareDataSetResultSet(PassManager.java:98)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.pass(PassManager.java:125)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateResultSet(PassManager.java:74)
> at org.eclipse.birt.data.engine.executor.transform.ResultSetPop
> ulator.populateResultSet(ResultSetPopulator.java:198)
> at org.eclipse.birt.data.engine.executor.transform.CachedResult Set.
> <init>(CachedResultSet.java:195)
> at org.eclipse.birt.data.engine.executor.CandidateQuery.execute
> (CandidateQuery.java:106)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :226)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer
> yExecutor.java:1103)
> at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe
> cuteQuery(ServiceForQueryResults.java:232)
> at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter
> ator(QueryResults.java:173)
> at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init
> >(QueryResultSet.java:98)
> at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec
> uteQuery(DteDataEngine.java:168)
> at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine
> .doExecuteQuery(DataGenerationEngine.java:80)
> at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e
> xecute(AbstractDataEngine.java:265)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.exe
> cuteQuery(ExecutionContext.java:1890)
> at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex
> ecuteQuery(QueryItemExecutor.java:80)
> at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex
> ecute(TableItemExecutor.java:62)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
> at org.eclipse.birt.report.engine.internal.executor.emitter.Rep
> ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
> at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
> sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
> at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking
> LM.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.HTMLReportLayoutE
> ngine.layout(HTMLReportLayoutEngine.java:99)
> at org.eclipse.birt.report.engine.presentation.ReportDocumentBu
> ilder.build(ReportDocumentBuilder.java:258)
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at org.eclipse.birt.report.service.ReportEngineService.runRepor
> t(ReportEngineService.java:1315)
> at org.eclipse.birt.report.service.BirtViewerReportService.runR
> eport(BirtViewerReportService.java:158)
> at org.eclipse.birt.report.service.actionhandler.BirtRunReportA
> ctionHandler.__execute(BirtRunReportActionHandler.java:81)
> at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct
> ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
> at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc
> tionHandler.execute(AbstractBaseActionHandler.java:90)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc
> umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
> at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro
> cessor.handleGetPage(BirtDocumentProcessor.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
> at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI
> mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP
> rovider.java:397)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RP
> CProvider.java:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi
> der.java:323)
> at org.apache.axis.strategies.InvocationStrategy.visit(Invocati
> onStrategy.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(AxisServle t.java:699)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191)
> at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
> at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet
> hodValve.invoke(GeronimoStandardContext.java:406)
> at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in
> voke(GeronimoBeforeAfterValve.java:47)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:555)
> at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T
> hreadCleanerValve.java:40)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT
> exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error:
> ReferenceError: "innerIter" is not defined.
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line:
> 0, text:
> __bm_FETCH()
> at org.eclipse.birt.data.engine.core.DataException.wrap(DataExc
> eption.java:118)
> at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ
> SAsExpr(ScriptEvalUtil.java:1005)
> at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript
> (JSMethodRunner.java:138)
> ... 96 more
> Caused by: org.eclipse.birt.core.exception.CoreException: Error
> evaluating Javascript expression. Script engine error: ReferenceError:
> "innerIter" is not defined.
> Script source:
> /report/data-sets/script-data-set[@id="5"]/method[@name="fetch "], line:
> 0, text:
> __bm_FETCH()
> at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoExc
> eption(JavascriptEvalUtil.java:303)
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS
> cript(JavascriptEvalUtil.java:102)
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScri
> pt(JavascriptEvalUtil.java:134)
> at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJ
> SAsExpr(ScriptEvalUtil.java:1001)
> ... 97 more
> Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "innerIter"
> is not defined.
> at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu
> ntime.java:3654)
> at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRu
> ntime.java:3632)
> at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRun
> time.java:3717)
> at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRu
> ntime.java:1758)
> at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java :1697)
> at org.mozilla.javascript.gen.c6._c1(/report/data-sets/script-d
> ata-set[@id= "5"]/method[@name="fetch"])
> at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="fetch"])
> at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRun
> time.java:108)
> at org.mozilla.javascript.gen.c7._c0(/report/data-sets/script-d
> ata-set[@id= "5"]/method[@name="fetch"])
> at org.mozilla.javascript.gen.c7.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="fetch"])
> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto
> ry.java:398)
> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:3065)
> at org.mozilla.javascript.gen.c7.call(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="fetch"])
> at org.mozilla.javascript.gen.c7.exec(/report/data-sets/script-
> data-set[@id= "5"]/method[@name="fetch"])
> at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawS
> cript(JavascriptEvalUtil.java:95)
> ... 99 more
> 03/04/2011 10:21:02 PM
> org.eclipse.birt.report.engine.script.internal.ScriptExecuto r addException
> WARNING: Data Set script method "Fetch" returned null; expected a
> Boolean value.
> Throwable occurred: org.eclipse.birt.report.engine.api.EngineException:
> Data Set script method "Fetch" returned null; expected a Boolean value.
> at org.eclipse.birt.report.engine.script.internal.ScriptExecuto
> r.addException(ScriptExecutor.java:158)
> at org.eclipse.birt.report.engine.script.internal.ScriptExecuto
> r.addException(ScriptExecutor.java:147)
> at org.eclipse.birt.report.engine.script.internal.ScriptDataSet
> ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 162)
> at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch
> (ScriptDataSetRuntime.java:103)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery. java:260)
> at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch
> (OdiAdapter.java:226)
> at org.eclipse.birt.data.engine.executor.cache.RowResultSet.nex
> t(RowResultSet.java:105)
> at org.eclipse.birt.data.engine.executor.cache.ExpandableRowRes
> ultSet.next(ExpandableRowResultSet.java:63)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .populateData(SmartCacheHelper.java:316)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .initInstance(SmartCacheHelper.java:285)
> at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper
> .getResultSetCache(SmartCacheHelper.java:246)
> at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init
> >(SmartCache.java:73)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassUti
> l.populateOdiResultSet(PassUtil.java:110)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassUti
> l.pass(PassUtil.java:62)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateResultSetCacheInResultSetPopulator(PassManager. java:317)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateDataSet(PassManager.java:279)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.prepareDataSetResultSet(PassManager.java:98)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.pass(PassManager.java:125)
> at org.eclipse.birt.data.engine.executor.transform.pass.PassMan
> ager.populateResultSet(PassManager.java:74)
> at org.eclipse.birt.data.engine.executor.transform.ResultSetPop
> ulator.populateResultSet(ResultSetPopulator.java:198)
> at org.eclipse.birt.data.engine.executor.transform.CachedResult Set.
> <init>(CachedResultSet.java:195)
> at org.eclipse.birt.data.engine.executor.CandidateQuery.execute
> (CandidateQuery.java:106)
> at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri
> ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :226)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer
> yExecutor.java:1103)
> at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe
> cuteQuery(ServiceForQueryResults.java:232)
> at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter
> ator(QueryResults.java:173)
> at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init
> >(QueryResultSet.java:98)
> at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec
> uteQuery(DteDataEngine.java:168)
> at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine
> .doExecuteQuery(DataGenerationEngine.java:80)
> at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e
> xecute(AbstractDataEngine.java:265)
> at org.eclipse.birt.report.engine.executor.ExecutionContext.exe
> cuteQuery(ExecutionContext.java:1890)
> at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex
> ecuteQuery(QueryItemExecutor.java:80)
> at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex
> ecute(TableItemExecutor.java:62)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
> at org.eclipse.birt.report.engine.internal.executor.emitter.Rep
> ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
> at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
> sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
> at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking
> LM.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.HTMLReportLayoutE
> ngine.layout(HTMLReportLayoutEngine.java:99)
> at org.eclipse.birt.report.engine.presentation.ReportDocumentBu
> ilder.build(ReportDocumentBuilder.java:258)
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at org.eclipse.birt.report.service.ReportEngineService.runRepor
> t(ReportEngineService.java:1315)
> at org.eclipse.birt.report.service.BirtViewerReportService.runR
> eport(BirtViewerReportService.java:158)
> at org.eclipse.birt.report.service.actionhandler.BirtRunReportA
> ctionHandler.__execute(BirtRunReportActionHandler.java:81)
> at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct
> ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119)
> at org.eclipse.birt.report.service.actionhandler.AbstractGetPag
> eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04)
> at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc
> tionHandler.execute(AbstractBaseActionHandler.java:90)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc
> umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
> at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro
> cessor.handleGetPage(BirtDocumentProcessor.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom
> ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
> at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI
> mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP
> rovider.java:397)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RP
> CProvider.java:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi
> der.java:323)
> at org.apache.axis.strategies.InvocationStrategy.visit(Invocati
> onStrategy.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(AxisServle t.java:699)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191)
> at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
> at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet
> hodValve.invoke(GeronimoStandardContext.java:406)
> at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in
> voke(GeronimoBeforeAfterValve.java:47)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:555)
> at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(T
> hreadCleanerValve.java:40)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: org.eclipse.birt.data.engine.core.DataException: Data Set
> script method "Fetch" returned null; expected a Boolean value.
> at org.eclipse.birt.report.engine.script.internal.ScriptDataSet
> ScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java: 150)
> ... 93 more
>
> I did manage to find out the value of java.io.tmpdir variable in
> Websphere CE and it is set to C:\Program Files
> (x86)\IBM\WebSphere\AppServerCommunityEdition\var\temp
>
>
> I am totally lost as I can not proceed any further without your help.
>
> Any help is much appreciated.
Re: Birt Sample Report [message #759754 is a reply to message #663646] Tue, 29 November 2011 20:35 Go to previous messageGo to next message
Tosh is currently offline ToshFriend
Messages: 4
Registered: November 2011
Junior Member
I am getting same exception reported in this thread. I am also trying to run the example application in WAS CE. Was a resolution found? Thx. Tosh.
Re: Birt Sample Report [message #759942 is a reply to message #660626] Wed, 30 November 2011 16:11 Go to previous messageGo to next message
Tosh is currently offline ToshFriend
Messages: 4
Registered: November 2011
Junior Member
Did this post get resolved? I am getting the exact same exception. My setting is also trying to run the birt sample with WAS CE v2.
If there was a setting that resolved this issue then I sure would appreciate knowing what was done. Thanks. Tosh.
Re: Birt Sample Report [message #759966 is a reply to message #759754] Wed, 30 November 2011 18:19 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you using a beforeFactory script?

Jason

On 11/29/2011 3:35 PM, Tosh wrote:
> I am getting same exception reported in this thread. I am also trying to
> run the example application in WAS CE. Was a resolution found? Thx. Tosh.
Re: Birt Sample Report [message #759977 is a reply to message #759966] Wed, 30 November 2011 19:03 Go to previous messageGo to next message
Tosh is currently offline ToshFriend
Messages: 4
Registered: November 2011
Junior Member
Jason,
Not sure how to answer that. Maybe this screen shot can answer that perhaps?
After making the selections in the parameter dialog windows I press OK and then see the exception at the start of this post.
Re: Birt Sample Report [message #759982 is a reply to message #759977] Wed, 30 November 2011 19:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Is this the default test1.rptdesign or has it been modified?

Jason

On 11/30/2011 2:03 PM, Tosh wrote:
> Jason,
> Not sure how to answer that. Maybe this screen shot can answer that perhaps?
> After making the selections in the parameter dialog windows I press OK and then see the exception at the start of this post.
>
Re: Birt Sample Report [message #759986 is a reply to message #759982] Wed, 30 November 2011 19:20 Go to previous messageGo to next message
Tosh is currently offline ToshFriend
Messages: 4
Registered: November 2011
Junior Member
It is the default report.
I can preview the report fine in Report Editor perspective.
Please see the attached screen shot.

Re: Birt Sample Report [message #759993 is a reply to message #759986] Wed, 30 November 2011 20:05 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This sounds like a bug. Can you log a bugzilla request for this?

Jason


On 11/30/2011 2:20 PM, Tosh wrote:
> It is the default report.
> I can preview the report fine in Report Editor perspective.
> Please see the attached screen shot.
>
>
Previous Topic:Ad Hoc Reports -- Use BIRT or JSP??
Next Topic:birt 2.3.2 to birt 2.6.2
Goto Forum:
  


Current Time: Fri Dec 19 11:48:28 GMT 2014

Powered by FUDForum. Page generated in 0.13906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software