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
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).
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.