Skip to main content

Support Article

Unable to upload password secured PDF documents to Eform File



Error occurs while uploading password secured PDF documents using the PDF for Eform Wizard.

Error Messages

The Flow Action post-processing activity PopulateFileRule failed: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable

Steps to Reproduce

Import a password protected PDF file using the PDF for Eform Wizard (navigate to Designer Studio > Integration > Tools >  PDF for Eform Wizard).

Root Cause

A third-party product issue.

The DEREncodable class definition was missing in the default bcprov-jdk15on-1.60.jar shipped with Pega 8.1 as it was removed from the current version of the BouncyCastle releases.
However, the platform cannot be shipped with the old bcprov-jdk14-138.jar which contains this class as it would prevent other features from working correctly.


Perform the following local-change: 
  1. Download the bcprov-jdk14-138.jar file.
  2. Import the file to Pega using Application > Distribution > Import wizard in the user's codeset.
Suggest Edit

Published March 25, 2019 - Updated March 27, 2019

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us