[jira] [Comment Edited] (OFBIZ-12231) Birt Plugin - PDF Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-12231) Birt Plugin - PDF Error

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338550#comment-17338550 ]

Jacques Le Roux edited comment on OFBIZ-12231 at 5/4/21, 7:06 AM:
------------------------------------------------------------------

I have errors in ReportingEngine....log

There are problems with the birt maven dependencies ... as far as I have seen today. I already fixed the following error message, but I am still working on other issuses (batik library)


{noformat}
May 03, 2021 8:32:55 PM org.eclipse.birt.core.script.JavascriptEvalUtil wrapRhinoException
 FINE: Unexpected RhinoException. Source=/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"], line=0, Script=
 __bm_FETCH()org.mozilla.javascript.EcmaError: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
 at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
 at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
 at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
 at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3698)
 at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2221)
 at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
 at org.mozilla.javascript.gen.c8._c1(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:3)
 at org.mozilla.javascript.gen.c8.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
 at org.mozilla.javascript.gen.c9._c0(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:0)
 at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
 at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.gen.c9.exec(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
 at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
 at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
 at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
 at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
 at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
 at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:143)
 at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)
 at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)
 at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetchFromDataSet(DataSetToCache.java:243)
 at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetch(DataSetToCache.java:171)
 at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:218)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)
 at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)
 at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)
 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:74)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:132)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.doSinglePass(PassManager.java:170)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:94)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSetResultSet(PassManager.java:80)
 at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:223)
 at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:146)
 at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:148)
 at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)
 at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
 at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
 at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
 at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
 at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
 at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
 at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
 at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
 at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
 at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
 at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
 at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
 at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
 at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
 at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:157)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:144)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1205)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:929)
 at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:231)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:96)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:45)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:185)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
 at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:57)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
 at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)May 03, 2021 8:32:55 PM org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor handleJS
 WARNING: Fail to execute script in function __bm_FETCH(). Source:
 ------
 " + if (countOfRow == totalRow - 1) return false;example = examples.get(countOfRow);
 total = example.getString("total");
 exampleTypeId = example.getString("exampleTypeId");row["total"] = total;
 row["exampleTypeId"] = exampleTypeId;countOfRow ++;
 return true; + "
 -----
 A BIRT exception occurred. See next exception for more information.
 TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_FETCH(). Source:
 ------
 " + if (countOfRow == totalRow - 1) return false;example = examples.get(countOfRow);
 total = example.getString("total");
 exampleTypeId = example.getString("exampleTypeId");row["total"] = total;
 row["exampleTypeId"] = exampleTypeId;countOfRow ++;
 return true; + "
 -----
 A BIRT exception occurred. See next exception for more information.
 TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)
 at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
 at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
 at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:143)
 at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)
 at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)
 at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetchFromDataSet(DataSetToCache.java:243)
 at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetch(DataSetToCache.java:171)
 at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:218)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)
 at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)
 at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)
 at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)
 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:74)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:132)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.doSinglePass(PassManager.java:170)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:94)
 at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSetResultSet(PassManager.java:80)
 at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:223)
 at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:146)
 at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:148)
 at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)
 at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
 at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
 at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
 at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
 at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
 at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
 at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
 at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
 at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
 at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
 at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
 at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
 at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
 at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
 at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:157)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:144)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1205)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:929)
 at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:231)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:96)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:45)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:185)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
 at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:57)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
 at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)
 Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
 TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
 at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:997)
 at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
 ... 78 more
 Caused by: org.eclipse.birt.core.exception.CoreException: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)
 at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)
 at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
 at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
 ... 79 more
 Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)
 at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
 at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
 at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
 at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
 at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3698)
 at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2221)
 at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
 at org.mozilla.javascript.gen.c8._c1(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:3)
 at org.mozilla.javascript.gen.c8.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
 at org.mozilla.javascript.gen.c9._c0(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:0)
 at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
 at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.mozilla.javascript.gen.c9.exec(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])
 at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
 ... 81 more 
{noformat}



was (Author: iwolf):
I have errors in ReportingEngine....log

There are problems with the birt maven dependencies ... as far as I have seen today. I already fixed the following error message, but I am still working on other issuses (batik library)

{{~May 03, 2021 8:32:55 PM org.eclipse.birt.core.script.JavascriptEvalUtil wrapRhinoException~}}
{{ ~FINE: Unexpected RhinoException. Source=/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"], line=0, Script=~}}
{{ ~__bm_FETCH()~}}{{~org.mozilla.javascript.EcmaError: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3698)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2221)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)~}}
{{ ~at org.mozilla.javascript.gen.c8._c1(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:3)~}}
{{ ~at org.mozilla.javascript.gen.c8.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)~}}
{{ ~at org.mozilla.javascript.gen.c9._c0(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:0)~}}
{{ ~at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)~}}
{{ ~at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.gen.c9.exec(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)~}}
{{ ~at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)~}}
{{ ~at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:143)~}}
{{ ~at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)~}}
{{ ~at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)~}}
{{ ~at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetchFromDataSet(DataSetToCache.java:243)~}}
{{ ~at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetch(DataSetToCache.java:171)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:218)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)~}}
{{ ~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:74)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:132)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.doSinglePass(PassManager.java:170)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:94)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSetResultSet(PassManager.java:80)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:223)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:146)~}}
{{ ~at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:148)~}}
{{ ~at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)~}}
{{ ~at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)~}}
{{ ~at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)~}}
{{ ~at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)~}}
{{ ~at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)~}}
{{ ~at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)~}}
{{ ~at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)~}}
{{ ~at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)~}}
{{ ~at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)~}}
{{ ~at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:157)~}}
{{ ~at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:144)~}}
{{ ~at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1205)~}}
{{ ~at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:929)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:231)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:96)~}}
{{ ~at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)~}}
{{ ~at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:45)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:185)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)~}}
{{ ~at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:57)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)~}}
{{ ~at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)~}}
{{ ~at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)~}}
{{ ~at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)~}}
{{ ~at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)~}}
{{ ~at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)~}}
{{ ~at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)~}}
{{ ~at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)~}}
{{ ~at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)~}}
{{ ~at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)~}}
{{ ~at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)~}}
{{ ~at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)~}}
{{ ~at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)~}}
{{ ~at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)~}}
{{ ~at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)~}}
{{ ~at java.lang.Thread.run(Thread.java:748)~}}{{~May 03, 2021 8:32:55 PM org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor handleJS~}}
{{ ~WARNING: Fail to execute script in function __bm_FETCH(). Source:~}}
{{ ~------~}}
{{ ~" + if (countOfRow == totalRow - 1) return false;~}}{{~example = examples.get(countOfRow);~}}
{{ ~total = example.getString("total");~}}
{{ ~exampleTypeId = example.getString("exampleTypeId");~}}{{~row["total"] = total;~}}
{{ ~row["exampleTypeId"] = exampleTypeId;~}}{{~countOfRow ++;~}}
{{ ~return true; + "~}}
{{ ~-----~}}
{{ ~A BIRT exception occurred. See next exception for more information.~}}
{{ ~TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_FETCH(). Source:~}}
{{ ~------~}}
{{ ~" + if (countOfRow == totalRow - 1) return false;~}}{{~example = examples.get(countOfRow);~}}
{{ ~total = example.getString("total");~}}
{{ ~exampleTypeId = example.getString("exampleTypeId");~}}{{~row["total"] = total;~}}
{{ ~row["exampleTypeId"] = exampleTypeId;~}}{{~countOfRow ++;~}}
{{ ~return true; + "~}}
{{ ~-----~}}
{{ ~A BIRT exception occurred. See next exception for more information.~}}
{{ ~TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)~}}
{{ ~at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:143)~}}
{{ ~at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)~}}
{{ ~at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)~}}
{{ ~at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetchFromDataSet(DataSetToCache.java:243)~}}
{{ ~at org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.fetch(DataSetToCache.java:171)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:218)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)~}}
{{ ~at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)~}}
{{ ~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:74)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:132)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.doSinglePass(PassManager.java:170)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:94)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSetResultSet(PassManager.java:80)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:223)~}}
{{ ~at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:146)~}}
{{ ~at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:148)~}}
{{ ~at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)~}}
{{ ~at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)~}}
{{ ~at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)~}}
{{ ~at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)~}}
{{ ~at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)~}}
{{ ~at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)~}}
{{ ~at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)~}}
{{ ~at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)~}}
{{ ~at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)~}}
{{ ~at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)~}}
{{ ~at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)~}}
{{ ~at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)~}}
{{ ~at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:157)~}}
{{ ~at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:144)~}}
{{ ~at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1205)~}}
{{ ~at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:929)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:231)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:96)~}}
{{ ~at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)~}}
{{ ~at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:45)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:185)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)~}}
{{ ~at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:57)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)~}}
{{ ~at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)~}}
{{ ~at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)~}}
{{ ~at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)~}}
{{ ~at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)~}}
{{ ~at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)~}}
{{ ~at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)~}}
{{ ~at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)~}}
{{ ~at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)~}}
{{ ~at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)~}}
{{ ~at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)~}}
{{ ~at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)~}}
{{ ~at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)~}}
{{ ~at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)~}}
{{ ~at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)~}}
{{ ~at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)~}}
{{ ~at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)~}}
{{ ~at java.lang.Thread.run(Thread.java:748)~}}
{{ ~Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.~}}
{{ ~TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)~}}
{{ ~at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:997)~}}
{{ ~at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)~}}
{{ ~... 78 more~}}
{{ ~Caused by: org.eclipse.birt.core.exception.CoreException: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)~}}
{{ ~at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)~}}
{{ ~... 79 more~}}
{{ ~Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "get" of null (/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]#3)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3698)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2221)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)~}}
{{ ~at org.mozilla.javascript.gen.c8._c1(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:3)~}}
{{ ~at org.mozilla.javascript.gen.c8.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)~}}
{{ ~at org.mozilla.javascript.gen.c9._c0(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"]:0)~}}
{{ ~at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)~}}
{{ ~at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)~}}
{{ ~at org.mozilla.javascript.gen.c9.call(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.mozilla.javascript.gen.c9.exec(/report/data-sets/script-data-set[@id="9"]/method[@name="fetch"])~}}
{{ ~at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)~}}
{{ ... 81 more}}{{ }}

> Birt Plugin - PDF Error
> -----------------------
>
>                 Key: OFBIZ-12231
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12231
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: birt
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Priority: Major
>         Attachments: birt.patch
>
>
> Birt PDF Reports do not work.
> https://demo-trunk.ofbiz.apache.org/birt/control/chartViewHandler



--
This message was sent by Atlassian Jira
(v8.3.4#803005)