cancel
Showing results for 
Search instead for 
Did you mean: 

ISessionMgr.logon error: InvalidAlgorithmParameterException

0 Kudos

Using Java SDK logon to install of SAP BO 4.2 (sp7) we get the Exception - com.rsa.crypto.InvalidAlgorithmParameterException. We are moving from SAP BO 3.1 to 4.2. We have updated all jars and are trying to logon to the 4.2 server.

Java code:

ISessionMgr sm = CrystalEnterprise.getSessionMgr();

iEnterpriseSession = sm.logon(crystalServerUserName, crystalServerPassword, crystalServerName, "secEnterprise");

Exception and stack trace:

com.rsa.crypto.InvalidAlgorithmParameterException: Could not DER encode parameters: No OID for this transformation.

at com.rsa.cryptoj.o.bp.a(Unknown Source) [cryptojFIPS.jar:6.2.1]

at com.rsa.cryptoj.o.bk.a(Unknown Source) [cryptojFIPS.jar:6.2.1]

at com.rsa.cryptoj.o.bk.a(Unknown Source) [cryptojFIPS.jar:6.2.1]

at com.rsa.cryptoj.o.es.h(Unknown Source) [cryptojFIPS.jar:6.2.1]

at com.rsa.cryptoj.o.es.getKeyData(Unknown Source) [cryptojFIPS.jar:6.2.1]

at com.businessobjects.bcm.internal.ECDHKeyAgreeImpl.init(ECDHKeyAgreeImpl.java:96) [bcm.jar:14.0.0.000]

at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.establishConfidentialChannel(ConfidentialChannelService.java:190) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.createConfidentialChannel(ConfidentialChannelService.java:149) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.CCMap.locateCCItem(CCMap.java:63) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:906) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:860) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:240) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:166) [cecore.jar:14.2.7.3069]

at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody0(SessionMgr.java:823) [cesession.jar:14.2.7.3069]

at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody1$advice(SessionMgr.java:523) [cesession.jar:14.2.7.3069]

at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1) [cesession.jar:14.2.7.3069]

Accepted Solutions (0)

Answers (3)

Answers (3)

kevin_xiang
Explorer

We met the exact same error, is it a bug for SP7? need help SAP!

0 Kudos

I had the same problem and I ended up finding it was due to a conflict with asn1.jar library already existing in my project. After removing it BOE logon worked.

former_member588018
Discoverer
0 Kudos

Is the problem solved?

No idea for this error.

I also have this error when using app to connect to the crystal server

I am using crystal server 2016.