Versioned Repository Caches on Content Administration Can Become Corrupted; Causing NullPointerExceptions, addItem() failed Errors, and Other Related Issues (Doc ID 1477323.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 9.0 and later
Information in this document applies to any platform.

Symptoms

Values of repository properties will be seen to mysteriously change to null while editing a project.  This includes user-controlled values in the BCC and "behind-the-scenes" versioning-related values such as "version_editable" and "workspace_id".  This can cause errors like:

Key to the first error is the "workspace null" part indicating the workspace is unexpectedly null.  The relevant NullPointerException (NPE) here would have to be from VersionRepository.getVersionItem() as shown.

Changes

/atg/epub/version/VersionManagerService.workspaceOptimizationThresholdAssetCount was recently set to "0" or there is more frequent deployment activity -- possibly of larger projects -- while users are editing projects.

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