[GemStone-Smalltalk] Constraint violation on RcQueueElement

Normand Mongeau nmongeau at theobjects.com
Tue Mar 4 11:07:28 PST 2014


Thanks that was very helpful.

 

 

 

From: Reno, John [mailto:John.Reno at fpl.com] 
Sent: mardi, 4 mars 2014 13:42
To: Normand Mongeau
Subject: RE: [GemStone-Smalltalk] Constraint violation on RcQueueElement

 

I ran into the same problem, timeGmt95 has overflowed from Smallinteger to
Large.

 

The fix is to add a new method, System timeGmt2005 which returns timeGmt95 -
315619200. Then find all references to timeGmt95 in Rc* and change to
timeGmt2005. If the queues are not empty you will process the contents out
of order until the queue has been emptied.

 

This will be the least disruptive if you ever upgrade.

 

Thanks,

 

jlr

 

From: gemstone-smalltalk-bounces at lists.gemtalksystems.com
[mailto:gemstone-smalltalk-bounces at lists.gemtalksystems.com] On Behalf Of
Normand Mongeau
Sent: Tuesday, March 04, 2014 12:41 PM
To: gemstone-smalltalk at lists.gemtalksystems.com
Subject: [GemStone-Smalltalk] Constraint violation on RcQueueElement

 

Another hurdle : GbsObjErrContraintViolation - Attempt to store 605031930 of
class LargePositiveInteger into an instance variable of aRcQueueElement
constrained to be a SmallInteger

 

Is there an official workaround for this issue? 

 

It's an older GS/S version 6.1.2 system.

 

Thanks,

 

Normand

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20140304/b38d79d9/attachment.html>


More information about the GemStone-Smalltalk mailing list