Support Article

BIX via command line bouncy castle exception

SA-27599

Summary



While running a Business Intelligence Exchange (BIX)  extract rule from command line a ClassCastException is being thrown and the extract fails.


Error Messages



java.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 Reproduce



Run BIX Extract through command line.


Root Cause



A 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.


Resolution



Make 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:
  • jsr94-1.0.jar
  • prbootstrap.jar
  • prbootstrap-api.jar
  • prdbcp.jar

 

Published September 2, 2016 - Updated September 15, 2016

Have a question? Get answers now.

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