Invalid size 8 for Time
Our customer develop an RFA application to receive real time via ADS and after moving to last ADS 2.6 version he has this error:
INFO | 2018-05-02 07:36:34,595 |
seda:coll02.marketdata.broadcasterquotes?size=10000&concurrentConsumers=20
thread:108 [Logger] Received: 1400 messages so far. Last group took: 956 millis
which is: 104.603 messages per second. average: 109.349
ERROR | 2018-05-02 07:36:35,084 | Thread
Processor [Logger] Failed delivery for exchangeId:
ID-esix441/39388-1525246581148/0-9569. On delivery attempt: 0 caught:
com.reuters.rfa.omm.OMMException: Invalid size 8 for Time
com.reuters.rfa.omm.OMMException: Invalid size 8
for Time
at
com.reuters.rfa.internal.rwf.RwfDecoder.decodeTime(RwfDecoder.java:2307)
at
com.reuters.rfa.internal.rwf.RwfDecoder.decodeTime(RwfDecoder.java:2355)
at
com.reuters.rfa.internal.rwf.RwfPrimitiveCacheTypedBuffer.decode(RwfPrimitiveCacheTypedBuffer.java:237)
at
com.reuters.rfa.internal.rwf.RwfEntry.getData(RwfEntry.java:62)
at
com.reuters.rfa.internal.rwf.RwfFieldEntry.getData(RwfFieldEntry.java:61)
at
biz.wss.onyx.service.reuters.omm.OMMMessageParser.decodeFieldList(OMMMessageParser.java:146)
at
biz.wss.onyx.service.reuters.omm.OMMMessageParser.decodePayload(OMMMessageParser.java:172)
at
biz.wss.onyx.service.reuters.omm.OMMMessageParser.getMarket_Quote(OMMMessageParser.java:197)
at
biz.wss.onyx.service.reuters.camel.omm.OMMProcessor.process(OMMProcessor.java:84)
at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:86)
at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.proceed(StreamCachingInterceptor.java:90)
at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.process(StreamCachingInterceptor.java:82)
at
org.apache.camel.processor.Pipeline.process(Pipeline.java:115)
at
org.apache.camel.processor.Pipeline.access$200(Pipeline.java:40)
at
org.apache.camel.processor.Pipeline$1.done(Pipeline.java:141)
at
org.apache.camel.processor.ThreadProcessor$ProcessCall.run(ThreadProcessor.java:66)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at
java.lang.Thread.run(Thread.java:662)
appreciated any help.
Many thanks
Best Answer
-
This may relate to the new high precision time fields in MiFID II.
RFA Java 7.x and Earlier Releases
When a Time field is encountered with either the microsecond or nanosecond components of the time value populated the API will raise an exception :
com.reuters.rfa.omm.OMMException
. with a message similar to this:Exception in thread "main" com.reuters.rfa.omm.OMMException: Invalid size 8 for Time
The size reported is the encoded length determined by the presence of microsecond and nanosecond components.
For applications using RFA Java 7.x and Earlier Releases, the solutions available are as follows:
Consider upgrading to one of the compatible API releases listed below.
Implement Pre-Decoding Checks.
Implement Exception Handling.For more information, please refer to the Coding For High Precision Time article.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛