MVIEW Refresh failed with ORA-01400: Cannot Insert NULL Into ("SYSTEM"."DEF$_DESTINATION"."DBLINK") (Doc ID 2049814.1)

Last updated on SEPTEMBER 18, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

MV refresh failed with:
ORA-01400: cannot insert NULL into ("SYSTEM"."DEF$_DESTINATION"."DBLINK")  <----  Note the Object Name.  This document is applicable only for this object.
ORA-01403: no data found
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2563
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2776
ORA-06512: at "SYS.DBMS_IREFRESH", line 685
ORA-06512: at "SYS.DBMS_REFRESH", line 195

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