cancel
Showing results for 
Search instead for 
Did you mean: 

Verification of Digital Sign Certificate error while Verifying

sapjmm
Participant
0 Kudos

Hi Experts


Regarding our Scenario one of the our third party they signing digital

signature in payload in PI we need to verify the digital signature and

to be sent to ECC.In the PI we are using standard API to verify the

digital signature but we are getting the (Null Pointer Exception).



Bellow is the error message attached.

"MappingException: Mapping failed in runtimeRuntime Exception when

executing application mapping program

com/sap/xi/tf/_SI_CFMS_RBI_PAIN_001_Verify_; Details:

com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception

when processing target-field mapping /RequestPayload/AppHdr/Sgntr; root

message: Exception:[java.lang.SecurityException: Error while verifying

data: java.lang.NullPointerException: while trying to invoke the method

com.sap.security.core.server.ssf.SsfDataXML.verify(com.sap.security.api.s

sf.ISsfPab, com.sap.security.core.server.ssf.SsfSigRcpList) of a null

object loaded from local variable 'data'] in class

com.sap.xi.tf._SI_CFMS_RBI_PAIN_001_Verify_ method VerifyData[,

RBI_View,

CFMS_Verify, com.sap.aii.mappingtool.tf7.rt.Context@36c5b795],

ApplicationRuntimeException: Runtime Exception when executing

application

mapping program com/sap/xi/tf/_SI_CFMS_RBI_PAIN_001_Verify_; Details:

com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception

when processing target-field mapping /RequestPayload/AppHdr/Sgntr; root

message: Exception:[java.lang.SecurityException: Error while verifying

data: java.lang.NullPointerException: while trying to invoke the method

com.sap.security.core.server.ssf.SsfDataXML.verify(com.sap.security.api.s

sf.ISsfPab, com.sap.security.core.server.ssf.SsfSigRcpList) of a null

object loaded from local variable 'data'] in class

com.sap.xi.tf._SI_CFMS_RBI_PAIN_001_Verify_ method VerifyData[,

RBI_View,

CFMS_Verify, com.sap.aii.mappingtool.tf7.rt.Context@36c5b795],

MessageMappingException: Runtime exception when processing target-field

mapping /RequestPayload/AppHdr/Sgntr; root message: Exception:

[java.lang.SecurityException: Error while verifying data:

java.lang.NullPointerException: while trying to invoke the method

com.sap.security.core.server.ssf.SsfDataXML.verify(com.sap.security.api.s

sf.ISsfPab, com.sap.security.core.server.ssf.SsfSigRcpList) of a null

object loaded from local variable 'data'] in class

com.sap.xi.tf._SI_CFMS_RBI_PAIN_001_Verify_ method VerifyData[,

RBI_View,

CFMS_Verify, com.sap.aii.mappingtool.tf7.rt.Context@36c5b795],

BaseRuntimeException: Exception:[java.lang.SecurityException: Error

while

verifying data: java.lang.NullPointerException: while trying to invoke

the method

com.sap.security.core.server.ssf.SsfDataXML.verify(com.sap.security.api.s

sf.ISsfPab, com.sap.security.core.server.ssf.SsfSigRcpList) of a null

object loaded from local variable 'data'] in class

com.sap.xi.tf._SI_CFMS_RBI_PAIN_001_Verify_ method VerifyData[,

RBI_View,

CFMS_Verify, com.sap.aii.mappingtool.tf7.rt.Context@36c5b795],

java.lang.reflect.InvocationTargetException, SecurityException: Error

while verifying data: java.lang.NullPointerException: while trying to

invoke the method

com.sap.security.core.server.ssf.SsfDataXML.verify(com.sap.security.api.s

sf.ISsfPab, com.sap.security.core.server.ssf.SsfSigRcpList) of a null

object loaded from local variable 'data'"

Please check the error message pasted here And Pls look into this issue

as urgent priority to complete the development process.

Thanks & Regards,

Murali

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

Hi Murali,

Check do you have the root node for your input xml? Check your input xml.

Regards,

Praveen.