My Oracle Support Banner

Portlets showing Portlet Consumer Error MDS-00013: no metadata found for metadata object After Failed Space Creation (Doc ID 1916099.1)

Last updated on AUGUST 05, 2024

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.0 and later
Oracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.

Symptoms

This is a clustered setup (2 servers each)
New space based on existing Space template and it fails with errors.

Now, every space that use the same portlets, shows the error:

Portlet Consumer Error

 The WC_Spaces-diagnostic.log shows:

"..Caused by: oracle.portlet.client.persistence.PersistenceInvalidReferenceException: Id '/oracle/adf/portlet/<PORTLET_NAME>/portletDefs/portletUCMSearchPortlet' not found
 Bean[/oracle/adf/portlet/scopedMD/<SCOPE_MD>/portlets/UCMSearchPortlet_fe1ce361_2531_4c9b_9179_e08142e3e9d0].PortletDef -> Bean[/oracle/adf/portlet/<PORTLET_NAME>/portletDefs/portletUCMSearchPortlet]
  at oracle.portlet.client.beanimpl.persistence.BasePersistenceBean.newInvalidRef(BasePersistenceBean.java:218)
  at oracle.portlet.client.beanimpl.persistence.BasePersistenceBean.getBean(BasePersistenceBean.java:58)
  at oracle.portlet.client.beanimpl.persistence.PortletPersistenceBean._getPortletDef(PortletPersistenceBean.java:317)
  at oracle.portlet.client.beanimpl.persistence.PortletPersistenceBean.getPortletDef(PortletPersistenceBean.java:295)
  at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.newRunnable(WSRPClientImpl.java:383)
  at oracle.portlet.client.containerimpl.wsrp.WSRPPortletImpl._newRunnable(WSRPPortletImpl.java:525)
  at oracle.portlet.client.containerimpl.wsrp.WSRPPortletImpl.newRunnable(WSRPPortletImpl.java:502)
  at oracle.adfinternal.model.portlet.binding.PortletModelImpl.init(PortletModelImpl.java:385)
  at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.init(PortletBinding.java:1129)
  at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.init(ActivityPortletModelWrapper.java:114)
.

Caused by: oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/<PORTLET_NAME>/portletDefs/portletUCMSearchPortlet.pxml not found
        at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:641)
        at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:596)
        at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
        at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110)
        at oracle.portlet.client.beanimpl.persistence.BasePersistenceBean.getBean(BasePersistenceBean.java:52)
        ... 94 more
Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/portlet/<PORTLET_NAME>/portletDefs/portletUCMSearchPortlet.pxml"
        at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1408)

        at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3874)

        at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1750)
        at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.getBaseReadOnlyMO(MDSSessionWrapper.java:256)
..."

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.