Oracle8 Error Messages
Release 8.0
A54625_01

Library

Product

Contents


Prev Next

ORA-19601: output file is name name num

Cause: This message identifies the output file for a failed copy operation. The fields are as described in message 19600. When creating a new datafile copy, its controlfile record number may not have been determined when the message is printed. In that case, the record number shown is zero.

Action: Other messages should display to help pinpoint the cause and the solution.

ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

Cause: An attempt was made to copy or backup a file that was not closed cleanly, and the database was in NOARCHIVELOG mode. This is not allowed because when restored, the file will require redo application before it is usable, and redo is not currently being saved beyond the contents of the online redo logs.

Action: Take the tablespace offline, clean or close the database, and retry the COPY or BACKUP operation.

ORA-19604: conversation file naming phase is over

Cause: A call was made to specify a file to be backed up or restored after the first backup piece has been processed.

Action: Do not specify more files to be processed during a BACKUP or RESTORE conversation after the first backup piece has been processed. If more files must be specified, begin a new conversation.

ORA-19605: input filename must be specified

Cause: The input file name was not specified for a controlfile COPY operation.

Action: Specify an input filename and retry the operation.

ORA-19606: Cannot copy or restore to snapshot controlfile

Cause: A controlfile copy or restore operation specified the name of the snapshot controlfile as the output file. It is not permitted to overwrite the snapshot controlfile in this manner. Other methods are available to create the snapshot controlfile.

Action: Specify a different file name and retry the operation. If this is a RESTORE, then the RESTORE conversation remains active and more files can be specified.

ORA-19607: name is an active controlfile

Cause: A controlfile COPY, RESTORE, or BACKUP specified the name of a controlfile named in the INIT.ORA file as the input or output file.

Action: Specify a different file name and retry the operation. If this is a BACKUP or RESTORE conversation, then the conversation remains active and more files can be specified.

ORA-19608: name is not a backup piece

Cause: The specified file was not a backup piece produced by the DBMS_BACKUP_RESTORE package. Either the first block of the backup piece is corrupt or this file is not a backup piece.

Action: Specify a different file name and retry the operation.

ORA-19609: name is from different backup set: stamp name count num

Cause: The specified file was not from the backup set which is currently being processed. It is part of a different backup set. The identification of the set containing this piece is shown.

Action: Specify the correct backup piece and retry the operation.

ORA-19610: directory block name is corrupt

Cause: The indicated directory block failed checksum validation. This backup piece is unusable.

Action: Supply another copy of the same backup piece, or terminate the RESTORE conversation.

ORA-19611: backup piece out of order. Expected name but found name

Cause: This backup piece is out of sequence.

Action: Supply the correct backup piece.

ORA-19612: datafile num not restored due to name

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the RESTORE conversation must be cancelled.

ORA-19613: datafile num not found in backup set

Cause: The indicated file could not be restored, because it is not in this backup set. If the file number is zero, then this refers to the controlfile.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19614: archivelog thread name sequence name not found in backup set

Cause: The indicated archived log file was named explicitly for restoration but is not contained in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19615: some files not found in backup set

Cause: Some files that were specified for restoration were not found in the backup set directory. Message 19613 or 19614 is issued for each file not found.

Action: See the instructions for message 19613.

ORA-19616: output filename must be specified if database not mounted

Cause: A datafile restore specified no target filename, but the database is not mounted. The database must be mounted when no target filename is specified, so that the target filename can be obtained from the controlfile.

Action: The restore conversation remains active. If you wish to restore datafiles without their target filenames, then mount the database before continuing. Otherwise, a target filename must be specified on all datafile restoration calls.

ORA-19617: file name contains different resetlogs data

Cause: The indicated file contains resetlogs data which is different from the archived log files which are already included in the backup set. All archived log files in a backup set must have the same resetlogs data.

Action: The restore conversation remains active, and you may continue to specify archived log files for inclusion in the backup set.

ORA-19618: cannot name files after restoreValidate has been called

Cause: A call was made to specify a file to restore from a backup set, but a previous call to restoreValidate has already been made.

Action: You must cancel and restart the conversation if you want to specify files to restore.

ORA-19619: cannot call restoreValidate after files have been named

Cause: The restoreValidate operation was called after some files had already been specified for restoration.

Action: You must cancel and restart the conversation if you want to call restoreValidate.

ORA-19620 : archive log destination name exceeds maximum length of num

Cause: You specified an archive log destination for restoreSetRedoLog which exceeds the system maximum.

Action: Retry the operation with a shorter archive log destination.

ORA-19621: archivelog range has already been specified

Cause: A range of logs has already been specified. Only one SCN range can be specified per conversation.

Action: The restore conversation remains active and more logs can be specified by thread and sequence number, if desired.

ORA-19622: archivelog thread name sequence name not restored due to name

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the restore conversation must be cancelled.

ORA-19623: file name is open

Cause: A SwitchToCopy operation specified a datafile copy whose parent datafile is open.

Action: Take the owning tablespace offline or close the database, then retry the operation.

ORA-19624: operation failed, retry possible

Cause: A BACKUP, RESTORE or IMAGE COPY operation failed with an I/O error. If the source of the I/O error can be corrected, then the operation may be retried.

Action: This message is used by recovery manager to decide whether to retry the operation.

ORA-19625: file name not found

Cause: A file specified as input to a COPY or BACKUP operation, or as the target for an incremental RESTORE, was not found.

Action: Specify an existing file and retry the operation.

ORA-19626: backup set type is name - can not be processed by this conversation

Cause: The data in the backup set is not compatible with the current conversation.

Action: Either supply the first piece from a backup set that matches the current conversation or start a new RESTORE conversation which can process this backup set.

ORA-19627: cannot read backup pieces during controlfile application

Cause: This is a controlfile RESTORE conversation, which is using the offline range information from one or more controlfiles to update datafile checkpoint data. Backup sets are not used during this type of conversation.

Action: The conversation is still active and more controlfiles can be applied.

ORA-19628: invalid SCN range

Cause: The starting SCN for restoreRedoLogRange is greater than the ending SCN.

Action: Specify a starting SCN which is less than or equal to the ending SCN.

ORA-19629: no files in specified archivelog SCN range

Cause: This backup set contains no files in the specified range.

Action: Either supply a backup set that contains files in the correct range or start a new conversation and specify a range which will select some files from this backup set.

ORA-19630: end of volume encountered while copying backup piece

Cause: While copying a backup piece from the OS native filesystem to an output device, the output device encountered end-of-volume.

Action: The copy fails. This could happen if a tape was used which is not large enough to hold the entire backup piece.

ORA-19631: archivelog record contains no file name

Cause: This archivelog record represents a switch into an active log that took place without archiving its prior contents. The prior contents of the log file are lost.

Action: Specify the RECID of an archivelog record that contains a file name. Fixed view V$ARCHIVED_LOG can be used to examine the archived logs.

ORA-19632: file name not found in controlfile

Cause: The name passed to getFno was not found in the controlfile.

Action: Supply a valid filename and retry the operation.

ORA-19633: controlfile record name is out of sync with recovery catalog

Cause: The controlfile record describing the file to be deleted in a call to deletePiece, deleteDataFilecopy, or deleteRedoLog does not match the validation data supplied by recovery manager.

Action: Contact Oracle support.

ORA-19634: filename required for this function

Cause: The fname or handle parameter was not specified for deletePiece, deleteDataFileCopy, or deleteRedoLog.

Action: Specify the fname parameter when calling these functions.

ORA-19635: input and output filenames are identical

Cause: Identical input and output file names were specified for a datafile copy operation.

Action: Specify an output file name which is different from the input file name.

ORA-19636: archivelog thread name sequence name already included

Cause: The indicated archivelog has already been specified for inclusion in this RESTORE conversation. A RESTORE conversation may process only one copy of any archivelog.

Action: No action required - the conversation is still active, and more files can be specified.

ORA-19637: backupPieceCreate requires file name when using DISK device

Cause: The session device is currently allocated to disk, and so a file name is required.

Action: Supply a filename and retry the operation.

ORA-19638: file name is not current enough to apply this incremental backup

Cause: The checkpoint of the target for this incremental backup is less than the start of the incremental backup. If this backup were applied, then any changes made between the datafile checkpoint and the start of the incremental backup could be lost.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19639: file name is more current than this incremental backup

Cause: The checkpoint of the target for this incremental backup is greater than or equal to the checkpoint of the file in the incremental backup set. This backup cannot advance the checkpoint of the target file, so there is no point in applying it.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19640: datafile checkpoint is SCN name time num

Cause: This message identifies the datafile checkpoint for a datafile that was too old to take an incremental backup from, or the target of an incremental restore that could not be applied.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19641: backup datafile checkpoint is SCN name time num

Cause: This message identifies the checkpoint of a datafile in an incremental backup set that could not be applied.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19642: incremental-start SCN is name

Cause: This message identifies the starting SCN of an incremental backup that could not be applied.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19643: datafile name: incremental-start SCN is too recent

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is greater than the datafile checkpoint SCN, which could cause some blocks to be missed.

Action: Specify a smaller incremental-start SCN.

ORA-19644: datafile name: incremental-start SCN is prior to resetlogs SCN name

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the resetlogs SCN.

Action: Specify a larger incremental-start SCN.

ORA-19645: datafile name: incremental-start SCN is prior to creation SCN name

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the datafile's creation SCN.

Action: Specify a larger incremental-start SCN.

ORA-19646: cannot change size of datafile name from num to num

Cause: The indicated file was resized before this incremental backup was taken, but the incremental backup failed to set the file to the new size.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19647: non-zero LEVEL cannot be specified when INCREMENTAL is FALSE

Cause: BackupSetDataFile was called with a non-zero BACKUP_LEVEL and a FALSE incremental indication.

Action: Either set incremental to TRUE or change BACKUP_LEVEL to zero.

ORA-19648: datafile name: incremental-start SCN equals checkpoint SCN

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is equal to the datafile's checkpoint SCN. Since an incremental backup can only be applied to a datafile whose checkpoint SCN is between the backup set incremental-start SCN (inclusive) and the backup set checkpoint SCN (exclusive), there is no datafile that this backup set could ever be applied to.

Action: Specify a smaller incremental-start SCN.

ORA-19649: offline-range record recid num stamp name not found in file name

Cause: applyOfflineRange was called with a recid/stamp which was not found in the indicated controlfile. This probably means that the specified controlfile is no longer the same controlfile that Recovery Manager thinks it is.

Action: Specify the recid/stamp of a record that exists in the controlfile copy.

ORA-19650: offline-range record recid num stamp num in file name has SCN name

Cause: This messages identifies the offline-clean SCN from the indicated offline-range record in the indicated file.

Action: See the accompanying error message.

ORA-19651: cannot apply offline-range record to datafile name: SCN mismatch

Cause: applyOfflineRange cannot apply an offline-range record to a target datafile unless the datafile's checkpoint SCN exactly matches the offline-clean SCN in the specified offline-range record.

Action: Specify an offline-range record whose offline-clean SCN matches the target datafile's checkpoint.

ORA-19652: cannot apply offline-range record to datafile name: file is fuzzy

Cause: The target datafile for an applyOfflineRange call is fuzzy.

Action: Specify a target datafile that is closed cleanly.

ORA-19653: cannot switch to older file incarnation

Cause: SwitchToCopy was called with a datafile copy for a datafile that was dropped prior to the time this controlfile was backed up.

Action: Restore and mount an earlier controlfile. It is acceptable to use a controlfile that was backed up prior to the creation of the specified datafile.

ORA-19654: must use backup controlfile to switch file incarnations

Cause: This switchToCopy operation is attempting to switch incarnations of a datafile, but the currently mounted controlfile is not a backup controlfile.

Action: Restore and mount a backup controlfile.

ORA-19655: cannot switch to incarnation with different resetlogs data

Cause: This switchToCopy operation is attempting to switch to a datafile which comes from a different resetlogs version of the database.

Action: Either restore a backup controlfile that was taken from the same database version as the target datafile-copy, or switch to a different datafile-copy.

ORA-19656: cannot backup, copy, or delete online log name

Cause: The indicated log file is an active log. You can only backup, copy, or delete archived logs.

Action: The indicated log file cannot be processed - select another file.

ORA-19657: cannot inspect current datafile name

Cause: The file being inspected is already part of the currently mounted database.

Action: None - the file is already part of the database.

ORA-19658: cannot inspect name - file is from different resetlogs

Cause: The resetlogs data in the log file being inspected does not match that in the currently mounted controlfile.

Action: The indicated file cannot be processed - inspect another file.

ORA-19659: incremental restore would advance file name past resetlogs

Cause: This incremental backup cannot be applied to the specified datafile, because the datafile is from an earlier incarnation of the database, and its checkpoint would be advanced too far to be recoverable in the current incarnation of the database.

Action: This incremental cannot be applied to this datafile. To recover the file to the resetlogs SCN so that the database can be opened with the RESETLOGS option, use redo-log recovery, not incremental restore, to continue recovering this file.

ORA-19660: some files in the backup set could not be verified

Cause: A restore conversation was made to verify all the files in a backup set, and the files which were printed in messages 19661 or 19662 could not be verified because corrupt blocks for those files were found in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated files cannot be restored from this backup set.

ORA-19661: datafile name could not be verified

Cause: Some data blocks for the indicated datafile were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated datafile cannot be restored from this backup set.

ORA-19662: archived log thread name sequence name could not be verified

Cause: Some data blocks for the indicated archived log were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated archived log cannot be restored from this backup set.

ORA-19663: cannot apply current offline range to datafile name

Cause: An attempt was made to apply the current offline range to the specified datafile, but the datafile is either not current enough or is not at the correct SCN to apply the offline range.

Action: The datafile remains unchanged.

ORA-19664: file type: type, file name: name

Cause: This message is issued to identify the file which is the subject of an error.

Action: None - this is an informational message. There should be other Oracle messages explaining the cause of the error.

ORA-19665: size num in file header does not match actual file size of num

Cause: The size of the file as indicated in the file header does not match the true size of the file. The two differing sizes are shown in units of logical blocks.

Action: This file is not usable - it has most likely been truncated.

ORA-19700: device type exceeds maximum length of num

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

ORA-19701: device name exceeds maximum length of num

Cause: The device name indicated is invalid.

Action: Supply a correct device name and retry the allocation.

ORA-19702: device parameter exceeds maximum length of num

Cause: The device parameter exceeds the port-specific maximum length.

Action: Correct the parameter and retry the operation.

ORA-19703: device command string exceeds maximum length of num

Cause: The device command string exceeds maximum length.

Action: Correct the command and retry the operation.

ORA-19704: file name exceeds maximum length of num

Cause: The specified file name, which was a parameter to a COPY, BACKUP, or RESTORE operation, exceeds the maximum file name length for this operating system.

Action: Retry the operation with a shorter file name.

ORA-19704: file name exceeds maximum length of num

Cause: The specified file name, which was a parameter to a COPY, BACKUP, or RESTORE operation, exceeds the maximum file name length for this operating system.

Action: Retry the operation with a shorter file name.

ORA-19705: tag value exceeds maximum length of num characters

Cause: During a BACKUP or COPY operation, the user supplied a tag value too long to fit in the file header.

Action: Supply a shorter tag and retry the operation.

ORA-19706: invalid SCN

Cause: The input SCN is either not a positive integer or too large.

Action: Check the input SCN and make sure it is a valid SCN.

ORA-19707: invalid record block number - num

Cause: The input number is either negative or too large.

Action: Check the input record block number and make sure it is a valid number clauses in the create database statement.

ORA-19708: log destination exceeds maximum length of num characters

Cause: When starting a RESTORE conversation, a log restore destination longer than the port-specific maximum was specified.

Action: Supply a shorter destination and retry the operation.

ORA-19709: numeric parameter must be non-negative integer

Cause: A numeric parameter to an X$DBMS_BACKUP_RESTORE procedure is negative or contains a fractional portion.

Action: Supply a valid numeric parameter.

19999-21099: Stored Procedure Messages

For more Stored Procedure messages, see "04040-04059: Stored Procedure Messages" on page 2¬313.

ORA-19999: SKIP_ROW procedure was called

Cause: This message is raised when the SKIP_ROW procedure is called.

Action: This procedure should be called only within a trigger or a procedure called by a trigger.

ORA-20000: application_specific_message

Cause: The stored procedure RAISE_APPLICATION_ERROR was called, which causes this message to be generated.

Action: Correct the problem as described in the message or contact the application administrator or database administrator for more information.

ORA-21000: error number argument to RAISE_APPLICATION_ERROR of num is out of range, must be between -20000 and -20999, inclusive

Cause: An attempt was made to specify a number not in the range of -20000 to -20999.

Action: The valid range for user-specified error numbers is -20000 to -20999 inclusively. Do not specify numbers outside this range.

ORA-21001: error number argument to raise_system_error of num is out of range

Cause: An attempt was made to specify a number not in the range of -23300 to -24299, or -29300 to -29399, inclusive.

Action: Use an error number in the range of -23300 to -24299, or -29300 to -29399, inclusive.

21100-21299: Internal Messages

Internal messages are not documented in this manual.

21300-22799: Object Interface and Subsystem Messages

ORA-21300: objects option not installed

Cause: The objects option was not installed at this site. Object types and other object features were, therefore, unavailable.

Action: Install the objects option. The objects option is not part of the Oracle Server product and must be purchased separately. Contact an Oracle sales representative if the objects option needs to be purchased.

ORA-21301: not initialized in object mode

Cause: This function requires the OCI process to be initialized in object mode.

Action: Specify OCI_OBJECT mode when calling OCIInitialize().

21500-21503: Oracle Runtime Environment for Objects (OREO) Internal Messages

ORA-21500: internal error code, arguments: [num], [num], [num], [num], [num], [num], [num], [num]

Cause: This is the generic error number for the user-side Oracle Runtime Environment for Objects (OREO) internal errors. This indicates that the runtime environment has encountered an exceptional condition.

Action: Report as a bug to Oracle Support - the first argument is the internal error number.

ORA-21503: program terminated by fatal error

Cause: A program is in an unrecoverable state.

Action: Report as a bug to Oracle Support.

21520-21559: KOD/KOFD/KOUD (data) Messages

ORA-21520: driver does not exist

Cause: An attempted was made to connect to a persistent store driver that is not linked in.

Action: Check the server name supplied in origrgc(). Check if the driver corresponding to this server name has been linked in and entered in the server table.

ORA-21521: exceeded maximum number of connection

Cause: An attempted was made to exceed the maximum number of connections allowed (255) per OMS instance.

Action: Close some of the existing connections using origurg() before requesting more connections.

ORA-21522: invalid connection number

Cause: There is no connection entry corresponding to this connection number.

Action: Check the connection number and ensure that the connection exists.

ORA-21524: object type mismatch

Cause: The type of the object is different from what was specified.

Action: Check the type of the object and correct it.

ORA-21525: attribute number or (collection element at index) num violated its constraints

Cause: Attribute value or collection element value violated its constraint.

Action: Change the value of the attribute or collection element such that it meets its constraints. The constraints are specified as part of the attribute or collection element's schema information.

ORA-21560: argument name should not be null

Cause: The argument is expecting a non-NULL, valid value but the argument value passed in is NULL, invalid, or out of range. Examples include when the LOB/FILE positional or size argument has a value outside the range 1 through (4GB - 1), or when an invalid open mode is used to open a file, etc.

Action: Check your program and correct the caller of the routine to not pass a NULL, invalid, or out-of-range argument value.

21600-21699: ORI*/KOI* (interface) Messages

ORA-21600: path expression too long

Cause: The path expression that was entered is too long. The path expression specifies the position of an attribute in an object. When the ORI* function retrieves the attribute using the path expression, it encounters an attribute of primitive type before finishing to consume the all the elements in the expression.

Action: Pass in the correct path expression to locate the attribute.

ORA-21601: attribute is not an instance of user-defined type

Cause: An attempt was made to perform an operation (that is valid only for an object type) to an attribute of primitive type. The operation includes dynamically setting a null structure to an attribute of primitive type.

Action: Avoid performing this operation on an attribute of primitive type.

ORA-21602: the operation does not support the specified typecode

Cause: The user attempts to perform an operation that does not support the specified typecode.

Action: User should use the range of valid typecodes that are supported by this function.

21700-21799: KOC (cache) Messages

ORA-21700: object does not exist or has been deleted

Cause: An attempt was made to perform an inappropriate operation to a deleted or non-existent object that is referenced by a dangling reference. Operations that cannot be applied to a non-existent or deleted object include deleting, updating and allocating memory.

Action: Re-initialize the reference in order to reference an existent object before performing the operation.

ORA-21701: object has been purged

Cause: An attempt was made to perform an inappropriate operation to an object that is marked purged. The actual object could have been modified in the database. Operations that cannot be applied to a purged object includes updating, deleting and flushing.

Action: Pin the object again to get the new data.

ORA-21702: object is not instantiated in the cache

Cause: An attempt was made to perform an inappropriate operation to a transient object that is not instantiated in the object cache. Operations that cannot be applied to a not-instantiated transient object include deleting or pinning such an object.

Action: Check the code to see if operations are being performed without instantiating the object first, or operations are being performed after the allocation duration of the object has expired.

ORA-21703: cannot flush an object that is not modified

Cause: The object could not be flushed because it has not been modified.

Action: The object should not be flushed.

ORA-21704: terminate cache or connection without flushing

Cause: See the error message.

Action: The transaction should be aborted or committed before terminating the cache or connection.

ORA-21705: service context is invalid

Cause: An attempt was made to supply a service context that is not valid.

Action: Establish the service context and retry the operation.

ORA-21706: duration does not exist

Cause: An attempt was made to supply a duration number that is not valid.

Action: Establish the duration or use a correct predefined duration.

ORA-21707: the pin duration is longer than the allocation duration

Cause: An attempt was made to supply a pin duration that is longer than the allocation duration. This affects operations such as pinning and setting default parameters.

Action: Use a shorter pin duration or use the null duration.

ORA-21708: operations cannot be performed on a transient object

Cause: An attempt was made to perform an inappropriate operation on a transient object. Operations that cannot be applied to a transient object include flushing and locking.

Action: Avoid performing operations such as flushing and locking on a transient object.

ORA-21709: operations can only be performed on a current object

Cause: An attempt was made to perform an inappropriate operation on a not-current object. Operations that cannot be applied to a not-current object include locking, updating, deleting and flushing.

Action: Avoid performing locking, updating, deleting or flushing operations on a not-current object.

ORA-21710: magic number mismatch

Cause: An attempt was made to supply an invalid object. A bad pointer might have been passed to the object or else a value might have been passed to a function that is expecting an object.

Action: Ensure that a valid pointer or a valid value is passed to the function.

ORA-21779: duration not active

Cause: An attempt was made to use a duration that has been terminated.

Action: Do not use terminated durations in operations.

ORA-22000: variable-length string size of num bytes is outside valid range num to num bytes

Cause: An attempt was made to pass a variable-length string which is outside the valid range.

Action: Specify a string size which is within the valid range and retry the operation.

ORA-22053: overflow error

Cause: The number is too large to be represented by Oracle number.

Action: The operation is beyond the range of Oracle number.

ORA-22054: underflow error

Cause: Number is too small to be represented by Oracle number.

Action: The operation is beyond the range of Oracle number.

ORA-22055: unknown sign flag value [name]

Cause: The signed flag that was used is not ORLTSB or ORLTUB as defined in ORL.H.

Action: Use either ORLTSB or ORLTUB as the sign flag.

ORA-22056: value [num] is divided by zero

Cause: A divide by zero operation has occurred.

Action: Modify the invalid operation and reissue the command.

ORA-22057: bad integer length [num]

Cause: An attempt was made to convert an integer of invalid length (that is, number of bytes) to or from an Oracle number.

Action: Use an integer length of 1, 2, 4 or 8 bytes only.

ORA-22059: buffer size [num] is too small - [num] is needed

Cause: The buffer to hold the text string which wa to be converted from an Oracle number is too small.

Action: Use a buffer size at least that suggested in the error message and retry the operation.

ORA-22060: argument [num] is an invalid or uninitialized number

Cause: An invalid or uninitialized number was passed to a function.

Action: Call kolnini() to initialize a number before using it.

ORA-22061: invalid format text [num]

Cause: An invalid numeric format string was used to convert characters to or from an Oracle number.

Action: See format specification in the description of the TO_NUMBER conversion function in the PL/SQL User's Guide and Reference.

ORA-22062: invalid input string [name]

Cause: An invalid text string was used for converting to numbers.

Action: Use a valid input string and retry the operation.

ORA-22063: reading negative value [num] as unsigned

Cause: An attempt was made to convert a negative number to an unsigned integer.

Action: Use the sign flag ORLTSB to convert a signed number.

ORA-22064: invalid NLS parameter string [name]

Cause: An invalid parameter string was used to convert characters to or from an Oracle number.

Action: See format specification under the TO_NUMBER conversion function in the PL/SQL User's Guide and Reference.

ORA-22065: number to text translation for the given format causes overflow

Cause: Rounding done due to the given string format causes overflow.

Action: Change the string format such that overflow does not occur.

ORA-22130: given buffer size num is less than the required size of num

Cause: An attempt was made to write a hexadecimal REF string into a buffer which is too small.

Action: Provide a buffer of the required size and retry the operation.

ORA-22131: given hexadecimal string length num is not valid

Cause: An attempt was made to give a hexadecimal string a length of zero or less.

Action: Specify a hexadecimal string length greater than zero.

ORA-22132: given hexadecimal string does not correspond to a valid REF

Cause: The given hexadecimal string is invalid.

Action: Use the orlr2h() function for the value to obtain a valid hexadecimal string. Then retry the operation.

ORA-22140: given size num must be in the range of 0 to num

Cause: The given resize size is invalid.

Action: Ensure that the given size is in the required range.

ORA-22150: variable-length array has not been initialized

Cause: An attempt was made to operate on an un-initialized variable-length array.

Action: Use the kolaini() function to initialize the variable-length array before performing an operation on it.

ORA-22151: cannot resize non-zero variable-length array to zero elements

Cause: An attempt was made to resize a non-zero variable-length array to 0 elements.

Action: Do not perform this operation on a non-zero variable-length array.

ORA-22152: destination variable-length array is not initialized

Cause: An attempt was made to use a non-initialized variable-length array on the right-hand-side of an assignment (kolasg()) or as the destination array of an append.

Action: Use the kolaini() function to initialize the variable-length array, then retry the operation.

ORA-22153: source variable-length array is not initialized

Cause: An attempt was made to use a non-initialized variable-length array on the left-hand-side of an assignment (kolasg()) or the as the source array of an append (kolapp()).

Action: Use the kolaini() function to initialize the variable-length array, then retry the operation.

ORA-22160: element at index name does not exist

Cause: An attempt was made to use a collection element at an index which does not exist.

Action: Specify the index of an element which exists, then retry the operation.

ORA-22161: type code name is not valid

Cause: An invalid type code was used.

Action: Consult the ORO.H file for valid type codes.

ORA-22162: element at index name has been previously deleted

Cause: An attempt was made to access a collection element which does not exist at the given index.

Action: Check for the existence of the element prior to calling the function. Then retry the function.

ORA-22163: left hand and right hand side collections are not of same type

Cause: An attempt was made to use left hand and right hand side collections that are not of the same type.

Action: Ensure that the same collection type is passed for both left hand and right hand side of the operation (for example, ASSIGNMENT).

ORA-22164: DELETE ELEMENT operation is not allowed for VARRAYs

Cause: An attempt was made to delete an element of a VARRAY.

Action: Do not perform the DELETE ELEMENT operation on collections of type VARRAY. Ensure that the collection is not of type VARRAY prior to calling this function. Then retry the function.

ORA-22165: given index name must be in the range of 0 to num

Cause: An attempt was made to use an index not in the required range.

Action: Change the index so that it is in the required range, then retry the operation.

ORA-22166: collection is empty

Cause: An attempt was made to use an empty collection.

Action: Test to see if the collection is empty prior to invoking this function.

ORA-22167: given trim size num must be less than or equal to num

Cause: An attempt was made to use a trim size which is greater than the current collection size.

Action: Assign a trim size less than or equal to the collection size, then retry this function.

22275-22279: KOLL - LOBs

ORA-22275: invalid LOB locator specified

Cause: There are several causes: (1) the LOB locator was never initialized; (2) the locator is for a BFILE and the routine expects a BLOB/CLOB/NCLOB locator; (3) the locator is for a BLOB/CLOB/NCLOB and the routine expects a BFILE locator; (4) trying to update the LOB in a trigger body -- LOBs in trigger bodies are read only.

Action: For (1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For (2) and (3), pass the correct type of locator into the routine. For (4), remove the trigger body code that updates the LOB value.

ORA-22276: invalid locator for LOB buffering

Cause: There are several causes: (1) the locator was never enabled for buffering (2) it is not an updated locator but is being used for a write/flush operation.

Action: For (1) enable the locator for buffering; (2) ensure that only an updated locator is used for a LOB update operation

ORA-22277: cannot use two different locators to modify the same LOB

Cause: LOB buffering is enabled and an attempt was made to modify the same LOB using two different LOB locators.

Action: When using LOB buffering, modify the LOB through one LOB locator only.

ORA-22278: must update the LOB only through the LOB buffers

Cause: LOB buffering is enabled for this LOB and there are buffers for this LOB in the buffer pool. Thus, updating the LOB through means other than the LOB buffers is not allowed.

Action: Update the LOB through the LOB buffers using the locator that has LOB buffering enabled. If this operation is required, buffers associated with this LOB should either be flushed as necessary or buffering should be disabled. Once this is done, reissue the command.

ORA-22279: cannot perform operation with LOB buffering enabled

Cause: The operation attempted is not allowed when LOB buffering is enabled.

Action: If the operation is required, LOB buffering should not be used. In this case, flush buffers associated with the input LOB locator as necessary, disable buffering on the input LOB locator and reissue the command.

22280-22299: LOBs: DBMS_LOB and KOLF - Generic FILE Manager Messages

ORA-22280: no more buffers available for operation - current LOB usage num

Cause: There are two causes:

Action: For Case 1: Flush the LOB(s) through the locator that is being used to update the LOB. The current LOB usage indicates the number of buffers being held for the LOB relevant to the current operation.

ORA-22281: cannot perform operation with an updated locator

Cause: The input locator has buffering enabled and was used to update the LOB value through the LOB buffering subsystem. The modified buffer has not been flushed since the write that was performed by the input locator; thus the input locator is considered an updated locator. Updated locators cannot be the source of a copy operation. Only one locator per LOB can be used to modify the LOB value through the LOB buffering subsystem.

Action: Depending on whether the modifications made through the input locator to the LOB buffering subsystem should be written to the server, either flush the buffer to write the modifications, or, disable buffering on the locator to discard the modifications. Then, reissue the command.

ORA-22282: non-contiguous append to a buffering enabled LOB not allowed

Cause: The buffered write operation has an input offset value more than one byte or character past the end of the LOB.

Action: Specify an input offset value which is exactly one character or byte greater than the length of the LOB that you are attempting to update through a buffered write operation.

ORA-22285: non-existent directory or file for name operation

Cause: Attempted to access a directory that does not exist, or attempted to access a file in a directory that does not exist.

Action: Ensure that a system object corresponding to the specified directory exists in the database dictionary, or make sure the name is correct.

ORA-22286: insufficient privileges on file or directory to perform name operation

Cause: The user does not have the necessary access privileges on the directory alias and/or the file for the operation.

Action: Ask the database/system administrator to grant the required privileges on the directory alias and/or the file.

ORA-22287: invalid or modified directory occurred during name operation

Cause: The directory alias used for the current operation is not valid if being accessed for the first time, or has been modified by the DBA since the last access.

Action: If you are accessing this directory for the first time, provide a valid directory name. If you have been already successful in opening a file under this directory before this error occurred, then close the file and retry the operation with a valid directory alias as modified by your DBA. Oracle recommends that directories should be modified only during quiescent periods.

ORA-22288: file operation name failed

Cause: The operation attempted on the file failed.

Action: Verify that the file exists and that the necessary privileges are set for the specified operation. If the error still persists, report the error to the DBA.

ORA-22289: cannot perform name operation on an unopened file

Cause: The file is not open for the required operation to be performed.

Action: Check that the current operation is preceded by a successful file open operation.

ORA-22290: operation would exceed the maximum number of opened files

Cause: The number of open files has reached the maximum limit.

Action: Close some of the opened files and retry the operation.

ORA-22303: TYPE name.name not found

Cause: An attempt was made to obtain information for a type that cannot be found.

Action: Make sure that the type has been committed successfully, and the schema information has been supplied correctly. Then retry the operation.

ORA-22305: input name of name is invalid

Cause: An attempt was made to use an invalid input name. The name does not exist in the type.

Action: Modify the program to have the caller of the routine pass a name that is valid for the function being called.

ORA-22306: input schema name name type name name already exists

Cause: An attempt was made to create a schema name, type name pair that matches a schema name, type name pair that already exists.

Action: Modify the program to have the caller of the routine pass a schema name, type name pair that does not already exist.

ORA-22307: type to alter is not a user-defined type

Cause: An attempt was made to use an input type which is not a user-defined type. User-defined types can only be altered.

Action: Modify the program to have the caller of the routine pass a user-defined type as input.

ORA-22309: input name name already exists in the type

Cause: An input name was used that is not a unique name in the type.

Action: Modify the program to have the caller of the routine pass a name that does not already exist in the type.

ORA-22311: type for attribute name does not exist

Cause: A type which does not exist was used for the attribute.

Action: No types were created/modified for this DDL transaction. Redo the DDL transaction and add the creation of the attribute's type in the DDL transaction.

ORA-22313: cannot use two versions of the same type name

Cause: The version of this type conflicts with the version of this type used by another library that was linked in with the application. An application may only use one version of a type.

Action: Check that the libraries being linked with this application use the same versions of the type.

ORA-22314: method information mismatch in ALTER TYPE

Cause: The number of methods or the method signature does not match that of the original type declaration. This is not supported.

Action: Make sure the method signatures stay identical for the previously declared method. Do not drop existing methods.

ORA-22315: the input type name does not contain a map or order function

Cause: The input type cannot be returned because it does not contain a map or order function.

Action: Add a map or order function to the type and retry the operation.

ORA-22316: input type is not a named primitive type

Cause: An attempt was made to obtain NPT-specific information on a non-named primitive type.

Action: Use a named primitive type for the function then retry the operation.

ORA-22317: typecode name is not legal as a number type

Cause: An attempt was made to use a number typecode that is not valid.

Action: Use only these number typecodes OROTCSML, OROTCINT, OROTCSHO,OROTCUSH, OROTCLON, OROTCULO, OROTCREA, OROTCDOU, OROTCFLO, OROTCNUM, or OROTCDEC.

ORA-22318: input type is not an array type

Cause: An attempt was made to obtain the number of elements for a non-array type.

Action: Pass in only a named collection type which is an array.

ORA-22319: type attribute information altered in ALTER TYPE

Cause: The type attribute information that was entered does not match that of the original type declaration when altering type.

Action: You cannot alter any type information other than to add new methods when altering a type.

ORA-22321: method does not return any results

Cause: The ortgrbp() function was called on a method that does not return any results.

Action: Check that you are passing in the correct method descriptor, or that your method creation was done correctly.

22600-22699: KOP* (Pickler)

ORA-22600: encountered 8.0.2 (Beta) VARRAY data that cannot be processed

Cause: Production Oracle8 (8.0.3 and beyond) encountered some VARRAY data which was created and stored by Oracle8 8.0.2 (Beta 2). Production Oracle8 cannot understand or process such VARRAY data.

Action: Delete the VARRAY data from the table by dropping the table, deleting the rows, or nulling out the VARRAY columns, and then re-insert the VARRAY data. There is no provided script or tool to help automate this conversion.

22800-22849: Object SQL Messages

ORA-22800: invalid user-defined type

Cause: An attempt was made to use an incomplete type as a constructor.

Action: Complete the type definition before using it in a query.

ORA-22801: invalid object row variable

Cause: The specified object row variable is not available in the scope of name resolution.

Action: Verify the specified row object variable is correct, or use a valid row object variable visible in scope.

ORA-22803: object type contains zero attributes

Cause: An attempt was made to create or specify a column or constructor of an object type that has no attributes. Only object types that have at least one attribute are allowed in this context.

Action: Specify a valid object type and retry the operation.

ORA-22804: remote operations not permitted on object tables or user-defined type columns

Cause: An attempt was made to perform queries or DML operations on remote object tables or on remote table columns whose type is one of object, REF, nested table or VARRAY.

Action: Remove the reference to remote tables in the statement.

ORA-22805: cannot insert NULL object into object tables or nested tables

Cause: An attempt was made to insert a NULL object into an object table or a Nested Table.

Action: Ensure that a non-NULL object is inserted into the table or insert an object with attributes whose values are NULL.

ORA-22806: not an object or REF

Cause: An attempt was made to extract an attribute from an item that is neither an object nor a REF.

Action: Use an object type or REF type item and retry the operation.

ORA-22807: cannot resolve to a scalar or a collection type

Cause: Invalid use of a non-scalar (for example, object type) item.

Action: Change the item's data type and retry the operation.

ORA-22808: REF dereferencing not allowed

Cause: An attempt was made to access a type's attributes by dereferencing a REF item.

Action: Make the item an object type instead of a REF to an object type.

ORA-22809: nonexistent attribute

Cause: An attempt was made to access a non-existent attribute of an object type.

Action: Check the attribute reference to see if it is valid. Then retry the operation.

ORA-22810: cannot modify object attributes with REF dereferencing

Cause: An attempt was made to modify attributes of an object by dereferencing a REF column in an UPDATE statement.

Action: Update the table containing the object that the REF points to, or change the REF column to an object type column.

ORA-22812: cannot reference NESTED TABLE column's storage table

Cause: An attempt to access the nested table column's storage table is not allowed in the given context.

Action: Issue the statement against the parent table containing the NESTED TABLE column.

ORA-22813: operand value exceeds system limits

Cause: Object or Collection value was too large. The size of the value might have exceeded 30k in a SORT context, or the size may be too big for available memory.

Action: Choose another value and retry the operation.

ORA-22814: attribute or element value is larger than declared in type

Cause: Value provided for the object type attribute or collection element exceeded the size specified in the type declaration.

Action: Choose another value and retry the operation.

ORA-22816: unsupported feature with RETURNING clause

Cause: RETURNING clause is currently not supported for object type columns, LONG columns, remote tables and INSERT with subquery.

Action: Use separate SELECT statement to get the values.

22850 - 22879: Object SQL DDL Messages

ORA-22850: duplicate LOB storage option specified

Cause: A LOB store option (CHUNK, PCTVERSION, CACHE, NOCACHE, TABLESPACE, STORAGE, INDEX) was specified more than once.

Action: Specify all LOB store options only once.

ORA-22851: invalid CHUNK LOB storage option value

Cause: The specified CHUNK LOB storage option value must be an integer.

Action: Choose an appropriate integer value and retry the operation.

ORA-22852: invalid PCTVERSION LOB storage option value

Cause: The specified PCTVERSION LOB store option value must be an integer.

Action: Choose an appropriate integer value and retry the operation.

ORA-22853: invalid LOB storage option specification

Cause: A LOB storage option was not specified.

Action: Specify one of (CHUNK, PCTVERSION, CACHE, NOCACHE, TABLESPACE, STORAGE, INDEX) as part of the LOB storage clause.

ORA-22854: invalid option for LOB storage index

Cause: A valid LOB store index option was not specified.

Action: Specify one of (INITTRANS, MAXTRANS, TABLESPACE, STORAGE) as part of the LOB storage index.

ORA-22855: optional name for LOB storage segment incorrectly specified

Cause: The optional name for LOB storage segment was specified with multiple columns in the column list.

Action: Specify each column LOB storage only with optional name(s).

ORA-22856: cannot add columns to object tables

Cause: An attempt was made to add columns to an object table. Object tables cannot be altered to add columns since its definition is based on an object type.

Action: Create a new type with additional attributes, and use the new type to create a object table. The new object table will have the desired columns.

ORA-22857: cannot modify columns of object tables

Cause: An attempt was made to alter the object table by modifying existing columns. An object table cannot be altered to modify existing columns since it is based on an object type. The table definition must be in sync with the corresponding type.

Action: Create a new type with additional attributes, and use the new type to create an object table. The new object table will have the desired columns.

ORA-22858: invalid alteration of datatype

Cause: An attempt was made to modify the column type to object, REF, nested table, VARRAY or LOB type.

Action: Create a new column of the desired type and copy the current column data to the new type using the appropriate type constructor.

ORA-22859: invalid modification of columns

Cause: An attempt was made to modify an object, REF, VARRAY, nested table, or LOB column type.

Action: Create a new column of the desired type and copy the current column data to the new type using the appropriate type constructor.

ORA-22860: object type expected

Cause: An attempt was made to create an object table using a non-object type, or to create a column that is a REF to a non-object type.

Action: Use a valid object type in the table or column definition.

ORA-22861: invalid user-defined type

Cause: An attempt was made to create a column or object table of a non-existent type

Action: Specify a valid type in table or column definition.

ORA-22862: specified object identifier doesn't match existing object identifier

Cause: An attempt was made to specify an object identifier for the type that does not match the existing identifier of the incomplete type of the same name.

Action: Specify the correct object identifier or leave it out of the statement.

ORA-22863: synonym for datatype name.name not allowed

Cause: An attempt was made to use a synonym specification for a datatype.

Action: Do not use the synonym specification for the data type.

ORA-22864: cannot ALTER or DROP lob indexes

Cause: An attempt was made to ALTER or DROP a LOB index.

Action: Do not operate directly on the system-defined lob index. Perform operations on the corresponding LOB column.

ORA-22865: more than one column specified

Cause: An attempt was made to specify multiple columns where only one is allowed.

Action: Specify a single column and retry the operation.

ORA-22866: default character set is of varying width

Cause: A character LOB was defined but the default character set is not fixed width.

Action: Ensure that the character set is of fixed width before defining character LOBs.

ORA-22868: table with LOBs contains segments in different tablespace

Cause: An attempt was made to drop a tablespace which contains the segment(s) for the LOB columns of a table but does not contain the table segment.

Action: Find table(s) with LOB columns which have non-table segments in this tablespace. Drop these tables and reissue drop tablespace.

ORA-22869: depth of type dependency hierarchy exceeds maximum limit

Cause: The type dependency hierarchy was structured to have depth greater than 1024.

Action: Re-structure the type dependency hierarchy to a shorter depth.

ORA-22870: ALTER TYPE with REPLACE option a non-object type

Cause: An attempt was made to perform ALTER TYPE with REPLACE option a non-object type.

Action: First drop the non-object type, then re-create it as an object type.

22880 - 22899: Object SQL REF/DEREF Support Messages

ORA-22880: invalid REF

Cause: An invalid REF was accessed.

Action: Modify the REF and retry the operation.

ORA-22881: dangling REF

Cause: The object corresponding to the REF that was accessed does not exist.

Action: Ensure that the REF value is pointing to an existing object.

ORA-22882: object creation failed

Cause: The object cannot be inserted in the database.

Action: Check to see if the object table exists and that the object size is not too big. Then retry the operation.

ORA-22883: object deletion failed

Cause: The object could not be deleted from the database.

Action: Check to see if the table exists. Then retry the operation.

ORA-22884: object modification failed

Cause: The object could not be modified in the database.

Action: Check to see if the object table exists and the object size is not too big. Then retry the operation.

ORA-22885: cannot get REF to a non-persistent object

Cause: An attempt was made to get a REF for something other than an object in an object table. REFs can only be taken for objects in object tables.

Action: Rewrite the query to obtain REF values from object tables.

ORA-22886: scoped table name in schema name is not an object table

Cause: The scoped table specified for a REF column is not an object table.

Action: Ensure that the scope table is an object table. Then retry the operation.

ORA-22887: type of REF column is not the same as that of its scoped table

Cause: The type specified for the REF column and the type specified for the scoped table are different.

Action: Ensure that the types of a REF column and its scoped table are the same.

ORA-22888: duplicate SCOPE clauses for a REF column

Cause: Multiple SCOPE clauses were specified for a single REF column.

Action: Remove the duplicate scope clauses and retry the operation.

ORA-22889: REF value does not point to scoped table

Cause: An attempt was made to insert a REF value that does not point to the scoped table.

Action: Ensure that the REF values point to the scoped table.

ORA-22890: cannot specify name for REF column constraint

Cause: An attempt was made to specify a constraint name for a constraint on a REF column.

Action: Remove the constraint name and retry the operation.

ORA-22891: cannot have multiple columns in REF constraint

Cause: An attempt was made to specify multiple columns in a single REF constraint.

Action: Specify separate constraints for each column and retry the operation.

ORA-22892: scoped table name does not exist in schema name

Cause: The scope table specified for a REF column does not exist.

Action: Ensure that the scope table exists and retry the operation.

ORA-22893: constraint can be specified only for REF columns

Cause: The constraint specified does not apply to non-REF columns.

Action: Remove the constraint.

ORA-22894: cannot add constraint on existing REF columns of non-empty tables

Cause: An attempt was made to add a constraint to existing REF columns of a table which contains one or more rows.

Action: Remove the constraint specification or add the constraint after emptying the table.

22900 - 22919: SQL Nested Tables and Collections Messages

ORA-22900: select item of subquery within THE operator is not a collection

Cause: The subquery within THE operator must select a collection item.

Action: Change the subquery to select a collection item, then retry the operation.

ORA-22901: cannot compare nested table or VARRAY or LOB attributes of an object type

Cause: An attempt was made to compare nested table, VARRAY, or LOB attributes of an object type in the absence of a MAP or ORDER method.

Action: Define a MAP or ORDER method for the type of the object type then retry the operation.

ORA-22902: CURSOR expression not allowed

Cause: CURSOR on a subquery is allowed only in the top-level SELECT list of a query.

Action: Remove the CURSOR expression and retry the operation.

ORA-22903: MULTISET expression not allowed

Cause: An attempt was made to use the MULTISET expression outside of a CAST to a nested table or VARRAY type.

Action: Put the MULTISET(subquery) expression inside a CAST to a nested table or VARRAY type.

ORA-22904: invalid reference to a nested table column

Cause: An invalid reference was made to a nested table column.

Action: Remove invalid reference to the nested table column and retry the operation.

ORA-22905: cannot access rows from a non nested table item

Cause: An attempt was made to access rows of an item whose type is not known at parse time or that is not of a nested table type.

Action: Use the CAST operator to cast the item to a nested table type.

ORA-22906: cannot perform DML on expression or on nested table view column

Cause: An attempt was made to perform a DML on a nested table view column where a nested table column of a base table is expected.

Action: Remove the DML statements on nested table view columns and retry the operation.

ORA-22907: invalid CAST to a type that is not a nested table or VARRAY

Cause: The CAST to a type was performed on something other than a nested table or VARRAY type.

Action: CAST only to a nested table or VARRAY type then retry the operation.

ORA-22908: reference to NULL table value

Cause: The evaluation of the THE subquery resulted in a NULL value implying a NULL table instance. The THE subquery must result in a single non-NULL table instance.

Action: Ensure that the evaluation of the THE subquery results in a single non-null table instance. If the error occurs in the context of an insert statement where the THE subquery was the target of an insert, then ensure that an empty nested table instance is created by updating the nested table column of the parent table's row specifying an empty nested table constructor.

ORA-22909: exceeded maximum VARRAY limit

Cause: The total number of elements used in VARRAY construction exceeds the specified VARRAY limit.

Action: Don't use the more than the specified limit of elements for VARRAY construction.

ORA-22910: cannot specify schema name for nested tables

Cause: Table name was qualified with schema name in the nested table storage clause.

Action: Respecify the nested table storage clause without the schema name qualification. By default, the store table for the nested table is created in the same schema as the containing table.

ORA-22911: duplicate storage specification for the nested table item

Cause: The storage clause is specified more than once for the nested table column.

Action: Remove the duplicate storage specification.

ORA-22912: specified column or attribute is not a nested table type

Cause: The storage clause is specified for a column or attribute that is not a nested table column or attribute.

Action: Specify a valid nested table column or attribute.

ORA-22913: must specify table name for nested table column or attribute

Cause: The storage clause is not specified for a column or attribute that is a nested table column or attribute.

Action: Specify a table name using the Nested Table storage clause.

ORA-22914: DROP of nested tables not supported

Cause: Attempt was made to DROP a nested table.

Action: Nested tables cannot be explicitly dropped. Nested tables can only be dropped by dropping their containing parent table.

ORA-22915: cannot ALTER nested tables to ADD/MODIFY columns

Cause: Attempt was made to ADD or MODIFY columns of a nested table.

Action: Columns cannot be added or modified for a nested table. You must ALTER the parent table's nested table column to cause any such change.

ORA-22916: cannot do an exact FETCH on a query with nested cursors

Cause: Exact FETCH on a query is not allowed if the query returns any cursors.

Action: Do not use an exact FETCH.

ORA-22920: row containing the LOB data to update is not locked

Cause: The row containing the LOB was not locked before the lob was updated.

Action: Lock the row containing the LOB before updating the LOB data.

ORA-22921: length of input buffer is smaller than amount requested

Cause: The buffer length was not big enough to hold the amount of data requested.

Action: Verify that the number of bytes/characters specified in the input amount parameter is not bigger than the number of bytes specified in the input buffer length parameter. Allocate more space for the input buffer if necessary.

ORA-22922: LOB does not exist

Cause: The lob associated with the input locator does not exist. The information in the locator does not refer to an existing LOB.

Action: Repopulate the locator by issuing a SELECT statement and retry the operation.

ORA-22923: amount of data specified in streaming lob write is 0

Cause: An attempt was made to write LOB data by the streaming mechanism (that is, unlimited write) but the input amount of data to stream was specified as 0. This means that an attempt is being made to write 0 bytes to the LOB data.

Action: Write more than 0 bytes to the LOB data.

ORA-22924: snapshot too old

Cause: The version of the LOB data needed for the consistent read was already overwritten by another writer.

Action: Use a larger version pool then retry the operation.

ORA-22925: operation would exceed maximum size allowed for a LOB

Cause: An attempt was made to write too much data to the LOB. LOB size is limited to 4 gigabytes.

Action: Either start writing at a smaller LOB offset or write less data to the LOB.

ORA-22926: input trim length is greater than current LOB length

Cause: The input trim length to which the LOB data will be trimmed was specified to be greater than the current length of the LOB data.

Action: Might not need to trim the LOB data because it is already smaller than the trim length specified. Or, if trimming the LOB data really is required, use a smaller trim length.

ORA-22927: invalid input LOB locator

Cause: An invalid input LOB locator was used; it was never initialized.

Action: Initialize the input LOB locator and pass the initialized LOB locator to the function.

ORA-22928: invalid privilege on directories

Cause: An attempt was made to grant or revoke an invalid privilege on a directory.

Action: Only CREATE, DELETE, READ and WRITE privileges can be granted or revoked on directories. Do not grant or revoke other privileges.

ORA-22929: invalid or missing directory name

Cause: The required directory name is invalid or missing.

Action: Specify a valid name.

ORA-22930: directory does not exist

Cause: Attempt to access a directory that does not exist.

Action: Make sure the name is correct.

ORA-22950: cannot order objects with without map or order method

Cause: Object types must have map or order methods defined for all comparisons other than equality and inequality comparisons.

Action: Define a map or order method for the object type.

ORA-22951: NULL returned by ORDER method

Cause: Order method used to compare two object values returned NULL.

Action: Redefine the order method to not return a NULL.

ORA-22970: object view is required here

Cause: Either the expression that was entered is not a view name or the name specified does not correspond to an object view.

Action: Replace the expression with the name of an object view and retry the operation.

ORA-22971: invalid datatype for primary key-based OID

Cause: When creating a typed view, the datatype of an expression in the WITH OID clause was not allowed for primary key-based OID.

Action: Replace the expression with one of appropriate scalar datatype and retry the operation.

ORA-22972: NULL value not allowed in primary key-based OID

Cause: A value constituting the primary key-based OID evaluated to NULL.

Action: Ensure the expressions in MAKE_REF system function or WITH OID clause of CREATE VIEW do not evaluate to NULL.

ORA-22973: size of primary key-based OID exceeds maximum column size

Cause: The size of the primary key-based OID of a typed view was too large.

Action: Specify fewer or smaller primary key columns in the WITH OID clause when creating the typed view.

ORA-22974: WITH OID clause required but not specified

Cause: WITH OID clause was not specified when creating a typed view.

Action: Specify the WITH OID clause, or create an untyped view instead, or create a typed view on a single typed table or view.

ORA-22975: cannot create a primary key-based REF to this object view

Cause: The object view specified in the MAKE_REF function did not have a primary key-based OID. A primary key-based REF cannot be created for such a view.

Action: Specify an object view that has a primary key-based OID in the MAKE_REF function.

ORA-22976: incorrect number of arguments to MAKE_REF

Cause: Number of arguments for MAKE_REF was different from the number of primary key attributes of the object view.

Action: Specify all the necessary arguments for MAKE_REF.

ORA-22977: missing or invalid attribute

Cause: Either the attribute name is missing in the WITH OBJECT OID clause or it is invalid.

Action: Specify a valid attribute of the object type of the object view.

ORA-22978: only simple attribute name is allowed in the WITH OBJECT OID clause

Cause: Attempted to specify a Nested attribute in the WITH OBJECT OID clause.

Action: Specify a top-level attribute of the object type of the object view.

ORA-22979: cannot INSERT a REF from an object view into a table

Cause: Attempt to insert a REF selected from an object view into the REF column of a table. Currently, such a REF cannot be stored in the database.

Action: Make sure the REF to be inserted into a REF column is selected from a table.

ORA-22990: LOB locators cannot span transactions

Cause: A LOB locator selected in one transaction cannot be used in a different transaction.

Action: Re-select the LOB locator and retry the operation.

ORA-22991: insufficient space allocated for argument name

Cause: The data to be returned in the argument is greater than the amount of space allocated for the argument.

Action: Allocate more space for the argument.

ORA-22992: cannot use LOB locators selected from remote tables

Cause: A remote LOB column cannot be referenced.

Action: Remove references to LOBs in remote tables.

ORA-22993: specified input amount is greater than actual source amount

Cause: Case 1: For LOB write, the amount of data received is different from the amount that was indicated would be sent.

Action: For Case 1: This will happen when using OCI's piecewise mechanism with polling or with a callback function. Modify the code either to send the amount specified or to pass 0 as the input amount so that any amount of data can be sent.

23300-24299: DBMS PL/SQL Package Messages

This section lists messages generated by the DBMS_SYS_ERROR package.

ORA-23300: application_specific_message

Cause: The stored procedure RAISE_SYSTEM_ERROR was called to generate this message.

Action: Correct the problem described in the message or contact the application programmer or database administrator for more information.

ORA-23301: mixed use of deferred RPC destination modes

Cause: Replication catalog determined deferred remote procedure call destinations were mixed with destination determined by other mechanisms in the same transaction.

Action: Do not mix destination types in the same transaction.

ORA-23302: application raised communication failure during deferred RPC

Cause: An application declared a communication failure during a deferred remote procedure call.

Action: Retry the application when communication is restored.

ORA-23303: application raised generic exception during deferred RPC

Cause: An application declared a generic failure during a deferred remote procedure call.

Action: Dependent on application.

ORA-23304: malformed deferred RPC at arg name of name in call name, in tid name

Cause: A deferred remote procedure call was issued without the correct number of arguments as determined by the count parameter DBMS_DEFER.CALL.

Action: Ensure the number of arguments matches the count.

ORA-23305: internal deferred RPC error: str

Cause: An internal error occurred in the deferred remote procedure call.

Action: Contact customer support.

ORA-23306: schema "name" does not exist

Cause: The schema name was null or misspelled, or the schema does not exist locally.

Action: Specify the schema correctly, or create it with CREATE USER.




Prev

Next
Oracle
Copyright © 1997 Oracle Corporation.
All Rights Reserved.

Library

Product

Contents