Kbase P3254: Escape clause beginning with --*( or { was not properly ended with *)-- or}:
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/01/2005 |
|
Solution ID: P3254
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
Progress 9.1B
Progress 9.1C
Progress 9.1D
SYMPTOM(s):
Compiling Java Stored Procedure or Java Trigger fails
The try catch block contains more than 10 lines of code
Error Escape clause beginning with --*( or { was not properly ended with *)-- or}:
Example: the following code returns the error when compiling:
CREATE TRIGGER PF_AUTONUMBER
AFTER UPDATE ON pub.OCTOBJECTSINDEXES
REFERENCING OLDROW, NEWROW
FOR EACH ROW
IMPORT
import java.sql.*;
BEGIN
try
{
String test1;
String test2;
String test3;
String test4;
String test5;
String test6;
String test7;
String test8;
String test9;
String test10;
String test11;
} catch (Exception e){}
END;
CAUSE:
This is a known issue for try catch blocks that contain more than 10 lines.
CAUSE:
Bug# 20020607-005
FIX:
The fix of this issue is included in the 91D Service Pack 05 (91D05)
Without 9.1D05, the workaround would be to have less than 10 lines between the Block Try and Catch