Cause: An error encountered while trying to read the USER_SDO_GEOM_METADATA view. See the solution below.
Error solution: Check that USER_SDO_GEOM_METADATA has an entry for the current geometry table.
Database version: Oracle 11g Release 2 (11.2)