question

Upvotes
Accepted
33 1 2 6

EMA C++ subscriber application receive error "Failed to convert to UTF8"

Hi, Our application is using EMA C++ and sometimes the process crash after receiving refresh/update message. The error message is

[onRefreshMsg: Exception Type='OmmInvalidUsageException', Text='Failed to convert to UTF8 in RmtesBufferImpl::toString(). Reason: RSSL_RET_FAILURE', ErrorCode='-1'(../src/px/pxema/emapriceapp.cxx:169)]


We ran the application in debug mode to identify the FID & associated value but all FIDs seem normal updated. What does this error code mean and is the error due to badly formed update message from the source ?


Thank you.

#technologyc++
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @SMR

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Upvotes
Accepted
79.4k 253 52 74

@SMR

Thank you for reaching out to us.

I assume that this problem may relate to partial updates. Please refer to the How to parse page-based data using Refinitiv Real-time SDK Java article. This concept is also used in C++.

To handle partial updates, please refer to the 310_MP_Rmtes example.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
33 1 2 6

@Jirapongse

Thank you for your response. The application subscribes to record based data (cash equity stocks only), no page data. What is meant by partial updates in relation to stocks?

Regards

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@SMR

Please share RICs and fileds that cause this issue.

If you have the raw data, I can verify if it is a partial update.


Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.