My Oracle Support Banner

After redeployment and instance migration the ORABPEL-02118 error and "Variant not found" error shows up and the instances go to recovery state. (Doc ID 2899699.1)

Last updated on JANUARY 08, 2024

Applies to:

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

Symptoms

The customer modified the process by adding a new process variable. After redeployment with keeping the instances running, they migrated all the instances to the new revision.
However, the instances processing failed with the following error:
2022-09-27T02:00:35.866-07:00] [soa_server1] [ERROR] [] [oracle.bpm.system] [tid: [STANDBY].ExecuteThread: '69' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: AnnaB10] [ecid: dcfcbd6e-d0a8-480e-b597-bc2587133c56-00007974,1:68947] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: 130414] [oracle.soa.tracking.InstanceId: 468147] [oracle.soa.tracking.SCAEntityId: 10009] [oracle.soa.tracking.FaultId: 40197] [FlowId: 0000ODu49zrAlJs5ojXBiY1ZBR3f0000EP] [cube delivery, Variant not found.[[
The variable "<variable name>" is not declared in the current scope. All variables must be declared in the scope before being accessed.
This was an internal error. The flow was not generated correctly by the BPMN compiler.
Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).
]

... 
ORABPEL-02118
Variant not found.
The variable "<variable name>" is not declared in the current scope. All variables must be declared in the scope before being accessed.
This was an internal error. The flow was not generated correctly by the BPMN compiler.
Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).

at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:588)
at com.collaxa.cube.engine.core.Scope.getObjectRV(Scope.java:549)
at com.collaxa.cube.engine.core.Scope.getObject(Scope.java:896)
at oracle.bpm.bpmn.engine.runtime.BPMNExpression.createBPMNExpression(BPMNExpression.java:105)
at oracle.bpm.bpmn.engine.model.runtime.sequenceflow.ConditionalSequenceFlowInfo$1.evaluate(ConditionalSequenceFlowInfo.java:85)

Changes

New process variable has been added to the process and the process was redeployed with "keep instances running" option 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.