My Oracle Support Banner

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

Last updated on SEPTEMBER 27, 2019

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

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
Goal
Solution


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