Classcast Exception during static publish

(Doc ID 1985325.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

Unable to approve asset to static publish destination.

The following stack trace is seen:

[2015-01-28 10:57:48,000 CST] [ERROR] [http-18080-5] [fatwire.logging.cs.xcelerate] [pagename=fatwire/ui/controller/controller] Error: com.openmarket.xcelerate.commands.ApprovalsDispatcher: Add: java.lang.ClassCastException: com.openmarket.gator.assetset.AssetSet cannot be cast to com.openmarket.xcelerate.interfaces.IAsset
java.lang.ClassCastException: com.openmarket.gator.assetset.AssetSet cannot be cast to com.openmarket.xcelerate.interfaces.IAsset
       at com.openmarket.xcelerate.commands.ApprovalsDispatcher.Add(ApprovalsDispatcher.java:48)
       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 com.openmarket.framework.commands.Dispatcher.Execute(Dispatcher.java:145)
       at COM.FutureTense.Common.CS.runTag(CS.java:2686)
       at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.PrologActions.Publish.Export.ApproveAssets_jsp._jspService(ApproveAssets_jsp.java:553)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)


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