My Oracle Support Banner

Cannot Delete WebCenter Content (WCC) Revisions if Content is Shortcut to a Folder (Doc ID 2461905.1)

Last updated on SEPTEMBER 20, 2023

Applies to:

Oracle WebCenter Content - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

On : Content Server

When attempting to try to delete old revisions of content where latest revision is shortcut to a folder, the following error occurs.

ERROR
-----------------------
$!csUnableToDeleteRev,82127815!csUnableToExecMethod,updateContentModification!syNullPointerException
intradoc.common.ServiceException: !csUnableToDeleteRev,82127815!csUnableToExecMethod,updateContentModification
*ScriptStack DELETE_BYREV_REVISION
3:doSubService,dID=85767371,dDocName=82127815DELETE_BYREV_REVISION,dID=85767371,dDocName=821278153:updateContentModification,dID=85767371,dDocName=82127815
....
Caused by: java.lang.NullPointerException
  at intradoc.folders.FoldersUtils.setRevision(FoldersUtils.java:857)
  at intradoc.folders.FoldersFilterImplementor.updateContentModification(FoldersFilterImplementor.java:1410)
  at intradoc.folders.FoldersFilterImplementor.doFilter(FoldersFilterImplementor.java:165)
  at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
  at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
  at intradoc.server.DocServiceHandler.updateContentModification(DocServiceHandler.java:6199)
  at sun.reflect.GeneratedMethodAccessor1268.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
  at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
  at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
  ... 79 more


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Perform New Checkin via browser
2) Checkout/checkin to create a 2nd revision
3) On the doc_info page of the document select create shortcut to folder (for the 2nd revision)
4) Select a folder and create shortcut.
5) Attempt to delete the first revision of document.
6) Observe error

Cause

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
Symptoms
Cause
Solution
References


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