NPE WHILE RETRIEVING INSTANCES CREATED BY A PARTICULAR PARTICIPANT (Doc ID 1348526.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version 10.3.2 to 10.3
Information in this document applies to any platform.
***Checked for relevance on 20-Feb-2013***

Symptoms

While executing instances which are created by a particular participant, engine throws NullPointerException.
Querying the PPROCINSTANCE table in engine database for these instances you see a value, e.g. 4321, in Author field.  However corresponding participant is not present in FUEGO_PARTICIPANT table in directory database.

Even after applying the fix mentioned in this <Note 1289963.1>, the issue reoccurs

Errors seen in engine logs:

- Participant 'ParticipantIn 4321' of organization 'MyOrg' was not found in the directory.

- An exception occurred while executing a transaction. Details:
java.lang.NullPointerException
java.lang.NullPointerException
at fuego.server.ProcInst.readOnlyCopy(ProcInst.java:2142)
at fuego.server.execution.EngineExecutionContext.getInstance(EngineExecutionContext.java:1663)
at fuego.server.execution.EngineExecutionContext.acquireCurrentInstance(EngineExecutionContext.java:1699)
at fuego.server.execution.EngineExecutionContext.preImmediateExecution(EngineExecutionContext.java:1531)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:295)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3203)
at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)

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