question

Upvotes
Accepted
1 0 0 4

WARNING: XSW com.reuters.rfa.omm.OMMException

We encountered this exception from RFA library, and no more dispatchToClient be called after that. What could be the cause to this?

WARNING: XSW com.reuters.rfa.omm.OMMException: com.reuters.io.OutOfBoundsException: Position 196 is greater than maximum position 145 at com.reuters.rfa.internal.rwf.RwfTypedBuffer.decode(Unknown Source) at com.reuters.rfa.internal.rwf.RwfMsgParsed.getPayload(Unknown Source) at

<our decoder stack.. which call OMMM getPayload()>

com.reuters.rfa.internal.common.ResponseMessage.dispatchToClient(Unknown Source) at com.reuters.rfa.internal.common.ResponseMessage.dispatch(Unknown Source) at com.reuters.rfa.internal.common.EventQueueImpl.localDispatch(Unknown Source) at com.reuters.rfa.internal.common.EventQueueImpl.dispatch(Unknown Source) at com.cnx.feed.reuters.RDM$ReutersDispatcher.run(RDM.java:961) Caused by: com.reuters.io.OutOfBoundsException: Position 196 is greater than maximum position 145 at com.reuters.io.ArrayReader.position(Unknown Source) at com.reuters.io.DataArrayReader.position(Unknown Source) at com.reuters.rfa.internal.rwf.RwfDecoder.decodeFieldList(Unknown Source) at com.reuters.rfa.internal.rwf.RwfDecoder.decode(Unknown Source) ... 11 more

treprfarfa-api
icon clock
10 |1500

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

Upvote
Accepted
20.3k 73 10 20

Hi @karshiang

Looking at the stack trace and the error message, this could be because you are using old Data dictionary files. New FIDs or new enumerated values could have been added to the dictionary files being used by the feed you are consuming from - but if those items are not present in the data dictionary files you are using then the API cannot parse those fields.

If you are loading RDMFieldDictionary and enumtype.def locally then these could be out of date. If you are downloading from the ADS server, then it could be that your Market Data team has not updated the files on the TREP servers.

TREP Template Service Pack 4.19.6 is the latest Data Dictionary package. You can download the latest data Dictionary files as described in this post.

If you check your data dictionaries and they are up to date - then the exception would require further offline investigation. Please raise a Premium Support ticket (if the link does not work please speak to your Refinitiv Account manager or your Market Data team to confirm if you have RDC membership).

icon clock
10 |1500

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

Thanks for your advice, I am also suspecting if dictionary is outdated from the server we downloaded from. We will check with the data team.

Upvote
11.5k 16 7 10

Hello @karshiang

What is the version of the RFA Java API that encounters the problem? If the version is below 8.1.0 and you can replicate issue in non-production environment, I suggest you test the issue with version 8.1.0 E2 which is the latest version.

If you still encounter the problem with the latest version of API and Data dictionary, please

Please raise a Premium Support ticket as my colleague suggest above.

icon clock
10 |1500

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

we were using RFA 8.1, and tries the RFA 7.6.1.E2 (2019). both are giving various exception from library. We will check if dictionary is out dated. Our code will download from server automatically daily, will check with market data team as well!

Click below to post an Idea Post Idea