Complete Refresh on Mview with Spatial Index Fails with ORA-904, ORA-932, or ORA-12048 (Doc ID 1416778.1)

Last updated on FEBRUARY 20, 2012

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 to 11.2.0.3 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

While doing a complete refresh on a materialized view (mview) that has a spatial index, you receive one or more of these errors:
ORA-00904: "NULL": invalid identifier
ORA-00932: inconsistent datatypes: expected NUMBER got MDSYS.SDO_GEOMETRY
ORA-12048: error encountered while refreshing materialized view <mview_name>
The errorstack trace may resemble the following:
kgesev <- kgesec1 <- qcuErrGen <- qcsRslvName <- qcsridn <- PGOSF206_qcsnrins <- qcsraic <- qcspqbDescendents <- qcspqb <- kkmdrv <- opiSem <- opiprs

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