Groovy script which sets a process variable to null generates NullPointerException at runtime (Doc ID 2192492.1)

Last updated on OCTOBER 12, 2016

Applies to:

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

Symptoms

Setting a process variable to null in a script task results in exception when instance moves forward. e.g. set the following in groovy script and then deploy the composite and run the script:

 

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