Bug 45692

GemStone/S 64 Bit

3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8.1, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2, 3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.2, 3.1.0.1, 3.0.1, 2.4.8, 2.4.7, 2.4.6, 2.4.5.1, 2.4.5, 2.4.4.8, 2.4.4.7, 2.3.1.6, 2.2.5.4

All Platforms

3.3

Error message "Primitive number -1 (or -2) does not exist in the virtual machine" confusing

The following error message is incorrect:

   GemStone: Error Nonfatal
   a InternalError occurred (error 2083), Primitive number -1 does not exist in the virtual machine.
   Error Category: [GemStone] Number: 2083 Arg Count: 1
   Arg 1: -1

The negative number (-1 or -2) is *not* the number of the primitive being called but an internal status indicator:

   -1 = primitive does not exist
   -2 = primitive should not be used

The correct message is:

Non-existent primitive called:  status = -1.  This usually indicates a mismatch between the smalltalk image and virtual machine.


One frequent cause of this error would be restoring a backup made on one version of GemStone into a system configured for a different version of GemStone.


Last updated: 9/17/15