Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Questions and answers on developing, deploying and using plugins and JavaBeans

Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby nevenam » Thu Mar 20, 2014 4:37 pm

Hi,
In my Servoy Developer, version 7.3 2022, I get the following error when the method plugins.jasperPluginRMI.compileReport is called:
JavaException: java.lang.Exception: Errors were encountered when compiling report expressions class file:
1. The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
/*
^
1 errors


Do you have any idea what might be the reason? My java version is 1.8.0-b132, 64 bit.
Nevena
nevenam
 
Posts: 13
Joined: Tue Oct 09, 2012 4:53 pm

Re: Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby Hans Nieuwenhuis » Thu Mar 20, 2014 6:19 pm

What version of the jasper plugin and what version of Ireport do You use ?

And I see You use Java 8, maybe that is the problem ??

Regards,
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Re: Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby rossent » Mon Apr 14, 2014 4:25 pm

Same problem here with Servoy 7.4 and the final release version of Java 8 - cannot compile reports and getting the same error.
The problem started after updating to Java 8. Servoy Developer, Smart & Web clients work fine and I can even run reports which have already been compiled to .jasper file. However attempting to compile .jrxml files results in the error:

Code: Select all
java.lang.Exception: Errors were encountered when compiling report expressions class file:
1. The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files


Using the latest version of the Servoy Jasper Plugin available on the ServoyForge site - 4.0.2 - beta 1


I tried with a clean install of Java 8 (after uninstalling all other Java versions) and then a clean install of Servoy 7.4 - still getting the same results.
Last edited by rossent on Tue Apr 15, 2014 10:00 am, edited 1 time in total.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby rossent » Tue Apr 15, 2014 9:53 am

Hi Servoy,

Have you tested the Servoy Jasper Plugin with Java 8? Is it compatible? Is there a fix/workaround for the issue described here?
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby rossent » Tue Apr 15, 2014 10:06 am

Something which I got related to similar issue in RedHat:

https://bugzilla.redhat.com/show_bug.cgi?id=1080026
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 7.3 plugins.jasperPluginRMI.compileReport error

Postby rossent » Tue Apr 15, 2014 10:19 am

Upgrading the JDT Complier to ecj-4.3.1.jar resolves the issue. I created a ticket in ServoyForge for this: https://www.servoyforge.net/issues/804
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 11 guests