ClassCastException When Expanding RoleObject (Doc ID 2235498.1)

Last updated on FEBRUARY 23, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Error when expanding roleObject in JDeveloper

Invoking command: Changes in ScriptTask3 [ for ( ProcessROLE, , ) ]
Invoking command: Add Activity [ for ( ProcessROLE, , ) ]
Invoking command: [ for ( BpmProcessArray, , ) ]
Invoking command: [ for ( BpmProcessArray, , ) ]
Uncaught exception
java.lang.ClassCastException: oracle.bpm.catalog.type.ArrayType cannot be cast to oracle.bpm.catalog.type.ObjectType
 o.bpm.catalog.type.impl.AbstractObjectType.isAssignableFromImpl(AbstractObjectType.java:800)
  o.bpm.catalog.type.AbstractType.isAssignableFrom(AbstractType.java:149)
  o.bpm.catalog.type.impl.BusinessObjectTypeImpl.isAssignableFrom(BusinessObjectTypeImpl.java:164)
  o.bpm.catalog.type.impl.BusinessObjectTypeImpl.isAssignableFrom(BusinessObjectTypeImpl.java:169)
  o.bpm.project.catalog.CatalogTypeImpl.isAssignableFrom(CatalogTypeImpl.java:128)
  o.bpm.project.catalog.BusinessObjectImpl.isAssignableFrom(BusinessObjectImpl.java:48)
  o.bpm.fusion.studio.dataassociation.DataDeclarationTreeModelInfo.canDropFromNode(DataDeclarationTreeModelInfo


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Open a BPM application.
Select serviceTask, right click properties , click implementation tab , click data association and click output tab.
Expand roleObject and click on roleObject[].

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