InvocationTargetException Publishing Content To A New Site (Doc ID 1539237.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

When publishing some a specific content, publishing log shows the following error:
EXCEPTION: Asset save failed for Article_A:1234567891011, Error saving an asset Asset.SaveAll : java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
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:4466)
at com.openmarket.xcelerate.asset.Asset.SaveAll_logic(Asset.java:4695)
at com.openmarket.xcelerate.asset.Asset$4.execute(Asset.java:4620)
at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:180)
at com.openmarket.xcelerate.asset.Asset.SaveAll_trans(Asset.java:4643)
at com.openmarket.xcelerate.asset.Asset.SaveAll(Asset.java:4597)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveOneAssetType(ResourceSaveUtil2.java:342)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveAssets(ResourceSaveUtil2.java:503)
at com.fatwire.realtime.util.ResourceSaveUtil2._saveGroupTrans(ResourceSaveUtil2.java:159)
at com.fatwire.realtime.util.ResourceSaveUtil2$1.execute(ResourceSaveUtil2.java:75)
at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:180)
at com.fatwire.realtime.util.ResourceSaveUtil2.saveGroup(ResourceSaveUtil2.java:85)
at com.fatwire.realtime.ResourceSaveTask._saveData(ResourceSaveTask.java:187)
at com.fatwire.realtime.ResourceSaveTask._execute(ResourceSaveTask.java:138)
at com.fatwire.realtime.ResourceSaveTask.execute(ResourceSaveTask.java:49)
at com.fatwire.realtime.BasicTask.call(BasicTask.java:44)
at com.fatwire.realtime.BasicTask.call(BasicTask.java:22)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

This content is never published even if the asset is edited and saved.

 

Further, an exception

[2013-03-12 08:42:14,048] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] Exception including resource /jsp/cs_deployed/OpenMarket/Xcelerate/PrologActions/Publish/Mirror1/AddSiteEventRemoteElement.jsp
java.lang.NullPointerException
at com.fatwire.rest.event.ApplicationNotifySiteAdd.notify(ApplicationNotifySiteAdd.java:84)
at com.openmarket.xcelerate.common.EventManager.triggerEvent(EventManager.java:122)
at jsp_servlet._jsp._cs_deployed._openmarket._xcelerate._prologactions._publish._mirror1.__addsiteeventremoteelement._jspService(__addsiteeventremoteelement.java:125)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)

seen when trying to mirror site configuration from source to target.

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