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
Question by Kung.S · Sep 18, 2019 at 03:55 AM · RFAJ

Any idea what this error means?

Got the following error after subscribe.


Seems we are getting IMAGE and not updates. Request is sent with 4 path subjects eg "IDN.ANY.000761.ZK"


Using RFAJ 7.6.0.E7 with SSL/Market Feed connection



java.lang.ArrayIndexOutOfBoundsException: 442 at com.reuters.rfa.internal.connection.md.NPartSubjectHandler.getStringBuilder(NPartSubjectHandler.java:606) at com.reuters.rfa.internal.connection.md.NPartSubjectHandler.getRicName(NPartSubjectHandler.java:131) at com.reuters.rfa.internal.session.md.SubOpenReqMsg.initialize(SubOpenReqMsg.java:156) at com.reuters.rfa.internal.session.md.SubOpenReqMsg.<init>(SubOpenReqMsg.java:49) at com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl.subscribe(MarketDataSubscriberImpl.java:68) at com.ml.ets.apptk.resources.rtdata.rfa.RFASource$RFAFeed.subscribeTopic(RFASource.java:396) at com.ml.ets.apptk.resources.rtdata.rfa.RFASource$RFAFeed.start(RFASource.java:370) at com.ml.ets.apptk.resources.rtdata.impl.AbstractRTFeed.activate(AbstractRTFeed.java:473) at com.ml.ets.apptk.resources.rtdata.impl.AbstractRTSource$FeedHolder.acquire(AbstractRTSource.java:66) at com.ml.ets.apptk.resources.rtdata.impl.AbstractRTSource.acquireFeed(AbstractRTSource.java:466) at com.ml.ets.apptk.resources.rtdata.impl.AbstractRTSource.acquireFeed(AbstractRTSource.java:439) at com.ml.ets.apptk.resources.rtdata.impl.AbstractRTSource.acquireFeed(AbstractRTSource.java:432) at com.ml.ets.apptk.resources.rtdata.RTDataResource.acquireFeed(RTDataResource.java:414) at com.ml.ets.apptk.resources.rtdata.taq.TAQResource.acquireFeed(TAQResource.java:587) at com.ml.ets.ice.md.RTFeedDataProvider.getFeed(RTFeedDataProvider.java:62) at com.ml.ets.ice.md.RTFeedDataProvider.init(RTFeedDataProvider.java:44) at com.ml.ets.ice.md.SFEMarketRTDataAllocator.init(SFEMarketRTDataAllocator.java:33) at com.ml.ets.ice.md.MarketDataProviderFactory.createMarketDataProvider(MarketDataProviderFactory.java:29) at com.ml.ets.ice.MLXNOrderAgent.getOrCreateOrderBook(MLXNOrderAgent.java:709) at com.ml.ets.ice.MLXNOrderAgent.addOrder(MLXNOrderAgent.java:1798)

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Pimchaya.Wongrukun · Oct 11, 2019 at 04:10 AM

The error occurs when an application uses many threads subscribe Market Data 4-part subject names. However, this bug has been fixed since 6.5.0.L1 as shown below:

rfaj1529; MD: Array index ex with thread id 100 and subject sub

An ArrayIndexOutOfBoundsException will occur at a boundary condition

(subscribing thread with ID 100) using Market Data 4-part subject names.

This has been corrected.

SR: 1-4650845965

The development team also confirmed that there is no any RFA 7.6.0.E7 source code which can throw ArrayIndexOutOfBoundsException.

RFA should be upgraded to the latest version,7.6.1.E2, which supports SSL connection and includes this bug fix as well in order to solve the problem. I also tested RFA version 7.6.0.E7 and 7.6.1.E2 and I have never found this error.

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.

avatar image
REFINITIV
Answer by wasin.waeosri · Sep 18, 2019 at 04:52 AM

Hello @Kung.S

I have tried to replicate the issue with RFA Java 7.6.0 E7 MDSubDemo.java. The example can subscribe 4 parts subject ("ELEKTRON_DD.ANY.000761.ZK") successfully.

mdsubdemo_app.txt

Please submit a ticket via a Contact Premium Support page with the following information:

  • How many items that the application subscribe?
  • A list of the 4 paths subjects that encounters the problem
  • Can you replicate the issue with the MDSubDemo.java?
  • The RFA trace file when the problem occurs

mdsubdemo-app.txt (6.1 KiB)
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.

avatar image
Answer by Kung.S · Oct 17, 2019 at 12:42 AM

Thank you for your reply. We found out from our side that the app is still using the old version of API, unintentionally.

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 >
7 People are following this question.

Related Questions

Get a list of RICs for an exchange in RFAJ

PostMsg has not have container type of RSSL_DT_MSG Error when contributing using RFA to a TREP TRCC service

POST Update does not clear fields

Ric Not Found vs Permission Denied in API

can I request for specific feild_entry in OMM

  • 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
  • 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