cancel
Showing results for 
Search instead for 
Did you mean: 

Java Exception during we click the item short description in search result

Former Member
0 Kudos

Hi Expert,

We are in SRM-MDM Catalog 3.0.

When we click a item's short description in catalog search result list to open the item detail, the new screen opened with a internal server error. And the error summary is "java.lang.NullPointerException: The relationship ID is not an optional parameter." I have validated the XML mapping, I can not find any fields which were used for the "relationship ID".

Accepted Solutions (0)

Answers (1)

Answers (1)

ahofius
Explorer
0 Kudos

Hallo,

did you solve the problem in the meantime and what was the problem ?

Regards,

Armin Hofius

Former Member
0 Kudos

Hi Armin,

Resolved.

The problem is cause of the MDM version. For more info pls reference the SAP released note 1306025.

Thanks.

Former Member
0 Kudos

Hello Experts,

I am facing same issue where in when i clicked on descriptions in Shopping cart for more details for any internal catalog i got the same dump.

The SAP note given is for SRM MDM Catalog 3.0 SP02 but we are using SRM MDM Catalog 3.0 SP09.Can anyone please advise.

Below is error

500 Internal Server Error

SAP NetWeaver Application Server 7.00/Java AS 7.00

Failed to process request. Please contact your system administrator.

[Hide]

Error Summary

While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).

Root Cause

The initial exception that caused the request to fail, was:

java.lang.NullPointerException: The relationship ID is not an optional parameter. at com.sap.mdm.data.commands.RetrieveRelationshipsCommand.execute(RetrieveRelationshipsCommand.java:91)

at com.sap.mdm.extension.data.commands.RetrieveRelationshipsExCommand.execute(RetrieveRelationshipsExCommand.java:43)

at com.sap.srm.mdm.Model.getRelationships(Model.java:3510)

at com.sap.srm.mdm.Model.updateRecordRelationships(Model.java:3683)

at com.sap.mdm.srmcat.uiprod.ItemDetails.displayFixedItemDetails(ItemDetails.java:6047)

... 34 more

Appreciate your Quick response.

Regards

Sunil