Engine encountering column size error while attempting to insert an exception (Doc ID 1628356.1)

Last updated on MARCH 18, 2014

Applies to:

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

Symptoms

The BPM engine attempts to insert an exception into the PEXCEPTION table but then may receive an error while doing so.  The error will say that the column size is too small.  For example:

Se ha producido un error al acceder a la base de datos.
Detalle:Instrucción SQL: 'INSERT INTO PEXCEPTION ( PROCESSID, INSTID, THREADID, ID, PARTICIPANTID, ACTIVITYNAME, EXCEPTIONNAME, EXCEPTIONMSG, EXCEPTIONTRACE, INSTANCESTATUS, SOURCEACTIVITYNAME, INSTANCEDATA)VALUES ( 221, 46379, 0, 0, 0, LogOut[Condicional], fuego.papi.exception.NoParametricRoleException, La instancia '/Process#Default-1.0/46379/0' está intentando crear instancias de la función paramétrica 'Role' con el valor '500352', que no es un valor válido definido en la función paramétrica., La instancia '/Process#Default-1.0/46379/0' está intentando crear instancias de la función paramétrica 'Role' con el valor '500352', que no es un valor válido definido en la función paramétrica.
fuego.papi.exception.NoParametricRoleException: La instancia '/ProcesoOfertas#Default-1.0/46379/0' está intentando crear instancias de la función paramétrica 'Comercial' con el valor '500352', que no es un valor válido definido en la función paramétrica.
at fuego.server.ProcInst.getTargetRole(ProcInst.java:1661)
at fuego.server.execution.microactivity.CheckRoleMicroActivity.execute(CheckRoleMicroActivity.java:54)
at fuego.server.execution.microactivity.MicroActivityEngineExecutionHandler.executeActivity(MicroActivityEngineExecutionHandler.java:57)
at fuego.server.execution.ImmediateActivity.execute(ImmediateActivity.java:42)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
...
Caused by: java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]Character data, right truncation occurred; for example, an update or insert value is a string that is too long for the column, or a datetime value cannot be assigned to a host variable, because it is too small.
at albpm.jdbc.db2base.ddb8.a(Unknown Source)
at albpm.jdbc.db2base.ddb8.b(Unknown Source)

 

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