Support Article
Out of the box Pega library compilation fails
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
- Open Pega-IntegrationEngine_default library
- Open Pega-ProCom_default library
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.