My Oracle Support Banner

Null Pointer Exception When Using BCS File (Doc ID 2663220.1)

Last updated on APRIL 30, 2020

Applies to:

Oracle JDeveloper - Version 12.2.1.1.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

After migrating the ADF applications from JDeveloper 12.1.3 to 12.2.1.2, it was observed that if a LOV has a parameter based on another attribute of the view object and the parameter is set on the Accessors tab of the view, this results in a NPE error when using groovy expression in BCS file.

In this example <ViewName>2View does not use a BCS file to set the parameter for the <Entity>LOV1 View Accessors and it works fine when using the attribute in a View Criteria.
The <ViewName>View uses the BCS file, as per the recommendations for performance, and a NPE is thrown when using the attribute in a View Criteria

When a BCS file is not used to set the parameter for the <Entity>LOV1 View Accessors using the attribute in a View Criteria, then it works


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!


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