SAP Knowledge Base Article - Preview

3239010 - Trading Partner cannot be saved in Trading Partner Management

Symptom

You're trying to edit a Trading Partner in Trading Partner Management and when trying to save it the following error is displayed:

Error occured while saving Partner Profile. Details:while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'o'

In the default trace you can see the following error:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.invoke(EJBGenericModelClassExecutable.java:886)
at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.execute(EJBGenericModelClassExecutable.java:126)
...
Caused by: com.sap.aii.tpm.exception.TPMException: com.sap.aii.tpm.exception.TPMException: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'o'
at com.sap.aii.tpm.helper.PartnerProfileHelper.prepareChangeLog(PartnerProfileHelper.java:2585)
at com.sap.aii.tpm.helper.PartnerProfileHelper.update(PartnerProfileHelper.java:512)
at com.sap.aii.tpm.ppapi.PartnerProfileApi.update(PartnerProfileApi.java:59)
...
Caused by: com.sap.aii.tpm.exception.TPMException: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'o'
at com.sap.aii.tpm.helper.PartnerProfileHelper.compareAckEntity(PartnerProfileHelper.java:2627)
at com.sap.aii.tpm.helper.PartnerProfileHelper.prepareChangeLog(PartnerProfileHelper.java:2573)
... 102 more
Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'o'
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57)
at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36)
at java.lang.reflect.Field.get(Field.java:393)
at com.sap.aii.tpm.entity.FieldUtil.isFieldChanged(FieldUtil.java:38)
at com.sap.aii.tpm.helper.PartnerProfileHelper.compareAckEntity(PartnerProfileHelper.java:2610)
... 103 more


Read more...

Environment

  • Release independent

Product

SAP Process Integration all versions ; SAP Process Integration, business-to-business add-on all versions

Keywords

TPM, Trading Partner, B2B, Trading Partner Management, SAP Process Integration, SAP Process Orchestration, B2B-addon , KBA , BC-XI-CON-B2B-ICP , Integration Cockpit , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.