Skip to main content



      Home
Home » Archived » BIRT » Report displays error msg in Viewer when no rows found
Report displays error msg in Viewer when no rows found [message #242336] Tue, 12 June 2007 14:55
Eclipse UserFriend
Originally posted by: BirtQ.yahoo.com

I have a bunch of reports that display the following error msg in the
report body when no rows are found for the criteria - but only when it is
run in the Viewer.

org.eclipse.birt.data.engine.script.DataExceptionMocker@22521


The report runs fine within Eclipse - with a result set of 0 or more rows.
In the report Viewer, displays the error msg instead of the footer row.

The one "weird" thing, is that I'm only displaying columns with
expressions - if I don't use an expression - it works - however, I'm using
the expression to display the data in the correct language.

<structure>
<property name="name">xxxType</property>
<property name="displayName">xxxType</property>
<expression name="expression">
if(BirtComp.equalTo(reportContext.getLocale().getLanguage(), "fr"))
row["xxx_type_fr"]
else
row["xxx_type_en"]
</expression>
<property name="dataType">string</property>
</structure>


Thanks
Previous Topic:Multiple data sets
Next Topic:BIRT Viewer deployment - Need help
Goto Forum:
  


Current Time: Sun May 04 03:30:06 EDT 2025

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

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

Back to the top