How To Create A SiteEntry Using <asset:create> (Doc ID 1566945.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Goal

Using <asset:create> in custom code to create a new SiteEntry fails with an exception in the logs:

javax.servlet.jsp.JspException: java.lang.NullPointerException
  at com.openmarket.framework.jsp.Base._handleException(y:515)
  at com.openmarket.framework.jsp.Base.doEndTag(y:268)
...
Caused by: java.lang.NullPointerException
  at com.openmarket.xcelerate.common.SiteCatalogEntry.set(y:665)
  at com.openmarket.xcelerate.asset.SiteEntryInstance.set(y:1950)
  at com.openmarket.assetframework.complexasset.ComplexAsset.Set(y:2916)
  at com.openmarket.framework.jsp.object.Set.doEndTag(y:2200)
  at com.openmarket.framework.jsp.Base.doEndTag(y:32)
... 44 more

 

Is it possible to use <asset:create> to create a new SiteEntry?
 

Solution

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