AssetDataManager.readAttributes() throws a NullPointerException when trying to getAttributeData() (Doc ID 1582980.1)

Last updated on JANUARY 03, 2016

Applies to:

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

Symptoms

Calling AssetDataManager.readAttributes() throws a NullPointerException

The following error is seen in the logs:

java.lang.NullPointerException
at com.fatwire.assetapi.data.AssetDataImpl.getAttributeData(AssetDataImpl.java:352)
at com.fatwire.assetapi.data.AssetDataManagerImpl._sortAttribute(AssetDataManagerImpl.java:163)
at com.fatwire.assetapi.data.AssetDataManagerImpl.readAttributes(AssetDataManagerImpl.java:152)
at org.apache.jsp.jsp.cs_005fdeployed.Test_jsp._jspService(Test_jsp.java:240)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
... 61 more

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