Consultor Eletrônico



Kbase P122800: Architect crashes with An internal error occurred
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/6/2010
Status: Unverified

SYMPTOM(s):

Architect crashes with An internal error occurred

Include file outside class causes OpenEdge Architect to crash

Defining a class .cls file with a include file that is positioned outside the class definition can cause the Architect session to crash.

Foir example:

{xreftype.i}

class TestProject.spec:
method .......
end method.
END CLASS.

An internal error occurred during: "Compiling spec.cls".

FACT(s) (Environment):

OpenEdge 10.1B

CAUSE:

Bug# OE00147901

FIX:

Progress should not GPF when code is defined in this way, but to place an include file outside a class definition is not valid code. In such situations Architect should raise the error:

In a CLASS, all executable statements must be in methods. (12983)

To avoid the crash place the include file definition within the class definition or within a method.