NumberFormatException when Deleting or Aborting BPM Instances (Doc ID 1351925.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms


Following exception is thrown while aborting or deleting an instance

java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: General Problem parsing the query [SELECT aq FROM AuditQuery aq WHERE aq.queryId in ( 2423591007) ]. The parser returned the following [For input string: "2423591007"].
Internal Exception: java.lang.NumberFormatException: For input string: "2423591007"
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1375)
at sun.reflect.GeneratedMethodAccessor2261.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:106)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:77)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:87)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:18)
at $Proxy146.createQuery(Unknown Source)
at oracle.bpm.bpmn.engine.service.audit.persistence.AuditPersistence.queryLastEventforCompositeId(AuditPersistence.java:525)
at oracle.bpm.bpmn.engine.service.audit.impl.AuditService.markAuditAsAborted(AuditService.java:383)
at oracle.bpm.bpmn.engine.instancemanagement.impl.InternalInstanceManagementService.markAuditAsAborted(InternalInstanceManagementService.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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