ExportData API Intermittently Throws ClassCastException

(Doc ID 2312415.1)

Last updated on SEPTEMBER 28, 2017

Applies to:

Oracle Agile Product Collaboration - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

Customer is encountering ClassCastException for ExportManager.exportData() API intermittently for one of the standalone, scheduled, multithreaded module.

Stacktrace:

java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.agile.api.pc.item.Item cannot be cast to com.agile.api.pc.DataObject
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.apple.plm.standalone.pc.calypso.CalypsoMain.executeItemExtract(CalypsoMain.java:244)
at com.apple.plm.standalone.pc.calypso.CalypsoMain.main(CalypsoMain.java:83)
Caused by: java.lang.ClassCastException: com.agile.api.pc.item.Item cannot be cast to com.agile.api.pc.DataObject
at com.agile.api.pc.exportmanager.ExportManager$ExportDataAction.convertObjectForExport(ExportManager.java:582)
at com.agile.api.pc.exportmanager.ExportManager$ExportDataAction.doSdkAction(ExportManager.java:569)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
at weblogic.security.Security.runAs(Security.java:61)
at com.agile.api.common.WebLogicAuthenticator.doAs(WebLogicAuthenticator.java:111)
at com.agile.api.common.Security.doAs(Security.java:54)
at com.agile.api.common.Security.doAs(Security.java:109)
at com.agile.api.common.Security.doAs(Security.java:124)
at com.agile.api.pc.exportmanager.ExportManager.exportData(ExportManager.java:72)

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