Kbase P148145: Runtime error information not available in Progress.Lang.Error object with CAN-FIND in same block
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/06/2009 |
|
Status: Unverified
SYMPTOM(s):
Runtime error information not available in Progress.Lang.Error object with CAN-FIND in same block
Exception not caught after CAN-FIND in same block
Entry <entry#> is outside the range of list <list-string>. (560)
CATCH catches runtime errors but error information is lost
NumMessages returns zero in CATCH block
GetMessage returns blank in CATCH block
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.1C
CAUSE:
Bug# OE00182839
FIX:
Use some alternate method of determining if the record is available, such as FIND followed by IF AVAILABLE:
e.g.
Instead of:
IF CAN-FIND(FIRST tt) ...
Try:
FIND FIRST tt NO-ERROR.
IF AVAILABLE tt ...