Hi
We are switching from RFA SSL to EMA RSSL. When we are interested in subset of market data FIDs, so we create views for reqMsgs and register to EMA client. equity reqMsgs and option reqMsgs use the same OMM Consumer instance but with different views (one view for equity and the other view for option). Could you please indicate under what kind of conditions that can caused the errors below happen? Here is the code:
ReqMsg reqMsg = EmaFactory.createReqMsg(); reqMsg.domainType(EmaRdm.MMT_MARKET_PRICE) .serviceName(service) .name(equityRic) .payload(equityFidView) .priority(1, 1) .initialImage(true) .interestAfterRefresh(true); long handle = consumer.registerClient(reqMsg, client, emasub); emasub.getHandles().add(handle);
But when there are a lot of requests sent, we got these errors sometimes for some symbols, for examples:
com.refinitiv.ema.access.OmmInvalidUsageExceptionImpl: ReqMsgImpl.checkBatchView() failed to decode ElementEntry. Internal error INCOMPLETE_DATA at com.refinitiv.ema.access.MsgImpl.ommIUExcept(MsgImpl.java:393) at com.refinitiv.ema.access.ReqMsgImpl.checkBatchView(ReqMsgImpl.java:883) at com.refinitiv.ema.access.ReqMsgImpl.payload(ReqMsgImpl.java:645)
and
2024-09-12 16:55:17.979 INFO 45566 --- [Worker-SUB-6] c.o.d.p.s.p.r.e.Level1MarketDataProvider : Failed to subscribe to [MSFT--250620C00465000-Option-TopOfBook] java.nio.BufferOverflowException: null at java.nio.Buffer.nextPutIndex(Buffer.java:525) at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:173) at com.refinitiv.ema.access.Utilities.copy(Utilities.java:275) at com.refinitiv.ema.access.MsgImpl.msgPayload(MsgImpl.java:787) at com.refinitiv.ema.access.ReqMsgImpl.payload(ReqMsgImpl.java:643)
and
2024-09-12 16:55:17.979 INFO 45566 --- [Worker-SUB-4] c.o.d.p.s.p.r.e.Level1MarketDataProvider : Failed to subscribe to [SEMR-Equity-TopOfBook] java.lang.ArrayIndexOutOfBoundsException: -1 at com.refinitiv.eta.codec.Encoders.encodeElementListComplete(Encoders.java:3296) at com.refinitiv.eta.codec.ElementListImpl.encodeComplete(ElementListImpl.java:40) at com.refinitiv.ema.access.ElementListImpl.encodedData(ElementListImpl.java:395) at com.refinitiv.ema.access.MsgImpl.msgPayload(MsgImpl.java:787) at com.refinitiv.ema.access.ReqMsgImpl.payload(ReqMsgImpl.java:643)