ClassCastException: oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig When Accessing Administration - Security (Doc ID 2021302.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

When Portal Managed server is starting, the following  error is thrown in the logs. Portal Managed server still starts up and Portal is accessible.

 Also, the same errors happens when accessing Administration - Security. In the case the browser displays

   "Irresolvable error(s) occurred. You may want to contact Administrator with the error reference"

 

Errors in logs:

[2015-06-16T17:09:19.051-07:00] [WLS_Spaces1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: cc5671caf2a3f24a:4fca7ad2:14dfd5dc865:-7ffd-00000000000031b2,0] [APP: webcenter#11.1.1.4.0] ADF: Adding the following JSF error message: WCS#2015.06.16.17.09.19 : Irresolvable error(s) occurred. You may want to contact Administrator with the error reference.[[
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:699)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)
    at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:258)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2151)
    at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:276)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:177)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:663)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1679)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1652)
 
Caused by: java.lang.ClassCastException: oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig
    at oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig.getInstance(RelationshipAdfConfig.java:65)
    at oracle.webcenter.relationship.internal.model.RelationshipServiceDefinition.isConfigured(RelationshipServiceDefinition.java:32)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.getPermissionsFromRepository(WebCenterSecurityDC.java:2686)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.refreshRoles(WebCenterSecurityDC.java:2235)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.getPermissions(WebCenterSecurityDC.java:1759)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:657)
    ... 259 more
## Detail 0 ##
java.lang.ClassCastException: oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig
    at oracle.webcenter.relationship.internal.model.config.RelationshipAdfConfig.getInstance(RelationshipAdfConfig.java:65)
    at oracle.webcenter.relationship.internal.model.RelationshipServiceDefinition.isConfigured(RelationshipServiceDefinition.java:32)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.getPermissionsFromRepository(WebCenterSecurityDC.java:2686)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.refreshRoles(WebCenterSecurityDC.java:2235)
    at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.getPermissions(WebCenterSecurityDC.java:1759)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:657)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)

 

 

 

Changes

 Possible custom libraries or application was deployed/redeployed to Portal managed server

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms