Exceptions in PAPI client code execution after upgrading BPM (Doc ID 1330024.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 6.0.5 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

After upgrading BPM installation with latest hotfix, standalone papi client code generate errors.
Example: InstanceInfo.getVariable("VarName") generates NullPointerException


Exception in thread "main" java.lang.NullPointerException
at fuego.papi.impl.InstanceInfoImpl.getProcess(InstanceInfoImpl.java:682)
at fuego.papi.impl.InstanceInfoImpl.getExternalVariableIndex(InstanceInfoImpl.java:1041)
at fuego.papi.impl.InstanceInfoImpl.getExternalVariable(InstanceInfoImpl.java:386)
at fuego.papi.impl.InstanceInfoImpl.getExternalVariable(InstanceInfoImpl.java:382)
at fuego.papi.impl.InstanceInfoImpl.getVariable(InstanceInfoImpl.java:266)
at PrintReqObject.main(PrintReqObject.java:23)
.....

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