Consultor Eletrônico



Kbase P124156: Batch-mode WAIT-FOR event of THIS-PROCEDURE fails
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/6/2011
Status: Verified

SYMPTOM(s):

Client is running in batch-mode (-b parameter used) or is an AppServer agent

Code contains WAIT-FOR event OF THIS-PROCEDURE

Event is CLOSE or a U1 ... U10 Developer event

None of the widgets used in the WAIT-FOR statement are in a state (such as SENSITIVE) such that the specified event can occur. WAIT-FOR terminated. (4123)

Run-time error in WAIT-FOR at line <line-no> (relative to expanded source) of <procedure>. (3269)

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1A
OpenEdge 10.1B

CAUSE:

Bug# OE00151650

CAUSE:

The underlying C code checks if there is no event that can happen to satisfy a developer event or close of procedure and generates the error indicated in such cases.
The product was changed NOT to check for that situation IF the user specified PAUSE in the wait-for statement. When PAUSE is >= 0, it is not an infinite wait case, and we know we will not get stuck waiting for an event that will never be satisfied.

FIX:

Upgrade to OpenEdge 10.1C or later release