My Oracle Support Banner

"java.lang.NullPointerException: Cannot invoke method setData() on null object" Thrown By Asset Api Classes For One Attribute Which Is Not NULL (Doc ID 2190199.1)

Last updated on JUNE 20, 2023

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Following exception being thrown by Asset api classes for just one Attribute every time:
"java.lang.NullPointerException: Cannot invoke method setData() on null object"

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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