All Intrinsics errors and warnings have class “XtToolkitError”. The following two tables summarize the common errors and warnings that can be generated by the Intrinsics. Additional implementation-dependent messages are permitted. Error Messages
| Name | Type | Default Message |
|---|---|---|
| allocError | calloc | Cannot perform calloc |
| allocError | malloc | Cannot perform malloc |
| allocError | realloc | Cannot perform realloc |
| internalError | xtMakeGeometryRequest | internal error; ShellClassExtension is NULL |
| invalidArgCount | xtGetValues | Argument count > 0 on NULL argument list in XtGetValues |
| invalidArgCount | xtSetValues | Argument count > 0 on NULL argument list in XtSetValues |
| invalidClass | applicationShellInsertChild | ApplicationShell does not accept RectObj children; ignored |
| invalidClass | constraintSetValue | Subclass of Constraint required in CallConstraintSetValues |
| invalidClass | xtAppCreateShell | XtAppCreateShell requires non-NULL widget class |
| invalidClass | xtCreatePopupShell | XtCreatePopupShell requires non-NULL widget class |
| invalidClass | xtCreateWidget | XtCreateWidget requires non-NULL widget class |
| invalidClass | xtPopdown | XtPopdown requires a subclass of shellWidgetClass |
| invalidClass | xtPopup | XtPopup requires a subclass of shellWidgetClass |
| invalidDimension | xtCreateWindow | Widget %s has zero width and/or height |
| invalidDimension | shellRealize | Shell widget %s has zero width and/or height |
| invalidDisplay | xtInitialize | Can't open display: %s |
| invalidGetValues | xtGetValues | NULL ArgVal in XtGetValues |
| invalidExtension | shellClassPartInitialize | widget class %s has invalid ShellClassExtension record |
| invalidExtension | xtMakeGeometryRequest | widget class %s has invalid ShellClassExtension record |
| invalidGeometryManager | xtMakeGeometryRequest | XtMakeGeometryRequest - parent has no geometry manager |
| invalidParameter | xtAddInput | invalid condition passed to XtAddInput |
| invalidParameter | xtAddInput | invalid condition passed to XtAppAddInput |
| invalidParent | xtChangeManagedSet | Attempt to manage a child when parent is not Composite |
| invalidParent | xtChangeManagedSet | Attempt to unmanage a child when parent is not Composite |
| invalidParent | xtCreatePopupShell | XtCreatePopupShell requires non-NULL parent |
| invalidParent | xtCreateWidget | XtCreateWidget requires non-NULL parent |
| invalidParent | xtMakeGeometryRequest | non-shell has no parent in XtMakeGeometryRequest |
| invalidParent | xtMakeGeometryRequest | XtMakeGeometryRequest - parent not composite |
| invalidParent | xtManageChildren | Attempt to manage a child when parent is not Composite |
| invalidParent | xtUnmanageChildren | Attempt to unmanage a child when parent is not Composite |
| invalidProcedure | inheritanceProc | Unresolved inheritance operation |
| invalidProcedure | realizeProc | No realize class procedure defined |
| invalidWindow | eventHandler | Event with wrong window |
| missingWidget | fetchDisplayArg | FetchDisplayArg called without a widget to reference |
| nonWidget | xtCreateWidget | attempt to add non-widget child "%s" to parent "%s" which supports only widgets |
| noPerDisplay | closeDisplay | Couldn't find per display information |
| noPerDisplay | getPerDisplay | Couldn't find per display information |
| noSelectionProperties | freeSelectionProperty | internal error: no selection property context for display |
| noWidgetAncestor | windowedAncestor | Object "%s" does not have windowed ancestor |
| nullDisplay | xtRegisterExtensionSelector | XtRegisterExtensionSelector requires a non-NULL display |
| nullProc | insertChild | "%s" parent has NULL insert_child method |
| r2versionMismatch | widget | Widget class %s must be re-compiled. |
| R3versionMismatch | widget | Widget class %s must be re-compiled. |
| R4orR5versionMismatch | widget | Widget class %s must be re-compiled. |
| rangeError | xtRegisterExtensionSelector | Attempt to register multiple selectors for one extension event type |
| sessionManagement | SmcOpenConnection | Tried to connect to session manager, %s |
| subclassMismatch | xtCheckSubclass | Widget class %s found when subclass of %s expected: %s |
Warning Messages
| Name | Type | Default Message |
|---|---|---|
| ambiguousParent | xtChangeManagedSet | Not all children have same parent |
| ambiguousParent | xtManageChildren | Not all children have same parent in XtManageChildren |
| ambiguousParent | xtUnmanageChildren | Not all children have same parent in XtUnmanageChildren |
| badFormat | xtGetSelectionValue | Selection owner returned type INCR property with format != 32 |
| badGeometry | shellRealize | Shell widget "%s" has an invalid geometry specification: "%s" |
| badValue | cvtStringToPixel | Color name "%s" is not defined |
| communicationError | select | Select failed; error code %s |
| conversionError | string | Cannot convert string "%s" to type %s |
| conversionError | stringToVisual | Cannot find Visual of class %s for display %s |
| conversionFailed | xtConvertVarToArgList | Type conversion failed |
| conversionFailed | xtGetTypedArg | Type conversion (%s to %s) failed for widget '%s' |
| displayError | invalidDisplay | Can't find display structure |
| grabError | xtAddGrab | XtAddGrab requires exclusive grab if spring_loaded is TRUE |
| grabError | xtRemoveGrab | XtRemoveGrab asked to remove a widget not on the list |
| initializationError | xtInitialize | Initializing Resource Lists twice |
| insufficientSpace | xtGetTypedArg | Insufficient space for converted type '%s' in widget '%s' |
| internalError | shell | Shell's window manager interaction is broken |
| invalidAddressMode | computeArgs | Conversion arguments for widget '%s' contain an unsupported address mode |
| invalidArgCount | getResources | argument count > 0 on NULL argument list |
| invalidCallbackList | xtAddCallback | Cannot find callback list in XtAddCallback |
| invalidCallbackList | xtAddCallback | Cannot find callback list in XtAddCallbacks |
| invalidCallbackList | xtCallCallback | Cannot find callback list in XtCallCallbacks |
| invalidCallbackList | xtRemoveAllCallback | Cannot find callback list in XtRemoveAllCallbacks |
| invalidCallbackList | xtRemoveCallback | Cannot find callback list in XtRemoveCallbacks |
| invalidChild | xtChangeManagedSet | Null child passed to UnmanageChildren |
| invalidChild | xtManageChildren | null child passed to ManageChildren |
| invalidChild | xtManageChildren | null child passed to XtManageChildren |
| invalidChild | xtUnmanageChildren | Null child passed to XtUnmanageChildren |
| invalidChild | xtUnmanageChildren | Null child found in argument list to unmanage |
| invalidDepth | setValues | Can't change widget depth |
| invalidExtension | xtCreateWidget | widget "%s" class %s has invalid CompositeClassExtension record |
| invalidExtension | xtCreateWidget | widget class %s has invalid ConstraintClassExtension record |
| invalidGrab | ungrabKeyOrButton | Attempt to remove nonexistent passive grab |
| invalidGrabKind | xtPopup | grab kind argument has invalid value; XtGrabNone assumed |
| invalidParameters | freeTranslations | Freeing XtTranslations requires no extra arguments |
| invalidParameters | mergeTranslations | MergeTM to TranslationTable needs no extra arguments |
| invalidParameters | xtMenuPopdown | XtMenuPopdown called with num_params != 0 or 1 |
| invalidParameters | xtMenuPopupAction | MenuPopup wants exactly one argument |
| invalidParent | xtCopyFromParent | CopyFromParent must have non-NULL parent |
| invalidPopup | xtMenuPopup | Can't find popup widget "%s" in XtMenuPopup |
| invalidPopup | xtMenuPopdown | Can't find popup in widget "%s" in XtMenuPopdown |
| invalidPopup | unsupportedOperation | Pop-up menu creation is only supported on ButtonPress, KeyPress or EnterNotify events. |
| invalidPopup | unsupportedOperation | Pop-up menu creation is only supported on Button, Key or EnterNotify events. |
| invalidProcedure | deleteChild | null delete_child procedure for class %s in XtDestroy |
| invalidProcedure | inputHandler | XtRemoveInput: Input handler not found |
| invalidProcedure | set_values_almost | set_values_almost procedure shouldn't be NULL |
| invalidResourceCount | getResources | resource count > 0 on NULL resource list |
| invalidResourceName | computeArgs | Cannot find resource name %s as argument to conversion |
| invalidShell | xtTranslateCoords | Widget has no shell ancestor |
| invalidSizeOverride | xtDependencies | Representation size %d must match superclass's to override %s |
| missingCharsetList | cvtStringToFontSet | Missing charsets in String to FontSet conversion |
| noActionProc | xtCallActionProc | No action proc named "%s" is registered for widget "%s" |
| noColormap | cvtStringToPixel | Cannot allocate colormap entry for "%s" |
| noFont | cvtStringToFont | Unable to load any usable ISO8859-1 font |
| noFont | cvtStringToFontSet | Unable to load any usable fontset |
| noFont | cvtStringToFontStruct | Unable to load any usable ISO8859-1 font |
| notInConvertSelection | xtGetSelectionRequest | XtGetSelectionRequest or XtGetSelectionParameters called for widget "%s" outside of ConvertSelection proc |
| notRectObj | xtChangeManagedSet | child "%s", class %s is not a RectObj |
| notRectObj | xtManageChildren | child "%s", class %s is not a RectObj |
| nullWidget | xtConvertVarToArgList | XtVaTypedArg conversion needs non-NULL widget handle |
| r3versionMismatch | widget | Shell Widget class %s binary compiled for R3 |
| translationError | nullTable | Can't remove accelerators from NULL table |
| translationError | nullTable | Tried to remove nonexistent accelerators |
| translationError | ambiguousActions | Overriding earlier translation manager actions. |
| translationError | newActions | New actions are:%s |
| translationError | nullTable | table to (un)merge must not be null |
| translationError | nullTable | Can't translate event through NULL table |
| translationError | oldActions | Previous entry was: %s %s |
| translationError | unboundActions | Actions not found: %s |
| translationError | xtTranslateInitialize | Initializing Translation manager twice. |
| translationParseError | missingComma | ... possibly due to missing ',' in event sequence. |
| translationParseError | nonLatin1 | ... probably due to non-Latin1 character in quoted string |
| translationParseError | parseError | translation table syntax error: %s |
| translationParseError | parseString | Missing '"'. |
| translationParseError | showLine | ... found while parsing '%s' |
| typeConversionError | noConverter | No type converter registered for '%s' to '%s' conversion. |
| unknownType | xtConvertVarToArgList | Unable to find type of resource for conversion |
| unknownType | xtGetTypedArg | Unable to find type of resource for conversion |
| versionMismatch | widget | Widget class %s version mismatch (recompilation needed):\\n widget %d vs. intrinsics %d. |
| wrongParameters | cvtIntOrPixelToXColor | Pixel to color conversion needs screen and colormap arguments |
| wrongParameters | cvtIntToBool | Integer to Bool conversion needs no extra arguments |
| wrongParameters | cvtIntToBoolean | Integer to Boolean conversion needs no extra arguments |
| wrongParameters | cvtIntToFloat | Integer to Float conversion needs no extra arguments |
| wrongParameters | cvtIntToFont | Integer to Font conversion needs no extra arguments |
| wrongParameters | cvtIntToPixel | Integer to Pixel conversion needs no extra arguments |
| wrongParameters | cvtIntToPixmap | Integer to Pixmap conversion needs no extra arguments |
| wrongParameters | cvtIntToShort | Integer to Short conversion needs no extra arguments |
| wrongParameters | cvtIntToUnsignedChar | Integer to UnsignedChar conversion needs no extra arguments |
| wrongParameters | cvtStringToAcceleratorTable | String to AcceleratorTable conversion needs no extra arguments |
| wrongParameters | cvtStringToAtom | String to Atom conversion needs Display argument |
| wrongParameters | cvtStringToBool | String to Bool conversion needs no extra arguments |
| wrongParameters | cvtStringToBoolean | String to Boolean conversion needs no extra arguments |
| wrongParameters | cvtStringToCommandArgArray | String to CommandArgArray conversion needs no extra arguments |
| wrongParameters | cvtStringToCursor | String to cursor conversion needs display argument |
| wrongParameters | cvtStringToDimension | String to Dimension conversion needs no extra arguments |
| wrongParameters | cvtStringToDirectoryString | String to DirectoryString conversion needs no extra arguments |
| wrongParameters | cvtStringToDisplay | String to Display conversion needs no extra arguments |
| wrongParameters | cvtStringToFile | String to File conversion needs no extra arguments |
| wrongParameters | cvtStringToFloat | String to Float conversion needs no extra arguments |
| wrongParameters | cvtStringToFont | String to font conversion needs display argument |
| wrongParameters | cvtStringToFontSet | String to FontSet conversion needs display and locale arguments |
| wrongParameters | cvtStringToFontStruct | String to font conversion needs display argument |
| wrongParameters | cvtStringToGravity | String to Gravity conversion needs no extra arguments |
| wrongParameters | cvtStringToInitialState | String to InitialState conversion needs no extra arguments |
| wrongParameters | cvtStringToInt | String to Integer conversion needs no extra arguments |
| wrongParameters | cvtStringToPixel | String to pixel conversion needs screen and colormap arguments |
| wrongParameters | cvtStringToRestartStyle | String to RestartStyle conversion needs no extra arguments |
| wrongParameters | cvtStringToShort | String to Integer conversion needs no extra arguments |
| wrongParameters | cvtStringToTranslationTable | String to TranslationTable conversion needs no extra arguments |
| wrongParameters | cvtStringToUnsignedChar | String to Integer conversion needs no extra arguments |
| wrongParameters | cvtStringToVisual | String to Visual conversion needs screen and depth arguments |
| wrongParameters | cvtXColorToPixel | Color to Pixel conversion needs no extra arguments |
| wrongParameters | freeCursor | Free Cursor requires display argument |
| wrongParameters | freeDirectoryString | Free Directory String requires no extra arguments |
| wrongParameters | freeFile | Free File requires no extra arguments |
| wrongParameters | freeFont | Free Font needs display argument |
| wrongParameters | freeFontSet | FreeFontSet needs display and locale arguments |
| wrongParameters | freeFontStruct | Free FontStruct requires display argument |
| wrongParameters | freePixel | Freeing a pixel requires screen and colormap arguments |