My Oracle Support Banner

REST fails with java.lang.ClassCastException (Doc ID 1595926.1)

Last updated on MARCH 27, 2023

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.

Symptoms

After upgrading from 7.5.5 to 7.6.2, REST API is failing with a ClassCastException:

java.lang.ClassCastException: com.openmarket.gator.flexfilters.FlexFilterManager cannot be cast to com.openmarket.gator.interfaces.IFlexGroupManager
at com.openmarket.gator.flexassets.FlexAssetManager.setupReferences(y:1764)
at com.openmarket.assetframework.assettypemanager.AssetTypeManager.locateAssetManager(y:2033)
at com.fatwire.rest.util.AssetHandler.checkAssetType(AssetHandler.java:1117)
at com.fatwire.rest.service.impl.LocalTypesService.getAssetTypes(LocalTypesService.java:91)
at com.fatwire.rest.resources.TypesResource.getTypes(TypesResource.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

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


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