Consultor Eletrônico



Kbase P129413: Error 279 displaying longchar in editor widget
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/10/2010
Status: Unverified

SYMPTOM(s):

Loading a file larger than 32K in a LONGCHAR variable and displaying in an editor widget.

SYSTEM ERROR: stkpush: stack overflow. Increase the -s parameter. (279)

This occurs running the following example:

DEFINE VARIABLE lcLc AS LONGCHAR NO-UNDO .
COPY-LOB FROM FILE SEARCH("adm2/smart.p") TO OBJECT lcLc.
DISPLAY lclc VIEW-AS EDITOR LARGE SIZE 70 BY 20.

FACT(s) (Environment):

OpenEdge 10.1x

CAUSE:

Bug# OE00166011

FIX:

As a workaround, immediately define the LONGCHAR variable as an EDITOR:

DEFINE VARIABLE lcLc AS LONGCHAR NO-UNDO VIEW-AS EDITOR LARGE SIZE 70 BY 20.

COPY-LOB FROM FILE SEARCH("adm2/smart.p") TO OBJECT lcLc.

DISPLAY lclc.