Skip to main content



      Home
Home » Archived » BIRT » Strange exception
Strange exception [message #122993] Thu, 02 February 2006 06:48 Go to next message
Eclipse UserFriend
Originally posted by: r.budner.abg.com.pl

Hi.

Let's assume that we have two data sets and two tables. Each table is
bound to its corresponding data set. First table is a master table and
the second is a subreport (inner) table. The two data sets are
additionaly linked together (join). So, for each record in master data
set there are usually a couple of records in subreport. It happens
sometimes that there are no records at all in subreport.

I also have a function with one parameter that I declared in Initialize.
This function is called in data element of subreport (f(row["CZAS"])).
When there are no records in subreport function is called with parameter
which value is org.eclipse.birt.data.engine.script.DataExceptionMocker@...
I expect that this function would not be called.

I hope that above explanation is clear.

Robert
Re: Strange exception [message #123055 is a reply to message #122993] Thu, 02 February 2006 08:10 Go to previous messageGo to next message
Eclipse UserFriend
Robert, this looks like a bug in BIRT. Can you please file a bugzilla bug
and attach the report design that's giving you this error?

thanks,

--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer
"Robbo" <r.budner@abg.com.pl> wrote in message
news:drsrib$v9o$1@utils.eclipse.org...
> Hi.
>
> Let's assume that we have two data sets and two tables. Each table is
> bound to its corresponding data set. First table is a master table and
> the second is a subreport (inner) table. The two data sets are
> additionaly linked together (join). So, for each record in master data
> set there are usually a couple of records in subreport. It happens
> sometimes that there are no records at all in subreport.
>
> I also have a function with one parameter that I declared in Initialize.
> This function is called in data element of subreport (f(row["CZAS"])).
> When there are no records in subreport function is called with parameter
> which value is org.eclipse.birt.data.engine.script.DataExceptionMocker@...
> I expect that this function would not be called.
>
> I hope that above explanation is clear.
>
> Robert
Re: Strange exception [message #177864 is a reply to message #122993] Sat, 15 July 2006 08:46 Go to previous message
Eclipse UserFriend
Originally posted by: kevin_ou.yahoo.com

Hi,

I got the same error in the 2.1 .
Do you have anyway to work around that problem?

Kevin
"Robbo" <r.budner@abg.com.pl> wrote in message
news:drsrib$v9o$1@utils.eclipse.org...
> Hi.
>
> Let's assume that we have two data sets and two tables. Each table is
> bound to its corresponding data set. First table is a master table and the
> second is a subreport (inner) table. The two data sets are additionaly
> linked together (join). So, for each record in master data set there are
> usually a couple of records in subreport. It happens sometimes that there
> are no records at all in subreport.
>
> I also have a function with one parameter that I declared in Initialize.
> This function is called in data element of subreport (f(row["CZAS"])).
> When there are no records in subreport function is called with parameter
> which value is org.eclipse.birt.data.engine.script.DataExceptionMocker@...
> I expect that this function would not be called.
>
> I hope that above explanation is clear.
>
> Robert
Previous Topic:Wat to change the datasource at runtime
Next Topic:Nested tables - do they work?
Goto Forum:
  


Current Time: Sun Jul 27 00:30:21 EDT 2025

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

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

Back to the top