Creating a Portal Fails with "Internal Error" Due to: java.lang.NullPointerException
(Doc ID 2889626.1)
Last updated on MAY 23, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.3.0 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.
Symptoms
Attempting to create a portal fails with the following error:
Internal Error
(WCS#YYYY.MM.DD.HH.MI.SS)
The portal diagnostic log shows the following error:
[<DATE_TIME>] [WC_Portal1] [ERROR] [] [oracle.webcenter.navigationeditor.view.NavigationEditorBean] [tid: [ACTIVE].ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [[
oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/siteresources/scopedMD/<NEW_PORTAL_ID>/navigation/<navigation_id>/portal-default-navigation.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/siteresources/scopedMD/<NEW_PORTAL_ID>/navigation/<NAVIGATION_ID>/portal-default-navigation.xml"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=webcenter repository-name=mds-SpacesDS partition-name=webcenter] ] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/siteresources/scopedMD/<NEW_PORTAL_ID>/navigation/<NAVIGATION_ID>/portal-default-navigation.xml"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=webcenter repository-name=mds-SpacesDS partition-name=webcenter] ]
at oracle.adfinternal.rc.core.NavigationManagerImpl.readMO(NavigationManagerImpl.java:566)
at oracle.adfinternal.rc.core.NavigationManagerImpl.view(NavigationManagerImpl.java:182)
at oracle.webcenter.navigationeditor.view.NavigationEditorBean.getModel(NavigationEditorBean.java:1820)
at oracle.webcenter.navigationeditor.view.NavigationEditorBean.getTreeModel(NavigationEditorBean.java:1606)
...
Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/siteresources/scopedMD/<NEW_PORTAL_ID>/navigation/<NAVIGATION_ID>/portal-default-navigation.xml"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=webcenter repository-name=mds-SpacesDS partition-name=webcenter]
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1930)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:5434)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:2204)
at oracle.adfinternal.rc.core.NavigationManagerImpl.readMO(NavigationManagerImpl.java:558)
... 252 more
]]
[<DATE_TIME>] [WC_Portal1] [WARNING] [ADF_FACES-00009] [oracle.adf.view.rich.component.fragment.UIXRegion] [tid: [ACTIVE].ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error processing viewId: /oracle/webcenter/page/scopedMD/<NEW_PORTAL_ID>/PortalHome.jspx URI: /oracle/webcenter/page/scopedMD/<NEW_PORTAL_ID>/PortalHome.jspx actual-URI: /oracle/webcenter/navigationeditor/view/pagenavigationeditor.jsff.[[
javax.el.ELException: /oracle/webcenter/navigationeditor/view/pagenavigationeditor.jsff @152,1266 disclosedRowKeys="#{pageFlowScope.pageNavigationEditorBean.disclosedItems}": java.lang.NullPointerException
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
at org.apache.myfaces.trinidad.component.UIXFacesBeanImpl.getBoundProperty(UIXFacesBeanImpl.java:203)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:69)
at org.apache.myfaces.trinidad.component.FacesBeanWrapper.getProperty(FacesBeanWrapper.java:61)
...
Caused by: javax.el.ELException: java.lang.NullPointerException
at javax.el.BeanELResolver.getValue(BeanELResolver.java:367)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
...
Caused by: java.lang.NullPointerException
at oracle.webcenter.navigationeditor.view.PageNavigationEditorBean.getDisclosedItems(PageNavigationEditorBean.java:3248)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
]]
[<DATE_TIME>] [WC_Portal1] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] Internal Error (WCS#YYYY.MM.DD.HH.MI.SS)
STEPS
The issue can be reproduced with the following steps:
- Connect to WebCenter Portal.
- Attempt to create a new portal.
Here the error occurs:
Internal Error
(WCS#YYYY.MM.DD.HH.MI.SS)
Changes
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 |
Changes |
Cause |
Solution |
References |