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
Best Answer
-
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).
0
Answers
-
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.
0 -
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!
0 -
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.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛