Consultor Eletrônico



Kbase 33072: Errors 3137, 3135 and 3140 with COMMIT and ROLLBACK within AppServer application
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P3072

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Progress AppServer

Attempt to dereference a stale widget handle. (3137)

Invalid widget-handle. Not initialized or points to a deleted widget. (3135)

Cannot access the <attribute name> attribute because the widget does not exist. (3140)

Cannot access the SET-COMMIT attribute because the widget does not exist. (3140)

Cannot access the ROLLBACK attribute because the widget does not exist. (3140)

CAUSE:

You have likely added code that is deleting the Transaction handle, as in:

IF VALID-HANDLE(hTrans) THEN
DELETE OBJECT hTrans

FIX:

The transaction handle belongs to the procedure itself and the value of this attribute remains the same for the DURATION OF A PROGRESS SESSION. Thus, you do not have to delete the transaction handle.

Remove the DELETE OBJECT statement and the errors will not occur.