Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
REFINITIV
Question by amedeo.medaglia · May 02, 2018 at 10:38 AM · time

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

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · May 02, 2018 at 09:54 PM

@amedeo.medaglia

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.
  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges