Skip to Content
0
Former Member
Sep 28, 2011 at 10:24 AM

Portal Catalog error: java.lang.ClassCastException

30 Views

Hello,

I asked this question into the Shopping Cart & Catalog forum and sent a message to SAP 3 weeks ago, but still no answer from any side.

We're working with SRM 3.0 and SRM-MDM 7.1.06.218 and we've a problem to display the standard web Catalog.

We customized everything and all processes where working properly (Console, Data Manager, Import Manager, Portal web Catalog).

About Portal Web Catalog, we configured the different fields to be displayed into the web catalog through the OCI Assignment into the following web and we were looking the desired fields without problems:

http://plmdmtest.company.com:57200/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?

We were able to display all the existing entries from the Data Manager into the web catalog through web:

https://plmdmtest.company.com/irj/portal#

But, once we had everything running and working, we made a repository copy and then, we decided to delete all standard fields from the repository that we were not using, in order to reduce the number of fields into the repository. (we have more than 100 fields into the database!).

We recovered the repository copy that created before deleting the fields, but we still get the errors.

In addition to that, after deleting the fields (and getting the error) the user 'Master' was deleted. We created the user 'Master' again trying to solve the problem. We stopped the server and run it again, but we are still have the same error.

The error we get is the following:

While processing the current request, an exception occured which could

not be handled by the application or the framework.

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

java.lang.ClassCastException

at com.sap.mdm.srmcat.uisearch.master.Master.createSupportingRsds

(Master.java:1945)

at

com.sap.mdm.srmcat.uisearch.master.wdp.InternalMaster.createSupportingRsds(InternalMaster.java:1012)

at com.sap.mdm.srmcat.uisearch.master.Master.addUiDefinitionToMap

(Master.java:1990)

at

com.sap.mdm.srmcat.uisearch.master.wdp.InternalMaster.addUiDefinitionToMap(InternalMaster.java:1016)

at com.sap.mdm.srmcat.uisearch.master.Master.createItemDetailsRsd

(Master.java:2016)

... 36 more

We've tried to fix the error by reviewing the OCI configuration and other options into the web catalog configuration, but we cannot solve this problem and we cannot use the standard web catalog (we developed an option to select materials and create an XML file with them). It's very strange as we're also using an iview to display the web catalog (only display, without creating files) and it works without errors.

Let me know if you need additional information.