My Oracle Support Banner

After Upgrading from 11g to 12c, Creating Portals, WebCenter Portal Templates or Accessing Portals Under Administration Returns Error : Portal operation resulted in unexpected exception (Doc ID 2725013.1)

Last updated on JUNE 07, 2024

Applies to:

Oracle WebCenter Portal - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

After Upgrading from 11g to 12c, Creating Portals or WebCenter Portal Templates fails.

Accessing Portals Under Administration Returns the following Error :

 

ERROR

WCS#<date-time> : Portal operation resulted in unexpected exception.

The spaces diagnostic log shows the following error:

[<DATE_TIME>] [WC_Spaces1] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.error.WCErrorHandlerImpl] [tid: [ACTIVE].ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <userid>] [ecid: <ecid>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <dsid>] Current Reference = WCS#<
[<DATE_TIME>] [WC_Spaces1] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.error.WCErrorHandlerImpl] [tid: [ACTIVE].ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <userid>] [ecid: <ecid>0] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <dsid>] getDisplayMessage Called=oracle.webcenter.spaces.SpacesException[[
oracle.webcenter.spaces.SpacesException: Portal operation resulted in unexpected exception.
     at oracle.webcenter.community.internal.model.CommunityDC.getAvailableTemplates(CommunityDC.java:1149)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at oracle.jbo.common.JboBeanUtils.getProperty(JboBeanUtils.java:123)
    ...
Caused by: java.lang.NullPointerException
    at oracle.webcenter.community.internal.model.CommunityDC.getAvailableTemplates(CommunityDC.java:1137)
    ... 196 more

 

 

STEPS

The issue can be reproduced with the following steps:

  1. Upgrade WebCenter Portal from 11.1.1.9 to 12.2.1.4.
     
  2. Upgrade the domain and run the upgradeWebCenterPortal command.
    Confirmed there are no errors upgrading webcenter portal.
     
  3. Access WebCenter Portal.
     
  4. Go to Administration -> Portals.
    Here you will get the error.

  5. Try to create a Portal.
    Here you will get similar error.
  6. Try to create a WebCenter Portal Template.
    Here you will get similar error.

 

 

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.