Page 1 of 1

Jasper Report 6

PostPosted: Fri Mar 17, 2017 11:45 am
by jasantana
Good morning all.

I'm moving my old jasper reports to the new plugin version. I have tested the stable and the latest beta version of it.

I have also re-compiled the reports using JasperSoft Studio 6.1.1 and reports can be previewed from within the report designer.

When I run it from Servoy I get the following error:

Code: Select all
class "net.sf.jasperreports.engine.export.HtmlResourceHandler"'s signer information does not match signer information of other classes in the same package
Wrapped java.lang.Exception: java.lang.SecurityException: class "net.sf.jasperreports.engine.export.HtmlResourceHandler"'s signer information does not match signer information of other classes in the same package (D:\Dropbox\Git\Servoy\nephos\gsfwk_navigator\forms\gsfwk_nav_ReportCode.js#657)


That's basically the line the executes the
Code: Select all
plugins.jasperPluginRMI.runReport


Any clue what's happening?

Thanks in advance.

Re: Jasper Report 6

PostPosted: Fri Mar 17, 2017 11:56 am
by patrick
What Servoy version are you running this with? The latest Servoy versions have been code signed with a new certificate and the latest Jasper version uses the same. It sounds like you are using an older version of Servoy (old certificate) with the latest Jasper plugin version (new certificate) and that doesn't match.

Re: Jasper Report 6

PostPosted: Fri Mar 17, 2017 12:01 pm
by Gabi Boros
can it be that you are using the old htmlcomponent-5.5.1.jar, that is signed with the old certificate ? if so, you need to replace that also, with the latest one, htmlcomponent-6.3.1.jar

Re: Jasper Report 6

PostPosted: Fri Mar 17, 2017 1:08 pm
by jasantana
Patrick I'm using Servoy 7.4.9 build 2047

Re: Jasper Report 6

PostPosted: Fri Mar 17, 2017 1:20 pm
by jasantana
Spot on Gabi.

That was the issue, just updated the htmlcomponent and that did the trick.

Thank you both for your help, problem solved

Re: Jasper Report 6

PostPosted: Fri Mar 17, 2017 1:59 pm
by patrick
Yes, 7.4.9 is the version with the new certificate...