In our system we have customized a framework which captures the errors and warnings infolog details of the current user session into a log.
This framework workds fine for other cases, but in the above case there isn't any information about from which form this error is getting triggered and it is not recorded in the callstack too.
Here is how we are capturong the callstack into the table field.
xxxGlobalInfologsErrors.ObjectType = con2Str(xSession::xppCallStack());
Do you guys have any idea to capture the root object details from where the error is getting triggered.