SAP Knowledge Base Article - Preview

2510543 - "Could not create a valid Comparator instance" error in WPC

Symptom

  • The WPC (Web Page Composer) layout templates have been transported from another system or the KMC-WPC component has been redeployed
  • The Content Library under the Area Management Role is then accessed
  • The following System Error appears:

    Could not create a valid Comparator instance for the given metaname wpc:wpc_wcm_displayname_region

    Content Library error.jpg

In the Defult trace the following errors can be found:

#EP-KM-FWK-RF#sap.com/com.sap.netweaver.bc.util#C0000A82368005F900000000000050ED#456839850000000004#sap.com/com.sap.km.cm#com.sapportals.wcm.WcmException.WcmException(118)#sahug#148800A44E8736411E79E5C00001B3AD2AA#add6cb81736411e7c5d400001b3ad2aa0#Thread[HTTP Worker [@240415691],5,Dedicated_Application_Thread]#Plain##
com.sap.nw.pcc.km.property.comparator.WpcDisplayNameComparator java.lang.ClassNotFoundException: com.sap.nw.pcc.km.property.comparator.WpcDisplayNameComparator
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:376)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.Class.forName0(Native Method)

 

#EP-KM-CM#sap.com/com.sap.km.cm.ui.flex#C0000A82368005F900000001000050ED#456839850000000004#sap.com/com.sap.km.cm#com.sapportals.wcm.rendering.collection.DefaultResourcePropertyComparator#sahug#148800A44E8736411E79E5C00001B3AD2AA#add6cb81736411e7c5d400001b3ad2aa0#Thread[HTTP Worker [@240415691],5,Dedicated_Application_Thread]#Plain##
Could not create a valid Comparator instance for the given property name java.lang.ClassNotFoundException: com.sap.nw.pcc.km.property.comparator.WpcDisplayNameComparator#

 

#EP-KM-FWK-RF#sap.com/com.sap.netweaver.bc.util#C0000A82368005F900000002000050ED#456839850000000004#sap.com/com.sap.km.cm#com.sapportals.wcm.WcmException.WcmException(118)#sahug#148800A44E8736411E79E5C00001B3AD2AA#add6cb81736411e7c5d400001b3ad2aa0#Thread[HTTP Worker [@240415691],5,Dedicated_Application_Thread]#Plain##
Could not create a valid Comparator instance for the given metaname wpc:wpc_wcm_displayname_region java.lang.NullPointerException: Could not create a valid Comparator instance for the given metaname wpc:wpc_wcm_displayname_region


Read more...

Environment

  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP Netweaver 7.5

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Enterprise Portal 7.30, EP 7.30, Enterprise Portal 7.31, EP 7.31, Enterprise Portal 7.40, EP 7.4, Enterprise Portal 7.50, EP 7.5, Knowledge Management , KBA , EP-KM-WPC , Web Page Composer , EP-PIN-WPC , Web Page Composer , Problem

About this page

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

Search for additional results

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