Kbase P143431: Error 3135 running singleton example multiple times in one session.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/27/2011 |
|
Status: Unverified
SYMPTOM(s):
The singleton example in the Getting Started: Object-Oriented Programming manual will display error message 3135 when it's run multiple times in the same session.
Invalid handle. Not initialized or points to a deleted object. (3135)
FACT(s) (Environment):
OpenEdge 10.2x
OpenEdge Category: Language (4GL/ABL)
All Supported Operating Systems
CAUSE:
Bug# OE00203237
CAUSE:
The procedure editor will delete all OO objects as part of its cleanup after the procedure runs, which will include deleting the object instance created in the static object.
The static constructor is not executed again within the session however, so a new instance is never created.
FIX:
The documentation will contain the notification of the message when this example is re-run in the same application session.