IBM Support

Error CWTBG0019E: Unexpected Exception occurs when starting the process using the REST interface with IBM Business Process Manager

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)      

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

swg21503211