Consultor Eletrônico



Kbase P134082: ABL client crashes while compiling a class with CAN-FIND in a static method
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/02/2009
Status: Verified

SYMPTOM(s):

ABL client crashes while compiling a class with CAN-FIND in a static method

CAN-FIND statement refers to a database table or non-static temp-table

CLASS StaticBug:

CONSTRUCTOR StaticBug():
END CONSTRUCTOR.

METHOD PUBLIC STATIC VOID testStatic():
MESSAGE
CAN-FIND( FIRST ttt).
/* ttt is a database table in this example */
END METHOD.

END CLASS.

Commenting out the CAN-FIND statement prevents the crash

FACT(s) (Environment):

Syntax check should result in error 14422
Static methods, property accessors, and constructors may only reference static members of the class. '<Arg1>' is an instance member. (14422)
Affects both PROWIN32.EXE and _PROGRES.EXE
OpenEdge 10.1C
All Supported Operating Systems

CAUSE:

Bug# OE00172981

FIX:

Upgrade to OpenEdge 10.1C03 or later release
Upgrade to OpenEdge 10.2A or later release