Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Linking chart by parameter causes error when a NULL param value is reached
Linking chart by parameter causes error when a NULL param value is reached [message #57968] Thu, 14 July 2005 03:48 Go to next message
Eclipse UserFriend
Originally posted by: none.none.none

I have a chart embedded in a group and linked by a single parameter
(datatype is string). This group is actually a subgroup of one or more
groups. So there may not always be data for the group, and thus no
parameter value for the chart.
When this happens (when there is no data for the group), I get this error
message:

There are errors on the report page:
- There are error(s) in Chart:null
Error0 : data.engine.NullDefaultInParamValue(1 time)detail: Default value
for
input parameter cannot be null.Error1 : Error.ExtendedItemRenderingError(1
time)detail: There are problems(s) rendering Chart extended item .The
DataSet
bound to the chart returned no rows.

I think this would be a common/expected occurence that should not raise an
error, but rather the query should just be skipped.I entered this into
bugzilla and it looks like they classified it as an "enhancement" and a
target release of 2.0. This surprises me a bit since many of my reports
have big ugly error messages in them and they shouldn't be there... I mean,
a report shouldn't throw an error due to no-data.

This is really killing some reports, does anyone know of a workaround to
hold me over?? I'm out of ideas, except for maybe modifying the viewer code
to suppress errors, which I'd rather not do.

Thanks!
Re: Linking chart by parameter causes error when a NULL param value is reached [message #58188 is a reply to message #57968] Thu, 14 July 2005 08:15 Go to previous message
Eclipse UserFriend
Originally posted by: none.none.com

Hi Chris,

The bugzilla entry has been resolved.

Thanks,

David

"chris" <none@none.none> wrote in message
news:db4n9n$3p5$1@news.eclipse.org...
>I have a chart embedded in a group and linked by a single parameter
>(datatype is string). This group is actually a subgroup of one or more
>groups. So there may not always be data for the group, and thus no
>parameter value for the chart.
> When this happens (when there is no data for the group), I get this error
> message:
>
> There are errors on the report page:
> - There are error(s) in Chart:null
> Error0 : data.engine.NullDefaultInParamValue(1 time)detail: Default value
> for
> input parameter cannot be null.Error1 : Error.ExtendedItemRenderingError(1
> time)detail: There are problems(s) rendering Chart extended item .The
> DataSet
> bound to the chart returned no rows.
>
> I think this would be a common/expected occurence that should not raise an
> error, but rather the query should just be skipped.I entered this into
> bugzilla and it looks like they classified it as an "enhancement" and a
> target release of 2.0. This surprises me a bit since many of my reports
> have big ugly error messages in them and they shouldn't be there... I
> mean, a report shouldn't throw an error due to no-data.
>
> This is really killing some reports, does anyone know of a workaround to
> hold me over?? I'm out of ideas, except for maybe modifying the viewer
> code to suppress errors, which I'd rather not do.
>
> Thanks!
>
>
Previous Topic:XML as DataSource for BIRT Reports
Next Topic:Programmatically adding Groups to a report design
Goto Forum:
  


Current Time: Fri Jul 19 05:24:13 GMT 2024

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

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

Back to the top