Error: incompatible types: InputStream cannot be converted to Map

0
Hi All,   I’m getting below error in Encryption module. Please advise. 9.24\javasource\encryption\pgp\PGPUtils.java:75: error: incompatible types: InputStream cannot be converted to Map         PGPPublicKeyRingCollection keyRingCollection = new PGPPublicKeyRingCollection(PGPUtil.getDecoderStream(in), new BcKeyFingerprintCalculator());                                                                                                               ^
asked
1 answers
0

Hello,

This probably has to do with the java libraries that are used in the Encryption module. Check in the userlib folder of your project directory whether you have different versions of the bcpg-jdk15on jar file. If yes then try removing the old one (make a copy in case that doesn't work) and see if it works after that or not.

 

Hope it helps!

answered