Oracle interMedia Audio, Image, and Video User's Guide and Reference
Release 8.1.7

Part Number A85336-01

Library

Product

Contents

Index

Go to previous page Go to next page

H
Exceptions and Error Messages

H.1 Exceptions

The following sections describe the exceptions and error messages of interMedia objects.

H.1.1 ORDAudioExceptions Exceptions

The following exceptions are associated with the ORDAudio object:

LOCAL_DATA_SOURCE_REQUIRED

Cause: This exception is raised if the data source is external.

Action: Set the source information to a local source.

DESCRIPTION_IS_NOT_SET

Cause: This exception is raised when calling the getDescription function and the description attribute is not set.

Action: Set the description attribute.

INVALID_DESCRIPTION

Cause: This exception is raised when you call the setDescription( ) method with a value that is not valid.

Action: Set the value of the user_description parameter to an acceptable value.

INVALID_MIME_TYPE

Cause: This exception is raised if the MIME parameter value of the setMimeType procedure is NULL.

Action: Set the MIME parameter value to a known value.

AUDIO_FORMAT_IS_NULL

Cause: This exception is raised when calling the getFormat function and the format is NULL.

Action: Set the format for the audio object to a known format.

AUDIO_ENCODING_IS_NULL

Cause: This exception is raised when calling the getEncoding function and the encoding is NULL.

Action: Set the encoding for the audio object to a known value.

AUDIO_NUM_CHANNELS_IS_NULL

Cause: This exception is raised when calling the getNumberOf Channels function and the number of channels is NULL.

Action: Set the number of channels for the audio object to a known value.

AUDIO_SAMPLING_RATE_IS_NULL

Cause: This exception is raised when calling the getSamplingRate function and the sampling rate is NULL.

Action: Set the sampling rate for the audio object to a known value.

AUDIO_SAMPLE_SIZE_IS_NULL

Cause: This exception is raised when calling the getSampleSize function and the sample size is NULL.

Action: Set the sample size for the audio object to a known value.

AUDIO_DURATION_IS_NULL

Cause: This exception is raised when calling the getAudioDuration function and the duration is NULL.

Action: Set the duration for the audio object to a known value.

NULL_INPUT_VALUE

Cause: This exception is raised if the knownFormat parameter value of the setFormat procedure is NULL.

Action: Set these parameters with known values.

METHOD_NOT_SUPPORTED

Cause: This exception is raised when the method called is not supported.

Action: Call a supported method.

AUDIO_PLUGIN_EXCEPTION

Cause: This exception is raised when the audio plug-in raises an exception.

Action: Refer to Section 4.4.1 for more information.

H.1.2 ORDImageExceptions Exceptions

The following exceptions are associated with the ORDImage object:

NULL_LOCAL_DATA

Cause: This exception is raised when source.localData is NULL.

Action: Initialize source.localData with an empty_blob( ).

NULL_PROPERTIES_DESCRIPTION

Cause: This exception is raised when the description parameter to setProperties is not set.

Action: Set the description attribute if you are using a foreign image. Otherwise, do not pass the description parameter.

NULL_DESTINATION

Cause: This exception is raised when the destination image is NULL.

Action: Pass an initialized destination image.

DATA_NOT_LOCAL

Cause: This exception is raised when the source information is not set to local.

Action: Reset the source attribute information to a local image source. Call the import( ) or importFrom( ) method to import the data into the local BLOB.

NULL_CONTENT

Cause: This exception is raised when the content attribute of an ORDImgB or ORDImgF image is NULL.

Action: Initialize the content attribute.

NULL_SOURCE

Cause: This exception is raised when the source image is NULL.

Action: Pass an initialized source image.

H.1.3 ORDVideoExceptions Exceptions

The following exceptions are associated with the ORDVideo object:

LOCAL_DATA_SOURCE_REQUIRED

Cause: This exception is raised if the data source is external.

Action: Set the source information to a local source.

DESCRIPTION_IS_NOT_SET

Cause: This exception is raised when calling the getDescription function and the description attribute is not set.

Action: Set the description attribute.

INVALID_MIME_TYPE

Cause: This exception is raised if the MIME parameter value of the setMimeType procedure is NULL.

Action: Set the MIME parameter value to a known value.

VIDEO_FORMAT_IS_NULL

Cause: This exception is raised when calling the getFormat function and the format is NULL.

Action: Set the format for the video object to a known format.

NULL_INPUT_VALUE

Cause: This exception is raised if either the knownWidth or knownHeight parameter values of the setFrameSize procedure is NULL.

Action: Set these parameters with known values.

METHOD_NOT_SUPPORTED

Cause: This exception is raised when the method called is not supported.

Action: Call a supported method.

VIDEO_PLUGIN_EXCEPTION

Cause: This exception is raised when the video plug-in raises an exception.

Action: Refer to Section 6.4.1 for more information.

H.1.4 ORDSourceExceptions Exceptions

The following exceptions are associated with the ORDSource object:

INCOMPLETE_SOURCE_INFORMATION

Cause: This exception is raised when the source information is incomplete or srcType is NULL and data is not stored locally in the BLOB.

Action: Check your source information and set srcType, srcLocation, or srcName attributes as needed.

INCOMPLETE_SOURCE_LOCATION

Cause: This exception is raised when the value of srcLocation is NULL.

Action: Check your source location and set the srcLocation attribute.

INCOMPLETE_SOURCE_NAME

Cause: This exception is raised when the value of srcName is NULL.

Action: Check your source name and set the srcName attribute.

EMPTY_SOURCE

Cause: This exception is raised when the source is local but the source is NULL.

Action: Pass an initialized source.

NULL_SOURCE

Cause: This exception is raised when the local source is NULL.

Action: Pass an initialized source.

INVALID_SOURCE_TYPE

Cause: This exception is raised when the getBFile method detects a source type other than 'FILE'.

Action: Ensure that the source type is 'FILE'.

METHOD_NOT_SUPPORTED

Cause: This exception is raised when the method called is not supported.

Action: Call a supported method.

SOURCE_PLUGIN_EXCEPTION

Cause: This exception is raised when the source plug-in raises an exception.

Action: Refer to Section 7.3.1, Section 7.3.2, and Section 7.3.3 for more information.

H.2 ORDAudio Error Messages

AUD-00702 unable to initialize audio processing environment

Cause: The initalization of the audio processing external procedure failed.

Action: See the database administrator to make sure that enough memory has been allocated to JServer. If JServer does have enough memory, contact Oracle Customer Support Services.

AUD-00703 unable to read audio data

Cause: An error occurred while accessing the audio source.

Action: Make sure the audio source is valid. For external sources, make sure all access priviliges are granted.

AUD-00704 invalid input format

Cause: The audio data in the source was not in the format specified by the format field of the audio object. In some unusual case, the audio data is actually corrupted.

Action: Provide a correct value in the format field. If the correct value is unknown, put NULL in the format field to invoke the DEFAULT format plug-in.

AUD-00705 unsupported input format

Cause: The file format of the audio data was not supported. This error can only occur in the DEFAULT format plug-in package.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for supported formats.

AUD-00706 unsupported or corrupted input format

Cause: The audio data was either corrupted or the file format was not supported.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for supported formats. If the audio data is not corrupted and is in a supported file format, contact Oracle Customer Support Services.

AUD-00713 internal error while parsing audio data

Cause: An internal error occurred during parsing.

Action: Contact Oracle Customer Support Services.

AUD-00714 internal error

Cause: An internal error occurred.

Action: Contact Oracle Customer Support Services.

H.3 ORDImage Error Messages

IMG-00001, "unable to initialize Oracle8i interMedia environment"

Cause: The image processing external procedure initialization process failed.

Action: Contact Oracle Customer Support Services.

IMG-00502, "invalid scale value"

Cause: An invalid scale value was found while parsing the parameters for the image process function.

Action: Correct the statement by using a valid scale value. Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference documentation for a description of the correct usage and syntax for the image processing command string.

IMG-00505, "missing value in CUT rectangle"

Cause: An incorrect number of values was used to specify a rectangle.

Action: Use exactly four integer values for the lower left and upper right vertices.

IMG-00506, "extra value in CUT rectangle"

Cause: An incorrect number of values were used to specify a rectangle.

Action: Use exactly four integer values for the lower left and upper right vertices.

IMG-00510, application-specific-message

Cause: A syntax error was found while parsing the parameters for the image process function.

Action: Correct the statement by using valid parameter values. Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference documentation for a description of the correct usage and syntax for the image processing command string.

IMG-00511, application-specific-message

Cause: An error was found while accessing image data.

Action: Contact Oracle Customer Support Services.

IMG-00512, "multiple incompatible scaling parameters found"

Cause: Multiple incompatible scaling parameters were found in the image process command string. With the exception of XSCALE and YSCALE which can be used together in a process command string, scaling functions are mutually exclusive and cannot be combined.

Action: Remove scaling functions until only one remains (or two if they are XSCALE and YSCALE).

IMG-00513, "missing value in scaling operation"

Cause: An incorrect number of values was used to specify image dimensions. fixedScale and maxScale require exactly two integer values for the X and Y dimensions of the desired image.

Action: Use two values for fixedScale and maxScale.

IMG-00514, "extra value in scaling operation"

Cause: An incorrect number of values was used to specify image dimensions. fixedScale and maxScale require exactly two integer values for the X and Y dimensions of the desired image.

Action: Use two values for fixedScale and maxScale.

IMG-00515, "incorrect number of input channels"

Cause: An incorrect number of values was used to specify input channels. InputChannels requires either one or three channel numbers for the gray or red, green, and blue channel assignments.

Action: Use either one or three values to specify the input channels.

IMG-00516, "default channel out of range"

Cause: An incorrect value was used to specify the default channel selection.

Action: Use a channel number that is less than or equal to the number of bands and greater than zero.

IMG-00517, "height or width not present in parameter string"

Cause: Height and/or width were not specified in the setProperties parameter string.

Action: Specify both the height and width.

IMG-00518, "invalid value for height or width"

Cause: Height and width must be positive integers.

Action: Specify both the height and width as positive integers.

IMG-00519, "illegal combination of parameters"

Cause: Other than height, width, dataOffset, and userString, no other parameters may be specified in the setProperties parameter string when CCITTG3 or CCITTG4 is used as the compressionFormat.

Action: Supply only the height and width when compressionFormat is either CCITTG3 or CCITTG4. The dataOffset and userString may optionally be supplied as well.

IMG-00520, "invalid value for numberOfBands"

Cause: NumberOfBands must be a positive integer.

Action: Specify numberOfBands as a positive integer.

IMG-00521, "invalid value for dataOffset"

Cause: dataOffset must be a positive integer.

Action: Specify dataOffset as a positive integer.

IMG-00530, "internal error while parsing command"

Cause: An internal error occurred while parsing the command passed to the image processing function or the foreign image setProperties function.

Action: Check the command passed to the function. Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for a description of the correct usage and syntax for the image processing command string or the foreign image setProperties function. If you are certain that your command is correct, then contact Oracle Customer Support Services.

IMG-00531, "empty or null image processing command"

Cause: An empty or null image processing command was passed to the image process function.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for a description of the correct usage and syntax for the image processing command string.

IMG-00599, "internal error"

Cause: An internal error has occurred.

Action: Contact Oracle Customer Support Services.

IMG-00601, "out of memory while copying image"

Cause: Operating system process memory has been exhausted while copying the image.

Action: See the database administrator or operating system administrator to increase process memory quota.

IMG-00602, "unable to access image data"

Cause: An error occurred while reading or writing image data.

Action: Contact your system administrator.

IMG-00603, "unable to access source image data"

Cause: The source image SOURCE attribute is invalid.

Action: Ensure that the SOURCE attribute of the source image is populated with image data.

IMG-00604, "unable to access destination image data"

Cause: The destination image SOURCE attribute is invalid.

Action: Ensure that the SOURCE attribute of the destination image is populated with image data.

IMG-00606, "unable to access image data"

Cause: An attempt was made to access an invalid image.

Action: Ensure that the SOURCE attribute of the image is populated with image data.

IMG-00607, "unable to write to destination image"

Cause: The destination image SOURCE attribute is invalid.

Action: Ensure that the SOURCE attribute of the destination image is initialized correctly and that you have sufficient tablespace.

IMG-00609, "unable to read image stored in a BFILE"

Cause: The image stored in a BFILE cannot be opened for reading.

Action: Ensure that the access privileges of the image file and the image file's directory allow read access.

IMG-00701, "unable to set the properties of an empty image"

Cause: There is no data in the image object.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for information on how to populate image data into the image object.

IMG-00702, "unable to initialize image processing environment"

Cause: The image processing external procedure initialization process failed.

Action: Contact Oracle Customer Support Services.

IMG-00703, "unable to read image data"

Cause: There is no image data in the image object.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for information on how to populate image data into the image object.

IMG-00704, "unable to read image data"

Cause: There is no image data in the image object.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for information on how to populate image data into the image object.

IMG-00705, "unsupported or corrupted input format"

Cause: This is an internal error.

Action: Contact Oracle Customer Support Services.

IMG-00706, "unsupported or corrupted output format"

Cause: This is an internal error.

Action: Contact Oracle Customer Support Services.

IMG-00707, "unable to access image data"

Cause: An error occurred while reading or writing image data.

Action: Contact your system administrator.

IMG-00710, "unable write to destination image"

Cause: The destination image is invalid.

Action: Ensure that the SOURCE attribute of the destination image is initialized and that you have sufficient tablespace.

IMG-00711, "unable to set properties of destination image"

Cause: This is an internal error.

Action: Contact Oracle Customer Support Services.

IMG-00712, "unable to write to destination image"

Cause: The destination image is invalid.

Action: Ensure that the SOURCE attribute of the destination image is initialized and that you have sufficient tablespace. Ensure the row containing the destination image has been locked (this does not apply to temporary BLOBs).

IMG-00713, "unsupported destination image format"

Cause: A request was made to convert an image to a format that is not supported.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for supported formats.

IMG-00714, "internal error"

Cause: This is an internal error.

Action: Contact Oracle Customer Support Services.

IMG-00715, "Unable to open image stored in a BFILE"

Cause: The image stored in a BFILE could not be opened for reading.

Action: Ensure that the access privileges of the image file and the image file's directory allow read access.

IMG-00716, "source image format does not support process options"

Cause: A request was made to apply a processing option not supported by the source image format.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for a discussion of supported processing options.

IMG-00717, "destination image format does not support process options"

Cause: A request was made to apply a processing option not supported by the destination image format.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for a discussion of supported processing options.

IMG-00718, "the same Temporary LOB cannot be used as both source and destination"

Cause: A call was made to processCopy with the same Temporary LOB being specified as both the source and destination.

Action: Specify a different LOB for parameter "dest".

H.4 ORDVideo Error Messages

VID-00702 unable to initialize video processing environment

Cause: The initialization of the video processing procedure failed.

Action: See the database administrator to make sure that enough memory has been allocated to JServer. If JServer does have enough memory, contact Oracle Customer Support Services.

VID-00703 unable to read video data

Cause: An error occurred while accessing the video source.

Action: Make sure the video source is valid. For external sources, make sure all access priviliges are granted.

VID-00704 invalid input format

Cause: The video data in the source was not in the format specified by the format field of the video object. In some unusual case, the video data is actually corrupted.

Action: Provide a correct value in the format field. If the correct value is unknown, put NULL in the format field to invoke the DEFAULT format plug-in.

VID-00705 unsupported input format

Cause: The file format of the video data was not supported. This error can only occur in the DEFAULT format plug-in package.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for supported formats.

VID-00706 unsupported or corrupted input format

Cause: The video data was either corrupted or the file format was not supported.

Action: Refer to Oracle interMedia Audio, Image, and Video User's Guide and Reference for supported formats. If the video data is not corrupted and is in a supported file format, contact Oracle Customer Support Services.

VID-00713 internal error while parsing video data

Cause: An internal error occurred during parsing.

Action: Contact Oracle Customer Support Services.

VID-00714 internal error

Cause: An internal error occurred.

Action: Contact Oracle Customer Support Services.


Go to previous page Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index