REST fails with java.lang.ClassCastException

(Doc ID 1595926.1)

Last updated on NOVEMBER 03, 2016

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

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