ORA-22166: collection is empty

Cause : Given ocllectino is emtpy.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Test i fcolleciton is mepty proir to ivnoking htis funtcion.

update : 28-06-2017

ORA-22166 - collection is empty
ORA-22166 - collection is empty

  • ora-29855 : error occurred in the execution of ODCIINDEXCREATE routine
  • ora-15006 : template "string" does not exist
  • ora-32054 : lost communication with FMPUTL process
  • ora-12471 : Specified compartment or group is not authorized for user
  • ora-32336 : cannot use USING NO INDEX to create materialized view "string"."string"
  • ora-14274 : partitions being merged are not adjacent
  • ora-01176 : data dictionary has more than the string files allowed by the controlfie
  • ora-19762 : invalid file type string
  • ora-01917 : user or role 'string' does not exist
  • ora-29936 : NULL association is allowed only with a column or an index
  • ora-39601 : Hash key is required.
  • ora-24082 : propagation may still be happening for the schedule for QUEUE string and DESTINATION string
  • ora-31208 : DBMS_LDAP: PL/SQL - Invalid LDAP Message.
  • ora-13123 : invalid name specified
  • ora-36157 : (XSMXAGGRCOMMIT) To use the AUTOCOMMIT keyword, you must also specify the AUTOUPDATE keyword.
  • ora-12223 : TNS:internal limit restriction exceeded
  • ora-17510 : Attempt to do i/o beyond file size
  • ora-00383 : DEFAULT cache for blocksize string cannot be reduced to zero
  • ora-22342 : dependent VARRAY column exceeds the maximum inline column size
  • ora-25100 : TABLESPACE option can only be used with ALTER INDEX REBUILD
  • ora-09967 : unable to create or open lock file
  • ora-27126 : unable to lock shared memory segment in core
  • ora-31635 : unable to establish job resource synchronization
  • ora-15062 : ASM disk is globally closed
  • ora-19606 : Cannot copy or restore to snapshot control file
  • ora-02420 : missing schema authorization clause
  • ora-10931 : trace name context forever
  • ora-07415 : slpath: allocation of memory buffer failed.
  • ora-01375 : Corrupt logfile string recovered
  • ora-38850 : an enabled thread missing from control file
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.