"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 OCTOBER 07, 2016

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"

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