org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "importPackage(Packages.birtjava.tdcj.ProdDb2Test); count = 0; prodDb2Test = new Packages.birtjava.tdcj.ProdDb2Test(); ntoNcrList = prodDb2Test.build(); ": Fail to execute script in function __bm_OPEN(). Source: ------ " + importPackage(Packages.birtjava.tdcj.ProdDb2Test); count = 0; prodDb2Test = new Packages.birtjava.tdcj.ProdDb2Test(); ntoNcrList = prodDb2Test.build(); + " ----- A BIRT exception occurred. See next exception for more information. Error evaluating Javascript expression. Script engine error: TypeError: [JavaPackage birtjava.tdcj.ProdDb2Test] is not a function, it is object. (/report/data-sets/script-data-set[@id="8"]/method[@name="open"]#5) Script source: /report/data-sets/script-data-set[@id="8"]/method[@name="open"], line: 0, text: __bm_OPEN(). (Element ID:1)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
evaluating Javascript expression. Script engine error: TypeError: [JavaPackage birtjava.tdcj.ProdDb2Test] is not a function, it is object. (/report/data-sets/script-data-set[@id="8"]/method[@name="open"]#5) Script source: /report/data-sets/script-data-set[@id="8"]/method[@name="open"], line: 0, text: __bm_OPEN(). (Element ID:1)
via Stack Overflow by vikram.fartyal
, 2 years ago
There are errors evaluating script "activities = activitybean; totalrows = activities.size(); currentrow = 0; cumulativeDistance = 0;": {1}.
via Google Groups by Rituparna Buragohain, 2 years ago
There are errors evaluating script "customerBusinessService = new Packages.org.mifos.application.customer.business.service.CustomerBusinessService();":{1}.
via eclipse.org by Unknown author, 1 year ago
expression. Script engine error: ReferenceError: "StockDaoMock" is not defined. (/report/data-sets/script-data-set[@id="40"]/method[@name="open"]#10) Script source: /report/data-sets/script-data-set[@id="40"]/method[@name="open"], line: 0, text: __bm_OPEN(). (Element ID:1)
via actuate.com by Unknown author, 1 year ago
: ReferenceError: "currentrow" is not defined. (/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"]#1) Script source: /report/data-sets/script-data-set[@id="8"]/method[@name="fetch"], line: 0, text: __bm_FETCH(). (Element ID:1)
via actuate.com by Unknown author, 1 year ago
++; return (true); } return (false); + " ----- A BIRT exception occurred. See next exception for more information. Error evaluating Javascript expression. Script engine error: ReferenceError: "totalRows" is not defined. (/report/data-sets/script-data-set
org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "importPackage(Packages.birtjava.tdcj.ProdDb2Test); count = 0; prodDb2Test = new Packages.birtjava.tdcj.ProdDb2Test(); ntoNcrList = prodDb2Test.build(); ": Fail to execute script in function __bm_OPEN(). Source: ------ " + importPackage(Packages.birtjava.tdcj.ProdDb2Test); count = 0; prodDb2Test = new Packages.birtjava.tdcj.ProdDb2Test(); ntoNcrList = prodDb2Test.build(); + " ----- A BIRT exception occurred. See next exception for more information. Error evaluating Javascript expression. Script engine error: TypeError: [JavaPackage birtjava.tdcj.ProdDb2Test] is not a function, it is object. (/report/data-sets/script-data-set[@id="8"]/method[@name="open"]#5) Script source: /report/data-sets/script-data-set[@id="8"]/method[@name="open"], line: 0, text: __bm_OPEN(). (Element ID:1)
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.notFunctionError(ScriptRuntime.java:3734)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.