Jasper Report 6

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

Jasper Report 6

Postby jasantana » Fri Mar 17, 2017 11:45 am

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.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Jasper Report 6

Postby patrick » Fri Mar 17, 2017 11:56 am

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.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Jasper Report 6

Postby Gabi Boros » Fri Mar 17, 2017 12:01 pm

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
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Jasper Report 6

Postby jasantana » Fri Mar 17, 2017 1:08 pm

Patrick I'm using Servoy 7.4.9 build 2047
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Jasper Report 6

Postby jasantana » Fri Mar 17, 2017 1:20 pm

Spot on Gabi.

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

Thank you both for your help, problem solved
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Jasper Report 6

Postby patrick » Fri Mar 17, 2017 1:59 pm

Yes, 7.4.9 is the version with the new certificate...
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 9 guests