Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Glenn Buckholtz
What version of JasperSoft iReport Designer works with portlet
January 31, 2013 1:27 PM
Answer

Glenn Buckholtz

Rank: New Member

Posts: 3

Join Date: April 29, 2010

Recent Posts

I am trying to put a report that I have generated with iReport Designer 4.7 and 5.0 with no success.
Whenever the job runs I get the following error:


19:29:00,103 ERROR [Digester:1635] Parse Error at line 2 column 483: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.


This report runs just fine in iReport just not in Liferay.

Suggestions?
Hitoshi Ozawa
RE: What version of JasperSoft iReport Designer works with portlet
January 31, 2013 1:52 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I haven't used Liferay.com's Reporting portlet but from the error message, it seems you have uuid in your JasperReport file that is in conflict with Liferay's portlet variable.
Try changing it to something else.
Glenn Buckholtz
RE: What version of JasperSoft iReport Designer works with portlet
January 31, 2013 2:01 PM
Answer

Glenn Buckholtz

Rank: New Member

Posts: 3

Join Date: April 29, 2010

Recent Posts

I have tried several different reports and I get the same uuid error.

I am thinking that it has to do with the jaspersoft engine. It may be very old and doesn't understand the xml generated by the newer iReport Designers. I am using the latest release EE build from the market place for Jaspersoft Reports and Reports EE.

Isn't there anything from Liferay that documents what iReports Designer is compatible with Jasper Reports EE ?
Hitoshi Ozawa
RE: What version of JasperSoft iReport Designer works with portlet
January 31, 2013 2:48 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

You'll have to contact Liferay.com about it instead of the community. I don't think they offer anything more than what's available online in the Documentation but I'm not sure.

I'm using liferay's framework but found that most of the users are unhappy with their portlets so we've developed our own.

There's also Aperte Reports portlet which seems to be better and slightly better documented.

http://code.google.com/p/aperte-reports/
Richard SINELLE
RE: What version of JasperSoft iReport Designer works with portlet
February 12, 2013 12:35 PM
Answer

Richard SINELLE

Rank: Junior Member

Posts: 26

Join Date: April 7, 2011

Recent Posts

You need to use ireport désigner corresponding to the version embedded of jasper library in the jasperweb report portlet.
But if you need a specific version of jasper you can upgrade the jasper report library version in jasperwebreport portlet.
I did it for a project ans it´s word perfectly

Richard
Cody Hoag
RE: What version of JasperSoft iReport Designer works with portlet
February 22, 2013 8:50 AM
Answer

Cody Hoag

LIFERAY STAFF

Rank: New Member

Posts: 17

Join Date: April 26, 2012

Recent Posts

The 4.5.1 iReport-Designer is the most up to date version that does not insert the uuid into the jasperReport element. The reports created by the 4.5.1 version work great with no errors in the Liferay Reports app.
Wessel Oosthuizen
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 5:58 AM
Answer

Wessel Oosthuizen

Rank: Junior Member

Posts: 25

Join Date: August 9, 2012

Recent Posts

In iReport you can set the compatibility level by going to "Tools" then "Options" and then the "Compatibility" tab. Change it to "JasperReports4.5.0". Now every time you save a report it will not add the "uuid" attribute anywhere...
Glenn Buckholtz
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 8:12 AM
Answer

Glenn Buckholtz

Rank: New Member

Posts: 3

Join Date: April 29, 2010

Recent Posts

I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 8:40 AM
Answer

James Falkner

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1198

Join Date: September 17, 2010

Recent Posts

Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



Check out this screenshot (I recently ran into this too and setting compatibility to 4.0.2 solved it).

Preferences->General->Compatibility

BTW, I also used the tool to create a template, which included some images (like "coffee.jpg") which are nowhere to be found when used in Liferay to generate reports, and I had no idea where to put the images.. So I deleted the images from the template.
Attachment

Attachments: Screen Shot 2013-05-31 at 11.39.44 AM.png (63.2k)
Wessel Oosthuizen
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 8:57 AM
Answer

Wessel Oosthuizen

Rank: Junior Member

Posts: 25

Join Date: August 9, 2012

Recent Posts

Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 9:07 AM
Answer

James Falkner

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1198

Join Date: September 17, 2010

Recent Posts

Wessel Oosthuizen:
Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...


I believe it's because we bundle in an old version of the JasperReports engine with the JasperReports EE plugin. The actual version bundled as of now is 4.0.2. I'll file a ticket to get this looked at for a potential upgrade, but for now it's 4.0.2, which is why I chose the 4.0.2 compatibility level, but if 4.5 also works, then that's cool. Must be in version after 4.5 that the uuid stuff was included.
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 9:11 AM
Answer

James Falkner

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1198

Join Date: September 17, 2010

Recent Posts

James Falkner:
Wessel Oosthuizen:
Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...


I believe it's because we bundle in an old version of the JasperReports engine with the JasperReports EE plugin. The actual version bundled as of now is 4.0.2. I'll file a ticket to get this looked at for a potential upgrade, but for now it's 4.0.2, which is why I chose the 4.0.2 compatibility level, but if 4.5 also works, then that's cool. Must be in version after 4.5 that the uuid stuff was included.


Ok, seems Hai already filed LPS-34591. So I would highly recommend all of you interested in seeing this upgrade to 'Vote' for the ticket by signing into JIRA and clicking "Vote" emoticon
Jack Bakker
RE: What version of JasperSoft iReport Designer works with portlet
May 31, 2013 9:38 AM
Answer

Jack Bakker

Rank: Liferay Master

Posts: 559

Join Date: January 3, 2010

Recent Posts

I've been using jasperreports for BI for over 10 years including in Liferay ; I have always just picked a jasperreports and cooresponding ireport version and ran with it - updating jasperreports*.jar in portlet lib as needed (in liferay lining up with ROOT/WEB-INF/lib *.jar version also)

but in context of this issue, perhaps I am missing something fundamental here wrt whatever it is the JasperReports EE plugin does...