Hi,

I’m trying to read a key from the Table. The code looks like this (I’ve replaced the key with a static value to show the problem).

CODE
DECLARE $myData STRING;
TRY {
MBC_HIERCHMSGENV.CorrelationRead “myKey” Data $myData;
} CATCH $Exception
WHEN OTHERS {
LOG “Could not find the key, but thats ok. ” TYPE “DEBUG”;
}

I’m using try/catch to handle the error. The code executes fine, but no matter how I handle the exception I get an ERROR in the Trace. As you can see below, the code fails to read the key and my LOG code in the CATCH executes:

CODE
ERROR:20090506 14.05.09.21:procengine(procengine(hierchmsgenv)): XMBCE_HIERCHMSGENV.CORRELATIONREADEX: key not found
DEBUG:20090506 14.05.09.21:procengine(procengine(CorrelationWriteMBC)): C:\Xib\Xib\local\user\anee\Table\CorrelationWriteMBC.s4:268:Could not find the key, but thats ok.

We are monitoring the Trace for Errors and we get this false alarms all the time.

This (bug?) also apply to CorrelationWrite (duplicate key) and CorrelationDelete (key not found).

I’ve tried this code on three different XiB installations (Win32, all patched with latest patches, one of the installations was done by Axway) and they all show the same problem.

Does any of you have the same problem or is it just me doing something wrong here?

Regards,
Andreas

continue reading.....