The Execution Of An Instance That Is In Exception State Throws An InvalidClassException (Doc ID 1144364.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle Business Process Management Suite - Version 10.3.1 to 10.3.1 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 03-Aug-2012***

Symptoms

A java.io.InvalidClassException is thrown while an activity is trying to handle an instance that is in exception state.

The stack trace thrown could be as follows:

An exception occurred while executing a transaction. Details:
An error occurred while accesing the database.
Detail:SQL statement: 'SELECT PROCESSID, INSTID, THREADID, ID, PARTICIPANTID ,ACTIVITYNAME, INSTANCESTATUS, EXCEPTIONNAME, EXCEPTIONMSG, EXCEPTIONTRACE, SOURCEACTIVITYNAME, INSTANCEDATA FROM PEXCEPTION WHERE PROCESSID = 69 AND INSTID = 1234567AND THREADID = 0 ORDER BY ID DESC'

Caused by: cannot bind non-enum descriptor to an enum class
fuego.transaction.DatabaseException: An error occurred while accesing the database.
Detail:SQL statement: 'SELECT PROCESSID, INSTID, THREADID, ID, PARTICIPANTID ,ACTIVITYNAME, INSTANCESTATUS, EXCEPTIONNAME, EXCEPTIONMSG, EXCEPTIONTRACE, SOURCEACTIVITYNAME, INSTANCEDATA FROM PEXCEPTION WHERE PROCESSID = 48 AND INSTID = 1909441 AND THREADID = 0 ORDER BY ID DESC'

at fuego.server.persistence.jdbc.JdbcInstanceExceptionPersMgr.getAllExceptions(JdbcInstanceExceptionPersMgr.java:338)
at fuego.server.persistence.Persistence.getAllExceptions(Persistence.java:87)
at fuego.server.AbstractInstanceService.readInstance(AbstractInstanceService.java:816)
...
Caused by: java.io.InvalidClassException: cannot bind non-enum descriptor to an enum class
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:553)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at fuego.server.persistence.jdbc.JdbcInstanceExceptionPersMgr.readExceptionData(JdbcInstanceExceptionPersMgr.java:424)
at fuego.server.persistence.jdbc.JdbcInstanceExceptionPersMgr.getAllExceptions(JdbcInstanceExceptionPersMgr.java:319)

Changes

BPM instances were migrated from ALBPM 5.7 to OBPM 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