NullPointerException Encountered When Attempting to Access a Bound Attribute from a Data Control
Last updated on NOVEMBER 22, 2016
Applies to:Oracle WebCenter Portal - Version 184.108.40.206.0 and later
Oracle JDeveloper - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
A Java bean-based data control exposes both a List of iterable values as well as a number of individual fields. These fields are exposed as attributes in a JSFF's page definition. Lastly, a second Java class consumes these bound attributes programmatically. The NullPointerException (NPE) is encountered by the second Java consumer class.
The field causing the problem was added at some later date.
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