Troubleshooting
Problem
You create a Business Process Definition (BPD) and expose the BPD process to start from REST API. When you send in a REST request for starting the BPD process, a CWTBG0019E error occurs.
Symptom
The following error shows in the stack traces:
com.ibm.bpm.wle.api.UnexpectedFailureException: CWTBG0019E: Unexpected
exception during execution. java.lang.ClassCastException:
com.lombardisoftware.client.persistence.Project incompatible with
com.lombardisoftware.client.persistence.common.mixin.VersionedPO at
com.lombardisoftware.client.persistence.cache.VersionedPOCache.putPO(VersionedPOCache.java:104) at
com.lombardisoftware.client.persistence.common.factorydelegate.Versioned
FactoryDelegate.addToCache(VersionedFactoryDelegate.java:320) at
com.lombardisoftware.client.persistence.common.factorydelegate.VersionedFactoryDelegate.findByPrimaryKey(VersionedFactoryDelegate.java:91) at
com.lombardisoftware.client.persistence.common.AbstractVersionedPOFactory.findByPrimaryKey(AbstractVersionedPOFactory.java:151) at
com.lombardisoftware.bpd.model.impl.BPDBusinessProcessDiagramFactory.findByPrimaryKey(BPDBusinessProcessDiagramFactory.java:91) at
com.lombardisoftware.bpd.model.impl.BPDBusinessProcessDiagramFactory.findByPrimaryKey(BPDBusinessProcessDiagramFactory.java:86) at
com.ibm.bpm.rest.internal.impl.WLE75InternalAPIImpl.findBPDById(WLE75InternalAPIImpl.java:184) at com.ibm.bpm.rest.impl.process.StartActionHandler.handleAction(StartActionHandler.java:58) at com.ibm.bpm.rest.impl.process.BusinessProcessDefinitionResource.postProcessActions(BusinessProcessDefinitionResource.java:388) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
28 April 2025
UID
swg21503211