ORA-1400 On WMSYS.OWM_VSCRIPT_PKG During Upgrade to 12.1

(Doc ID 1933789.1)

Last updated on OCTOBER 03, 2017

Applies to:

Workspace Manager - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

During the upgrade from 11.2 to 12.1, the following error is reported in the upgrade log:

begin
  wmsys.owm_vscript_pkg.upgradeOWM(:old_owm_version_for_upgrade) ;
end;
/
begin
*
ERROR at line 1:
ORA-20001: Errors encountered during table migration. Query wmsys.wm$migration_error_table.
ORA-06512: at "WMSYS.OWM_VSCRIPT_PKG", line 3730
ORA-06512: at "WMSYS.OWM_VSCRIPT_PKG", line 3544
ORA-06512: at line 2

The wmsys.wm$migration_error_table contains the following error messages:

ERROR: ORA-01400: cannot insert NULL into ("WMSYS"."WM$WORKSPACES_TABLE$"."POST_VERSION")
ERROR: ORA-01400: cannot insert NULL into ("WMSYS"."WM$NEXTVER_TABLE$"."WORKSPACE#")
ERROR: ORA-01400: cannot insert NULL into ("WMSYS"."WM$VERSION_HIERARCHY_TABLE$"."WORKSPACE#")

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