Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Problem with BIRT Report Parameters - 7.1

From: shannonrotz (2011-12-30 22:28)

Hi guys: I'm writing a BIRT report that has Start Date and End Date parameters. The parameters are not required in the report, since I have adjusted the code to allow for nulls.
When I run the report with no Start or End date in Eclipse's development environment, everything's fine.
The problem is when I try to run the report in Maximo itself. If I enter a Start Date and End Date, the report runs fine. However, when I run the report in Maximo, if I don't specify a Start Date or End Date, I receive a report error, i.e.

org.eclipse.birt.report.exception.ViewerValidationException: The parameter "{0}" cannot be blank
In Report Administration, the parameters are not required, so I'm not sure why this is popping up.
Can anyone share some insight?
TIA
Shannon


From: shannonrotz (2011-12-30 22:35)

Further to my previous post: the parameters in Report Administration were automatically imported when I imported the report design file. I deleted those, and re-added them manually in Report Administration - that that seems to have worked for some reason ...
Strange.
Shannon
--- In MAXIMO@yahoogroups.com, "shannonrotz" <shannonrotz@...> wrote:
>
> Hi guys: I'm writing a BIRT report that has Start Date and End Date parameters. The parameters are not required in the report, since I have adjusted the code to allow for nulls.
>
> When I run the report with no Start or End date in Eclipse's development environment, everything's fine.
>
> The problem is when I try to run the report in Maximo itself. If I enter a Start Date and End Date, the report runs fine. However, when I run the report in Maximo, if I don't specify a Start Date or End Date, I receive a report error, i.e.
>
> org.eclipse.birt.report.exception.ViewerValidationException: The parameter "{0}" cannot be blank
>
> In Report Administration, the parameters are not required, so I'm not sure why this is popping up.
>
> Can anyone share some insight?
>
> TIA
>
>
>
> Shannon
>


From: Russ Thompson (2011-12-30 22:38)

It must be a formatting issue if the content was exact. Just a thought.
Russ

From: shannonrotz [mailto:shannonrotz@yahoo.ca]
Sent: Friday, December 30, 2011 10:35 PM
To: MAXIMO@yahoogroups.com <MAXIMO@yahoogroups.com>
Subject: [MAXIMO List] Re: Problem with BIRT Report Parameters - 7.1



Further to my previous post: the parameters in Report Administration were automatically imported when I imported the report design file. I deleted those, and re-added them manually in Report Administration - that that seems to have worked for some reason ...

Strange.

Shannon

--- In MAXIMO@yahoogroups.com<mailto:MAXIMO%40yahoogroups.com>, "shannonrotz" <shannonrotz@...> wrote:
>
> Hi guys: I'm writing a BIRT report that has Start Date and End Date parameters. The parameters are not required in the report, since I have adjusted the code to allow for nulls.
>
> When I run the report with no Start or End date in Eclipse's development environment, everything's fine.
>
> The problem is when I try to run the report in Maximo itself. If I enter a Start Date and End Date, the report runs fine. However, when I run the report in Maximo, if I don't specify a Start Date or End Date, I receive a report error, i.e.
>
> org.eclipse.birt.report.exception.ViewerValidationException: The parameter "{0}" cannot be blank
>
> In Report Administration, the parameters are not required, so I'm not sure why this is popping up.
>
> Can anyone share some insight?
>
> TIA
>
>
>
> Shannon
>




From: Mohamed Skandaji (2012-01-02 09:03)

you have probably defined the parameters as mandatory in BIRT
On Fri, Dec 30, 2011 at 4:38 PM, Russ Thompson <rthompson@idahoan.com>wrote:
> **
>
>
> It must be a formatting issue if the content was exact. Just a thought.
> Russ
>
> From: shannonrotz [mailto:shannonrotz@yahoo.ca]
> Sent: Friday, December 30, 2011 10:35 PM
> To: MAXIMO@yahoogroups.com <MAXIMO@yahoogroups.com>
> Subject: [MAXIMO List] Re: Problem with BIRT Report Parameters - 7.1
>
>
>
> Further to my previous post: the parameters in Report Administration were
> automatically imported when I imported the report design file. I deleted
> those, and re-added them manually in Report Administration - that that
> seems to have worked for some reason ...
>
> Strange.
>
> Shannon
>
> --- In MAXIMO@yahoogroups.com<mailto:MAXIMO%40yahoogroups.com>,
> "shannonrotz" <shannonrotz@...> wrote:
> >
> > Hi guys: I'm writing a BIRT report that has Start Date and End Date
> parameters. The parameters are not required in the report, since I have
> adjusted the code to allow for nulls.
> >
> > When I run the report with no Start or End date in Eclipse's development
> environment, everything's fine.
> >
> > The problem is when I try to run the report in Maximo itself. If I enter
> a Start Date and End Date, the report runs fine. However, when I run the
> report in Maximo, if I don't specify a Start Date or End Date, I receive a
> report error, i.e.
> >
> > org.eclipse.birt.report.exception.ViewerValidationException: The
> parameter "{0}" cannot be blank
> >
> > In Report Administration, the parameters are not required, so I'm not
> sure why this is popping up.
> >
> > Can anyone share some insight?
> >
> > TIA
> >
> >
> >
> > Shannon
> >
>
>
>
>
>
>
>
>
--
Mohamed Skandaji, MBA, PMP