My Oracle Support Banner

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

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.