7 3 2 5

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 |
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(
at com.reuters.rfa.internal.rwf.RwfDecoder.decodeTime(
at com.reuters.rfa.internal.rwf.RwfPrimitiveCacheTypedBuffer.decode(
at com.reuters.rfa.internal.rwf.RwfEntry.getData(
at com.reuters.rfa.internal.rwf.RwfFieldEntry.getData(
at biz.wss.onyx.service.reuters.omm.OMMMessageParser.decodeFieldList(
at biz.wss.onyx.service.reuters.omm.OMMMessageParser.decodePayload(
at biz.wss.onyx.service.reuters.omm.OMMMessageParser.getMarket_Quote(
at biz.wss.onyx.service.reuters.camel.omm.OMMProcessor.process(
at org.apache.camel.component.bean.BeanProcessor.process(
at org.apache.camel.processor.interceptor.StreamCachingInterceptor.proceed(
at org.apache.camel.processor.interceptor.StreamCachingInterceptor.process(
at org.apache.camel.processor.Pipeline.process(
at org.apache.camel.processor.Pipeline.access$200(
at org.apache.camel.processor.Pipeline$1.done(
at org.apache.camel.processor.ThreadProcessor$
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

appreciated any help.

Many thanks

icon clock
10 |1500

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

1 Answer

58.3k 161 45 65


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.

icon clock
10 |1500

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