NullPointerException from Asset.setId() when saving a populated slot in Contributor UI Web mode (Doc ID 1954575.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

In Contributor UI Web mode, populating a slot and saving the changes fails, with on-screen error popup warning of NullPointerException, and in sites.log:

Dec 16, 2014 9:14:26 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.openmarket.xcelerate.asset.Asset.setId(Asset.java:12301)
at com.fatwire.composition.slots.SlotsManager._copy(SlotsManager.java:418)
at com.fatwire.composition.slots.SlotsManager.saveAll(SlotsManager.java:467)
at com.fatwire.composition.slots.SlotsManager.saveAll(SlotsManager.java:450)
at com.fatwire.ui.util.InsiteUtil.saveSlots(InsiteUtil.java:110)
at org.apache.jsp.jsp.cs_005fdeployed.UI.Actions.Insite.SaveAction_jsp._jspService(SaveAction_jsp.java:124)

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