...lient
We are facing occasional crash in process using RFA API.
and log says:
terminate called after throwing an instance of 'rfa::common::InvalidUsageExceptionImpl'
From https://community.developers.refinitiv.com/questions/25948/unhandled-exception-thomsonreutersrfacommoninvalid.html I understood the way to get extra information regarding the exception.
But I don't understand if I am using API in incorrect manner.
Here's stack trace
#0 0x00002b2458e9c387 in raise () from /lib64/libc.so.6
#1 0x00002b2458e9da78 in abort () from /lib64/libc.so.6
#2 0x00002b24586a6a95 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3 0x0000000000e35420 in ft::mdutils::Log::terminate () at mdutils/src/logging/Log.cpp:186
#4 0x00002b24586a4a06 in ?? () from /lib64/libstdc++.so.6
#5 0x00002b24586a39b9 in ?? () from /lib64/libstdc++.so.6
#6 0x00002b24586a4624 in __gxx_personality_v0 () from /lib64/libstdc++.so.6
#7 0x00002b2458c5f8e3 in ?? () from /lib64/libgcc_s.so.1
#8 0x00002b2458c5fe17 in _Unwind_Resume () from /lib64/libgcc_s.so.1
#9 0x0000000000f0f9f6 in rfa::sessionLayer::OMMConsumerImpl::unregisterClient(rfa::common::Handle*, rfa::sessionLayer::OMMIntSpec const*) ()
We're using ROBUST FOUNDATION API 8.1.
//During unsubscribing for symbol. where m_pHandler is of type rfa::common::Handle*
if(m_pHandler)
{
try {
m_pOMMConsumer->unregisterClient(m_pHandler);
}
catch(...)
{
return false;
}
return true;
}
else
{
return false;
}
Questions :
Is the usage of API correct?
What are the possible scenarios that ommConsumer->unregisterClient(handler) can give InvalidUsageExceptionImpl.?