IBM Support

Exception in thread "main" java.lang.NullPointerException when importing an SSL certificate via ThirdPartyCertificateTool.sh

Troubleshooting


Problem

Exception in thread "main" java.lang.NullPointerException when importing an SSL certificate via ThirdPartyCertificateTool.sh on UNIX

Symptom

When running the following command an error is received:

ThirdPartyCertificateTool.sh -T -i -r /opt/cognos/certificates/certificate.cer -D ../configuration/signkeypair -p NoPassWordSet

Error received during import:


log4j:WARN No appenders could be found for logger (Trace.CAM.JCAM).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.NullPointerException
at com.cognos.accman.jcam.crypto.misc.CAMCryptoUtilities.
getCertificatesFromFile(CAMCryptoUtilities.java:436)
at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.
installCACert(ThirdPartyCertificateTool.java:660)
at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.
main(ThirdPartyCertificateTool.java:1043)

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install and Config","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"10.2;10.2.1;10.2.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 May 2025

UID

swg21594952