Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Out of the box Pega library compilation fails

SA-39779

Summary



Unable to compile Pega libraries: Pega_IntegrationEngine_default and Pega_ProCom_default.



Error Messages

In the Pega-RULES.log:

(ary.LibraryFunctionUtilityImpl) ERROR - Error compiling: com/pegarules/generated/dcm_pdfutils1; see class's compile log file.
(ary.LibraryFunctionUtilityImpl) ERROR - Error compiling: com/pegarules/generated/pega_integrationengine_default; see class's compile log file.
(ary.LibraryFunctionUtilityImpl) ERROR - Error compiling: com/pegarules/generated/pega_procom_default; see class's compile log file.


In Pega_IntegrationEngine_default.log:

1. The method addSigner(PrivateKey, X509Certificate, String, AttributeTable, null) is undefined for the type SMIMESignedGenerator

2. The method addCertificatesAndCRLs(CertStore) is undefined for the type SMIMESignedGenerator

3. The method generate(MimeMessage) in the type SMIMESignedGenerator is not applicable for the arguments (MimeMessage, String)

4. The method addKeyTransRecipient(X509Certificate) is undefined for the type SMIMEEnvelopedGenerator

5. The method generate(MimeMessage, OutputEncryptor) in the type SMIMEEnvelopedGenerator is not applicable for the arguments (MimeMessage, String, String)

In Pega_ProCom_default.log:


1. The method addSigner(PrivateKey, X509Certificate, String, AttributeTable, null) is undefined for the type SMIMESignedGenerator

2. The method addCertificatesAndCRLs(CertStore) is undefined for the type SMIMESignedGenerator

3. The method generate(MimeMessage) in the type SMIMESignedGenerator is not applicable for the arguments (MimeMessage, String)


Steps to Reproduce

  1. Open Pega-IntegrationEngine_default library
  2. Open Pega-ProCom_default library
  3. Click Generate Library



Root Cause



A third-party product issue. An incompatible version of pdfbox-app was imported into the database.



Resolution

Perform the below change to the operating environment:

Delete the incompatible class references from the Pega_RULES.pr_engineclasses table.

See SA-22455 for more information.

Published August 21, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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