NonStop Software

General Minor Codes

Previous Topic | Next Topic | Contents | Index
Getting Started Guide | Administration Guide | Reference Guide

General Minor Code Values

500 - MINOR_BAD_ENUM_RANGE
This minor code occurs in the context of a BAD_PARAM system exception. This occurs when the value of an enum to be marshalled is not a legal value for the enumeration.

501 - MINOR_SEQ_CONSTRUCTOR
This minor code occurs in the context of a NO_MEMORY system exception. A sequence constructor failed to obtain memory for the sequence elements.

502 - MINOR_SEQ_COPY_CONSTRUCTOR
This minor code occurs in the context of a NO_MEMORY system exception. A sequence copy constructor failed to obtain memory for the sequence elements.

503 - MINOR_SEQ_BOUND
This minor code occurs in the context of a BAD_PARAM system exception. This minor code is generated when the registered sequence is found to be longer than the declared bound for bounded sequences.

504 - MINOR_SEQ_BUFFER
This minor code occurs in the context of a NO_MEMORY system exception. A sequence length( ) method failed to obtain memory for the sequence elements.

505 - MINOR_SEQ_INDEX
This minor code occurs in the context of a BAD_PARAM system exception. The operator( ) method for a sequence was asked to return an element which does not exist.

506 - MINOR_SEQ_ASSIGNMENT
This minor code occurs in the context of a NO_MEMORY system exception. A sequence assignment operator failed to obtain memory for the sequence elements.

508 - MINOR_SEQ_MARSHAL
This minor code occurs in the context of a MARSHAL system exception. This minor code indicates that during the demarshalling of a sequence, a length greater than the sequence bound was indicated.

This might occur if:


509 - MINOR_SEQ_DEMARSHAL
This minor code occurs in the context of a MARSHAL system exception. This indicates that the system could not allocate the necessary memory needed to hold the demarshalled sequence. Either no memory (heap) is available to the program or the sequence size is incorrect. This may happen if the ORB tries to demarshal a corrupt buffer or one that was marshalled in a way different than expected.

510 - MINOR_STR_SEQ_CONSTRUCTOR
This minor code occurs in the context of a NO_MEMORY system exception. A sequence constructor failed to obtain memory for a sequence of strings.

511 - MINOR_STR_SEQ_INDEX
This minor code occurs in the context of a BAD_PARAM system exception. The operator( ) method was asked to return a sequence of strings which does not exist.

512 - MINOR_STR_SEQ_ASSIGNMENT
This minor code occurs in the context of a NO_MEMORY system exception. A sequence assignment operator failed to obtain memory for the sequence strings.

513 - MINOR_OBJ_SEQ_CONSTRUCTOR
This minor code occurs in the context of a NO_MEMORY system exception. A sequence constructor failed to obtain memory for a sequence of object references.

514 - MINOR_OBJ_SEQ_INDEX
This minor code occurs in the context of a BAD_PARAM system exception. The operator( ) method for a sequence was asked to return a sequence of object references which do not exist.

515 - MINOR_OBJ_SEQ_ASSIGNMENT
This minor code occurs in the context of a NO_MEMORY system exception. A sequence assignment operator failed to obtain memory for a sequence of object references.

516 - MINOR_STR_DUP
This minor code occurs in the context of a NO_MEMORY system exception. A string sequence method failed to duplicate the elements of another string sequence because memory was not obtainable.

517 - MINOR_STR_NULL
This minor code occurs in the context of a BAD_PARAM system exception. The user attempted to marshall a null string pointer. Null string pointers are not allowed: the user should use a valid pointer to a null character ('\0') to denote an empty string.

518 - MINOR_ARRAY_INDEX
This minor code occurs in the context of a BAD_PARAM system exception. This exception is raised in the _forany::operator[] method when an out-of-bounds index is given.

519 - MINOR_GET_ARRAY_NULL_PTR
This minor code occurs in the context of a BAD_PARAM system exception. A null pointer was passed as the out parameter for an array. Such a pointer must be a valid pointer to a contiguous memory block large enough to hold all elements of the array. This situation can occur if memory allocation fails but is not detected.

521 - MINOR_ILLEGAL_DISCRIMINANT
This minor code occurs in the context of a BAD_PARAM system exception. During demarshalling of a union, the union discriminant value was found to be illegal for the union.

522 - MINOR_ILLEGAL_DISCR_SET
This minor code occurs in the context of a BAD_PARAM system exception. This exception is raised in the _d( ) method for a union and indicates that the user tried to set the union discriminant to an illegal value. The requested action is not performed.

523 - MINOR_BAD_STRUCT_VAR
This minor code occurs in the context of a BAD_PARAM system exception. An _var class was asked to marshal itself but the ipVar member was not initialized. The _var must be initialized to a valid struct before marshalling.

524 - MINOR_BAD_UNION_VAR
This minor code occurs in the context of a BAD_PARAM system exception. An _var class was asked to marshal itself but the ipVar member was not initialized. The _var must be initialized to a valid union before marshalling.

525 - MINOR_BAD_SEQ_VAR
This minor code occurs in the context of a BAD_PARAM system exception. An _var class was asked to marshal itself but the ipVar member was not initialized. The _var must be initialized to a valid sequence before marshalling.

526 - MINOR_UNKNOWN_EXCEPTION
This minor code occurs in the context of a MARSHAL system exception. A reply( ) operation returned a user exception that was not expected (it was not listed in the raises clause of the IDL method). The unknown exception cannot be demarshalled because type information for it is not known.

527 - MINOR_BAD_REPLY_STATUS
This minor code occurs in the context of a MARSHAL system exception. The reply status field of a GIOP message was found to be illegal. The message may be corrupted or it might have been improperly formatted.

528 - MINOR_NO_PROXY
This minor code occurs in the context of an INTERNAL system exception. The ORB raises this exception when all proxies for an object have been tried and rejected. An attempt was made to marshal an object reference, however, the reference was not properly initialized in that there was no marshaled proxy information. The object reference was probably not properly obtained.

For example, this exception can occur if the user tries to marshal a reference resulting from a call to CORBA::Object::_factory( ). This usage is not supported and it is not necessary.


Note: Each proxy has a list of profiles. An object has a proxy stack. Proxies are pushed on the stack upon receipt of a GIOP location forward reply. The proxies are popped off the stack when a proxy's profiles are exhausted.



529 - MINOR_DUPLICATE_REQUEST_ID
This minor code occurs in the context of an INTERNAL system exception. While attempting to send a request, the ORB discovered a GIOP Request message header contained a request id that had been previously assigned to an outstanding GIOP Request message. It is possible that the request id was corrupted by the user. Another (highly unlikely) scenario is that the request id value (a long data type) wrapped around (was reissued) during the time period that the preceding request was outstanding.

530 - MINOR_ROOT_NC_NOT_FOUND
This minor code indicates an error in the NonStop DOM configuration database. A call to org.omg.CORBA.ORG.resolve_initial_references( ) cannot successfully open the RootNamingContextIORFile file referred to in the configuration database.

531 - MINOR_INVALID_NAME
This minor code occurs in the context of an INV_OBJREF system exception. An attempt was made to open a _<class>ServantRef.class that could not be either opened or found. Ensure that all IDL-generated classes are referenced in the $CLASSPATH variable.

532 - MINOR_NULL
This minor code occurs in the context of a BAD_PARAM system exception. This happens when input parameters have a NULL input value. Reissue the call after providing valid input for all input parameters.

533 - MINOR_NOT_IOR
This minor code occurs in the context of an INV_OBJREF exception. This indicates that ORB::string_to_object( ) detected an invalid string, one which does not represent a legal IOR.

This can happen, for example, if:


534 - MINOR_NO_IMPLEMENTATION_REPOSITORY
This minor code occurs in the context of a NO_IMPLEMENT system exception. This is returned by CORBA::Object::_get_implementation( ), which indicates that this function is not implemented.


Previous Topic | Next Topic | Contents | Top
Getting Started Guide | Administration Guide | Reference Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.