java.lang.ClassCastException: com.oracle.bpel.client.BPELFault cannot be cast to com.collaxa.cube.engine.types.bpel.CXMessageVariable (Doc ID 1452540.1)

Last updated on JANUARY 29, 2013

Applies to:

Oracle SOA Platform - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

An 11g BPEL "catchAll" faulthandler contains a Java Embedded activity which calls getVariableData("__fault") in order to obtain the details of the fault.

The call to getVariableData("__fault") fails with a ClassCastException at runtime :-

 This did not happen in 10g.

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