Unable To Save Pages in a Site that does not have a webroot configured (Doc ID 2153314.1)

Last updated on AUGUST 05, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 to 11.1.1.8.0 [Release FatWire]
Information in this document applies to any platform.

Symptoms

On : 11.1.1.8.0 version, WebCenter Sites

When attempting to edit/save an existing page assets after upgrading to latest patch,
the following error occurs.

ERROR
-----------------------
In the UI's edit form screen

Cannot save asset.
This attempt to save the Page has failed.
Error -502 encountered while saving.
Error saving an asset Asset.SaveAll : java.lang.NullPointerException


sites.log showed the following error.

[2016-05-27 12:17:47,032 IST] [ERROR] [.kernel.Default (self-tuning)'] [cs.core.db.DBTransaction] TransactionUnit failed to execute
java.lang.NullPointerException
  at com.openmarket.xcelerate.asset.WebReferencesManager.encodeURL(WebReferencesManager.java:971)
  at com.openmarket.xcelerate.asset.WebReferencesManager$1.execute(WebReferencesManager.java:468)
  at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)
  at com.openmarket.xcelerate.asset.WebReferencesManager.save(WebReferencesManager.java:568)
  at com.openmarket.xcelerate.asset.Asset.updateAssetUrls(Asset.java:4097)
  at com.openmarket.assetframework.common.BulkTransactionalAssetManager.saveAllNoPubLock(BulkTransactionalAssetManager.java:316)
  at com.openmarket.assetframework.complexasset.ComplexAsset.SaveAllNoPubLock(ComplexAsset.java:2498)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at com.openmarket.xcelerate.asset.Asset.callSaveAllNoPubLock(Asset.java:4803)

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