voyent
ICEpdf 6.2.4 - is Available for Download  XML
Forum Index -> ICEpdf General
Author Message
patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1898
Offline


ICEpdf 6.2.4 - is Available for Download

We are pleased to announce the availability of ICEpdf 6.2.4 and encourage supported users to upgrade to this version. For a full list of changes and enhancements go to:
http://www.icesoft.org/wiki/display/PDF/ICEpdf+6.2.4+Release+Notes

ICEpdf 6.2.4 is now available and can be downloaded here:
http://www.icesoft.org/java/downloads/icepdf-downloads.jsf


Don't forget to take the ICEpdf features Survey! https://www.surveymonkey.com/r/MPSXPFG

[Email]
primius

Joined: 23/May/2017 06:16:38
Messages: 3
Offline


I just updated my application to version 6.2.4 and get the following error in my unit tests:


Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider


I'm relatively sure that the error has to do with the new version. With version 6.2.2 there were no problems. What can i do?

patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1898
Offline


The org.bouncycastle.jce.provider.BouncyCastleProvider class is loaded reflectively by the core library and is optional. The viewer RI uses org.bouncycastle.jce.provider.BouncyCastleProvider to verify digital signatures and is a dependency of the viewer and is not optional. This can be seen the ./maven/icepdf-viewer.pom. The Bouncy jars that are needed can be found in the ./lib folder of the bundle.

My best guess is that you have a file that has an embedded digital signature and the Viewer RI is throwing the exception.
[Email]
primius

Joined: 23/May/2017 06:16:38
Messages: 3
Offline


Thx Patrick, after adding the pom to the repository directory it didn't get this error anymore. But i get a new error:

2017-05-29 12:41:07 ERROR [ICEpdf-thread-pool] SYSERR:167 - Mai 29, 2017 12:41:07 PM org.icepdf.ri.common.views.AbstractPageViewComponent$PageImageCaptureTask call
WARNUNG: Error during page capture task: org/icepdf/core/util/content/b 0
java.lang.NoClassDefFoundError: org/icepdf/core/util/content/b
at org.icepdf.core.util.content.ContentParserFactory.getContentParser(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Unknown Source)
at org.icepdf.ri.common.views.AbstractPageViewComponent$PageImageCaptureTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

I looked in the jar and i can't find a class named 'b' in the corresponding package. Do you have any hints, how i can avoid this error?
(i'm using the community version)
patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1898
Offline


You need to make sure that you are using the all the icepdf-*.jars from the official 6.2.4 bundle. If the jars from the trial release are mixed with the official release there will be class not found errors.

Also make sure that the following jars are on your class path:

icepdf-core.jar
icepdf-pro.jar
icepdf-pro-intl.jar
icepdf-viewer.jar
[Email]
primius

Joined: 23/May/2017 06:16:38
Messages: 3
Offline


After building the 6.3.0-SNAPSHOT-version instead of the icepdf-6.2.4_beta_1-version maven-build is working and i don't get this error anymore, thx.
 
Forum Index -> ICEpdf General
Go to:   
Powered by JForum 2.1.7ice © JForum Team