It's all about the answers!

Ask a question

BIRT report throwing script evaluation error


Tojan John (1172476) | asked Nov 05 '14, 10:17 a.m.
 Hi,
I am using RTC 4.0.4 and BIRT 2.6.2 version. My newly created report with javascript is giging following error.

Error.ScriptEvaluationError ( 60 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Caused by: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_onFetch(). Source:
------xxxxxxxxxxxxxxxxxxxxxxxxxxx
Report is generating without error in eclipse BIRT designer.

Errors are while running the report using browser after importing the design to RTC.

Any help is very much appreciated.

Tojan.

Comments
Donald Nong commented Nov 06 '14, 12:18 a.m.

Not sure what do you mean by saying "with javascript". Did you use JavaScript scripting in your BIRT report? If so, you will need to show the source, and/or the full stack of the error message for others to help you.
In general, search "Caused by" in the error message till you reach the one at the bottom and it usually tells you exactly what the problem is.


Tojan John commented Nov 06 '14, 12:41 a.m.

 Hi Donald,

I am unable to paste entire error message due to size constraint. Is there any other way to share the full error message.
Below is part of error message in OnFetch script of dataset.

Be the first one to answer this question!


Register or to post your answer.