Free Support Forum - groupdocs.com

Error during open PDF file in sample application


#1

Hi,

I try to open PDF file in sample application.

On debug mode I catch an error:
class “com.aspose.pdf.aG$h”'s signer information does not match signer information of other classes in the same package

In Web application I’ve got error (attachment):
Can’t connect to server.

All other file types works correctly.

What can I do to fix it?


#2

Hello Pawel,


We are sorry to hear that you have such issue. Could you please provide more info about it. We need next:

1. Which sample you use - Slim, DropWizard etc.?
2. Version of the Java
3. Example of the failed pdf document.
4. Example of the configuration and code that you use for the Viewer

Thank you

#3
No problem, here are details:

1. Spring (with Fat lib)

2. Environment:
2.1 Java 8 (Oracle)
2.2 Ubuntu 15.04 x64,
2.3 Tomcat 8 (I can't use embed Tomcat because it doesn't support JSP file included in Spring sample. Example is broken.
2.4 I also have to make few changes in pom.xml. Add maven central repository. (Maven couldn't find and download libs from ASPOSE repository)

3. PDF file created by Firefox - print to PDF (also try PDF from google doc and OpenOffice)

4. Attachments and source code:
4.1 Source from: https://github.com/groupdocs/groupdocs-viewer-java-spring-sample
4.2 Configuration and PDF in zip file
4.3 Screen from IDE where I catch error

Error is occurred in: HomeController.java : line 180

#4

Hello,


Thank you for all these info. We will investigate your issue and come back to you with updates ASAP.

Thank you.

#5

Hello,


Sorry for the delay. We have reproduced your issue and we have created a bug ticket for it (you can see it attached). Our Product team will resolve it soon and then you will be notified here.

Sorry for inconvenience.