Skip to main content



      Home
Home » Archived » BIRT » Errors evaluating script
Errors evaluating script [message #243513] Wed, 20 June 2007 09:34 Go to next message
Eclipse UserFriend
Originally posted by: leo.leo.com

Hi,

I am have encountered an error on my script.

The following items have errors:

Row (id = 609):

- There are errors evaluating script "if (row["DOCS_COUR_CLA"] == "") {
true; } else { false; }".
Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are
errors evaluating script "if (row["DOCS_COUR_CLA"] == "") { true; } else {
false; }". at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:557)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate.eclipse.birt.report.servlet.BirtEngineServlet.__doGet( Unknown
Source)

But when I tried it on a simple example its working ok, I just wanted to
hide the extra rows also the existing field.


Any suggestions regarding this matter.


Thanks you very much,

Leo
Re: Errors evaluating script [message #243680 is a reply to message #243513] Wed, 20 June 2007 16:41 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Leo,

Can you post the entire stack trace at the bottom of the report?
It should not matter but you could try row["col"].value.

Jason

Leo wrote:
> Hi,
> I am have encountered an error on my script.
>
> The following items have errors:
> Row (id = 609):
> - There are errors evaluating script "if (row["DOCS_COUR_CLA"] == "") {
> true; } else { false; }". Error.ScriptEvaluationError ( 1 time(s) )
> detail : org.eclipse.birt.report.engine.api.EngineException: There are
> errors evaluating script "if (row["DOCS_COUR_CLA"] == "") { true; } else
> { false; }". at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:557)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate.eclipse.birt.report.servlet.BirtEngineServlet.__doGet( Unknown
> Source)
>
> But when I tried it on a simple example its working ok, I just wanted to
> hide the extra rows also the existing field.
>
>
> Any suggestions regarding this matter.
>
>
> Thanks you very much,
> Leo
>
Previous Topic:IBM WebSphere 6.1.0.5: BIRT Viewer exception
Next Topic:Dynamic reporting - adding new reports at runtime
Goto Forum:
  


Current Time: Tue Jul 15 09:38:18 EDT 2025

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

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

Back to the top