Presenting NullPointerException Errors When Using BCS Files For Groovy Expressions

(Doc ID 2376222.1)

Last updated on APRIL 20, 2018

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


When a ViewCriteria use Groovy expressions saved in .bcs files application presents NullPointerException errors.


Groovy scripting was improved in ADF 12.2.1 to avoid having inline Groovy expressions. Now expressions are saved in separate Groovy language .bcs file, external codesource.

This improves Groovy script maintenance and runtime performance.

Inline Groovy expressions created with previous JDeveloper versions are compatible in 12.2.1. All new expressions are created in separate *.bcs file.



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