Skip to main content



      Home
Home » Archived » BIRT » getProperty() returns null
getProperty() returns null [message #252132] Mon, 13 August 2007 09:20 Go to next message
Eclipse UserFriend
Hi,

i'm using BIRT 2.2 and i've ran into this problem:

i created report with user property called "version". Later i need to
access that property using BIRT Runtime. I access it using getProperty()
method:

ReportRunnable reportDesign = engine.openReportDesign("Report.rptdesign");
String version = reportDesign.getProperty("version");

Now, when there's a library linked to Report.rptdesign, version is null.
When i remove the library from report design, it returns correct value.
Where's the problem? Am i accesing it wrong? How should i access user
properties with BIRT Runtime.

Thanks
Re: getProperty() returns null [message #252147 is a reply to message #252132] Mon, 13 August 2007 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

This sounds like a bug. Can you log a bugzilla entry?


Jason


Gravy wrote:
> Hi,
>
> i'm using BIRT 2.2 and i've ran into this problem:
>
> i created report with user property called "version". Later i need to
> access that property using BIRT Runtime. I access it using getProperty()
> method:
>
> ReportRunnable reportDesign = engine.openReportDesign("Report.rptdesign");
> String version = reportDesign.getProperty("version");
>
> Now, when there's a library linked to Report.rptdesign, version is null.
> When i remove the library from report design, it returns correct value.
> Where's the problem? Am i accesing it wrong? How should i access user
> properties with BIRT Runtime.
>
> Thanks
>
Re: getProperty() returns null [message #252155 is a reply to message #252147] Mon, 13 August 2007 10:19 Go to previous message
Eclipse UserFriend
Submitted as bug to bugzilla with id 199751:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=199751
Previous Topic:Another BIRT newbie question - Please help
Next Topic:BIRT 2.1.2 Chart report not working in 2.1.3 - please help
Goto Forum:
  


Current Time: Tue Jul 22 17:06:15 EDT 2025

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

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

Back to the top