Bug 42492

GemBuilder for Smalltalk/VW

7.5, 7.4.1, 7.4, 7.3.3

All

7.6

Login failures when connectors involve large Integers

If there is a connector that connects objects involving Large Integers
(that is, Integers that are outside the SmallInteger range), then on login,
the connector initialization and therefore login fails, with the error
nil does not understand newFromGSObjectReport:class:.

This may occur if a named connector connects two large integers, or if
the OOP of an class is a large integer, or similar scenarios.

This bug is much more likely to show up when logged into 32-bit GemStone/S,
which has a much smaller SmallInteger range than GemStone/S 64 Bit.

Workaround

A patch fix for this is to edit GbsSession>>postLogin, moving the line:

     integerConverter := (GbxServerVersion current integerConverterClass: self)
new.

from its current position late in the method, and instead make it the second
line in the method, right after the line:

     self isLoggedIn ifFalse: [^self].


Last updated: 9/18/12