org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value. (Element ID:1)

actuate.com | 4 months ago
  1. 0

    Scripted Data Source Question - Designing BIRT Reports - BIRT Developer Center

    actuate.com | 4 months ago
    org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value. (Element ID:1)
  2. 0

    Eclipse Community Forums: BIRT » Problem with Script Datasource

    eclipse.org | 4 months ago
    org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value. (Element ID:1)
  3. 0

    Eclipse Community Forums: BIRT » Cannot install Birt on Eclipse 4.2.1 Juno

    eclipse.org | 4 months ago
    org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value. (Element ID:1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reports broken in OnCommand Unified Manager 6.2RC1 - NetApp Community

    netapp.com | 4 months ago
    org.eclipse.birt.data.engine.core.DataException: Data Set script method "Fetch" returned null; expected a Boolean value. 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.Scr iptExecutor.addException(ScriptExecutor.java:249) at org.eclipse.birt.report.engine.script.internal.Scr iptExecutor.addException(ScriptExecutor.java:238) at org.eclipse.birt.report.engine.script.internal.Scr iptDataSetScriptExecutor.handleFetch(ScriptDataSet ScriptExecutor.java:165) at org.eclipse.birt.data.engine.impl.ScriptDataSetRun time.fetch(ScriptDataSetRuntime.java:103) at org.eclipse.birt.data.engine.impl.PreparedScriptDS Query$ScriptDSQueryExecutor$CustomDataSet.fetch(Pr eparedScriptDSQuery.java:260) at org.eclipse.birt.data.engine.executor.cache.OdiAda pter.fetch(OdiAdapter.java:226) at org.eclipse.birt.data.engine.executor.cache.RowRes ultSet.fetch(RowResultSet.java:145) at org.eclipse.birt.data.engine.executor.cache.RowRes ultSet.doNext(RowResultSet.java:118) at org.eclipse.birt.data.engine.executor.cache.RowRes ultSet.next(RowResultSet.java:96) at org.eclipse.birt.data.engine.executor.cache.Expand ableRowResultSet.next(ExpandableRowResultSet.java: 63) at org.eclipse.birt.data.engine.executor.cache.SmartC acheHelper.populateData(SmartCacheHelper.java:318) at org.eclipse.birt.data.engine.executor.cache.SmartC acheHelper.initInstance(SmartCacheHelper.java:285) at org.eclipse.birt.data.engine.executor.cache.SmartC acheHelper.getResultSetCache(SmartCacheHelper.java :246) at org.eclipse.birt.data.engine.executor.cache.SmartC ache.<init>(SmartCache.java:74) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassUtil.populateOdiResultSet(PassUtil.java:110 ) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassUtil.pass(PassUtil.java:62) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassManager.populateResultSetCacheInResultSetPo pulator(PassManager.java:276) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassManager.populateDataSet(PassManager.java:23 8) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassManager.prepareDataSetResultSet(PassManager .java:98) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassManager.pass(PassManager.java:134) at org.eclipse.birt.data.engine.executor.transform.pa ss.PassManager.populateResultSet(PassManager.java: 74) at org.eclipse.birt.data.engine.executor.transform.Re sultSetPopulator.populateResultSet(ResultSetPopula tor.java:218) at org.eclipse.birt.data.engine.executor.transform.Ca chedResultSet.<init>(CachedResultSet.java:200) at org.eclipse.birt.data.engine.executor.CandidateQue ry.execute(CandidateQuery.java:142) at org.eclipse.birt.data.engine.impl.PreparedScriptDS Query$ScriptDSQueryExecutor.executeOdiQuery(Prepar edScriptDSQuery.java:226) at org.eclipse.birt.data.engine.impl.QueryExecutor.ex ecute(QueryExecutor.java:1237) at org.eclipse.birt.data.engine.impl.ServiceForQueryR esults.executeQuery(ServiceForQueryResults.java:23 3) at org.eclipse.birt.data.engine.impl.QueryResults.get ResultIterator(QueryResults.java:178) at org.eclipse.birt.report.engine.data.dte.QueryResul tSet.<init>(QueryResultSet.java:98) at org.eclipse.birt.report.engine.data.dte.DteDataEng ine.doExecuteQuery(DteDataEngine.java:168) at org.eclipse.birt.report.engine.data.dte.DataGenera tionEngine.doExecuteQuery(DataGenerationEngine.jav a:83) at org.eclipse.birt.report.engine.data.dte.AbstractDa taEngine.execute(AbstractDataEngine.java:275) at org.eclipse.birt.report.engine.executor.ExecutionC ontext.executeQuery(ExecutionContext.java:1947) at org.eclipse.birt.report.engine.executor.QueryItemE xecutor.executeQuery(QueryItemExecutor.java:80) at org.eclipse.birt.report.engine.executor.TableItemE xecutor.execute(TableItemExecutor.java:62) at org.eclipse.birt.report.engine.internal.executor.w rap.WrappedReportItemExecutor.execute(WrappedRepor tItemExecutor.java:46) at org.eclipse.birt.report.engine.internal.executor.e mitter.ReportItemEmitterExecutor.execute(ReportIte mEmitterExecutor.java:46) at org.eclipse.birt.report.engine.internal.executor.d up.SuppressDuplicateItemExecutor.execute(SuppressD uplicateItemExecutor.java:43) at org.eclipse.birt.report.engine.layout.html.HTMLBlo ckStackingLM.layoutNodes(HTMLBlockStackingLM.java: 65) at org.eclipse.birt.report.engine.layout.html.HTMLSta ckingLM.layoutChildren(HTMLStackingLM.java:26) at org.eclipse.birt.report.engine.layout.html.HTMLAbs tractLM.layout(HTMLAbstractLM.java:140) at org.eclipse.birt.report.engine.layout.html.HTMLInl ineStackingLM.resumeLayout(HTMLInlineStackingLM.ja va:111) at org.eclipse.birt.report.engine.layout.html.HTMLInl ineStackingLM.layoutNodes(HTMLInlineStackingLM.jav a:160) at org.eclipse.birt.report.engine.layout.html.HTMLSta ckingLM.layoutChildren(HTMLStackingLM.java:26) at org.eclipse.birt.report.engine.layout.html.HTMLAbs tractLM.layout(HTMLAbstractLM.java:140) at org.eclipse.birt.report.engine.layout.html.HTMLBlo ckStackingLM.layoutNodes(HTMLBlockStackingLM.java: 70) at org.eclipse.birt.report.engine.layout.html.HTMLSta ckingLM.layoutChildren(HTMLStackingLM.java:26) at org.eclipse.birt.report.engine.layout.html.HTMLRep eatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java :46) at org.eclipse.birt.report.engine.layout.html.HTMLAbs tractLM.layout(HTMLAbstractLM.java:140) at org.eclipse.birt.report.engine.layout.html.HTMLBlo ckStackingLM.layoutNodes(HTMLBlockStackingLM.java: 70) at org.eclipse.birt.report.engine.layout.html.HTMLPag eLM.layout(HTMLPageLM.java:92) at org.eclipse.birt.report.engine.layout.html.HTMLRep ortLayoutEngine.layout(HTMLReportLayoutEngine.java :100) at org.eclipse.birt.report.engine.presentation.Report DocumentBuilder.build(ReportDocumentBuilder.java:2 58)
  6. 0

    DataException when generate report document from complex report(attached).

    Eclipse Bugzilla | 1 decade ago | lchen
    org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred: Error evaluating Javascript expression. Script engine error: TypeError: Cannot set property "Month" of null to "10" (DataSet[Data Set].__bm_FETCH#4) Script source: DataSet[Data Set].__bm_FETCH, line: 1, text: __bm_FETCH(). See next exception for more information. Error evaluating Javascript expression. Script engine error: TypeError: Cannot set property "Month" of null to "10" (DataSet[Data Set].__bm_FETCH#4) Script source: DataSet[Data Set].__bm_FETCH, line: 1, text: __bm_FETCH()

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.ScriptDataSetScriptExecutor.handleFetch()
    2. org.eclipse.birt
      ScriptDataSetScriptExecutor.handleFetch
      1. org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:153)
      1 frame
    3. BIRT Data Engine
      QueryResults.getResultIterator
      1. org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)
      2. org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)
      3. org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetchFromDataSet(DataSetToCache.java:242)
      4. org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetch(DataSetToCache.java:171)
      5. org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:218)
      6. org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:113)
      7. org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:91)
      8. org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)
      9. org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:316)
      10. org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.initInstance(SmartCacheHelper.java:285)
      11. org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.getResultSetCache(SmartCacheHelper.java:246)
      12. org.eclipse.birt.data.engine.executor.cache.SmartCache.<init>(SmartCache.java:73)
      13. org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:132)
      14. org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)
      15. org.eclipse.birt.data.engine.executor.transform.pass.PassManager.doSinglePass(PassManager.java:170)
      16. org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:94)
      17. org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSetResultSet(PassManager.java:80)
      18. org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:203)
      19. org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:142)
      20. org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:160)
      21. org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)
      22. org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1134)
      23. org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:232)
      24. org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:177)
      24 frames
    4. org.eclipse.birt
      BaseReportEngineServlet.doGet
      1. org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:115)
      2. org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:176)
      3. org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)
      4. org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939)
      5. org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
      6. org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
      7. org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
      8. org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
      9. org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
      10. org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
      11. org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
      12. org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
      13. org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
      14. org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
      15. org.eclipse.birt.report.engine.layout.html.HTMLListLM.layoutChildren(HTMLListLM.java:72)
      16. org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
      17. org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
      18. org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
      19. org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
      20. org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
      21. org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
      22. org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:929)
      23. org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
      24. org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
      25. org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
      26. org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318)
      27. org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:76)
      28. org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(BirtEngineServlet.java:120)
      29. org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:185)
      29 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      1 frame
    6. Axis Web Services
      AxisServletBase.service
      1. org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    8. org.eclipse.birt
      BaseReportEngineServlet.service
      1. org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
      1 frame
    9. org.eclipse.equinox
      ProxyServlet.service
      1. org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
      2. org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
      3. org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
      4. org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
      4 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    11. Jetty Http Service
      HttpServerManager$InternalHttpServiceServlet.service
      1. org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)
      1 frame
    12. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      5. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      6. org.mortbay.jetty.Server.handle(Server.java:326)
      7. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      8. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
      9. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      10. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      11. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      12. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      12 frames
    13. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame