BIX via command line bouncy castle exception
SummaryWhile running a
Business Intelligence Exchange (BIX) extract rule from command line a ClassCastException is being thrown and the extract fails.
Error Messagesjava.lang.InternalError: cannot create instance of org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings : java.lang.ClassCastException: org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings incompatible with org.bouncycastle.jcajce.provider.util.AlgorithmProvider
Steps to ReproduceRun BIX Extract through command line.
Root CauseA defect or configuration issue in the operating environment is causing the issue.
Unnecessary jar files are in the lib directory / classpath for use with the BIX command line extract process. In this case, the jar file causing the issue is bcprov-jdk15on-1.52.jar.
ResolutionMake the following change to the operating environment:
Remove unnecessary jar files from the lib directory or classpath. For Pega 7.1.7, the only jar files needed, other than the appropriate jdbc drivers, are as follows:
Published September 2, 2016 - Updated September 15, 2016