My Oracle Support Banner

NPE Thrown While Invoking API IInstanceManagementService.cancelProcessInstance (Doc ID 2248588.1)

Last updated on MARCH 12, 2019

Applies to:

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

Symptoms

While invoking BPM API method: void IInstanceManagementService.cancelProcessInstance(IBPMContext p1, IProcessInstance p2) the following error arises:

Caused By: java.lang.NullPointerException
at oracle.bpm.bpmn.engine.service.audit.persistence.AuditKeyGenerator.nextId(AuditKeyGenerator.java:140)
at oracle.bpm.bpmn.engine.service.audit.impl.AuditService.markAuditCancelled(AuditService.java:454)
at oracle.bpm.bpmn.engine.ejb.impl.AuditServiceBean.markAuditCancelled(AuditServiceBean.java:275)
at oracle.bpm.bpmn.engine.ejb.impl.AuditServiceBean_3ck6ms_AuditServiceLocalImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at oracle.bpm.bpmn.engine.ejb.impl.AuditServiceBean_3ck6ms_AuditServiceLocalImpl.markAuditCancelled(Unknown Source)
at oracle.bpm.bpmn.engine.instancemanagement.impl.InternalInstanceManagementService.markAuditCancelled(InternalInstanceManagementService.java:565)

 

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
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.