Compilation Error in 9.24.1

1
Hi Team,   Can anyone please help me in resolving the below compilation error: H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\actions\ValidatePrivateKeyRing.java:39: error: incompatible types: InputStream cannot be converted to Map         new PGPSecretKeyRingCollection(PGPUtil.getDecoderStream(Core.getFileDocumentContent(getContext(), this.PrivateKeyRing.getMendixObject()) ), new BcKeyFingerprintCalculator());                                                                ^ H:\Mendix Projects\Themis-Upgarde_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());                                                                                                               ^ H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\pgp\PGPUtils.java:114: error: incompatible types: InputStream cannot be converted to Map         PGPSecretKeyRingCollection keyRingCollection = new PGPSecretKeyRingCollection(PGPUtil.getDecoderStream(in), new BcKeyFingerprintCalculator());                                                                                                               ^ H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\pgp\PGPUtils.java:141: error: cannot find symbol         if ( secretKey.getPublicKey().hasRevocation() ) {                                      ^   symbol:   method hasRevocation()   location: class PGPPublicKey H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\pgp\PGPUtils.java:166: error: incompatible types: InputStream cannot be converted to Map         PGPSecretKeyRingCollection pgpSec = new PGPSecretKeyRingCollection(PGPUtil.getDecoderStream(keyIn), new BcKeyFingerprintCalculator());                                                                                                    ^ H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\pgp\PGPUtils.java:362: error: cannot find symbol             spGen.addSignerUserID(false, it.next());                  ^   symbol:   method addSignerUserID(boolean,String)   location: variable spGen of type PGPSignatureSubpacketGenerator H:\Mendix Projects\Themis-Upgarde_9.24\javasource\encryption\pgp\PGPUtils.java:423: error: incompatible types: InputStream cannot be converted to Map         PGPPublicKeyRingCollection pgpRing = new PGPPublicKeyRingCollection(PGPUtil.getDecoderStream(keyIn), new BcKeyFingerprintCalculator());                                                                                                     ^ H:\Mendix Projects\Themis-Upgarde_9.24\javasource\inviteapi\proxies\microflows\Microflows.java:27: error: method execute in class Core cannot be applied to given types;             Core.execute(context, "InviteAPI.SendInvite", params);                 ^   required: T   found: IContext,String,Map<String,Object>   reason: cannot infer type-variable(s) T,R     (actual and formal argument lists differ in length)   where T,R are type-variables:     T extends CoreAction<R> declared in method <T,R>execute(T)     R extends Object declared in method <T,R>execute(T) H:\Mendix Projects\Themis-Upgarde_9.24\javasource\permissionsapi\proxies\microflows\Microflows.java:26: error: method execute in class Core cannot be applied to given types;             java.util.List<IMendixObject> objs = Core.execute(context, "PermissionsAPI.GetRolesForOpenID", params);                                                      ^   required: T   found: IContext,String,Map<String,Object>   reason: cannot infer type-variable(s) T,R     (actual and formal argument lists differ in length)   where T,R are type-variables:     T extends CoreAction<R> declared in method <T,R>execute(T)     R extends Object declared in method <T,R>execute(T) H:\Mendix Projects\Themis-Upgarde_9.24\javasource\profileservice\proxies\microflows\Microflows.java:26: error: method execute in class Core cannot be applied to given types;             IMendixObject result = (IMendixObject)Core.execute(context, "ProfileService.GetUserProfile", params);                                                       ^   required: T   found: IContext,String,Map<String,Object>   reason: cannot infer type-variable(s) T,R     (actual and formal argument lists differ in length)   where T,R are type-variables:     T extends CoreAction<R> declared in method <T,R>execute(T)     R extends Object declared in method <T,R>execute(T) Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 10 errors 1 warning  
asked
2 answers
1

Hello,

 

What’s the Encryption module version you are using ?

answered
0

I’m using v9.0.1

answered