NullPointerException Encountered When Attempting to Access a Bound Attribute from a Data Control (Doc ID 1578888.1)

Last updated on NOVEMBER 22, 2016

Applies to:

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

Symptoms

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.

Changes

The field causing the problem was added at some later date. 

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