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 tonyny2016 · Feb 25, 2021 at 07:13 PM · treprfarfa-api

Got 'NoSuchElementException' when using RFAJ 8 to connect to the service

com.reuters.rfa.internal.connection.rssl.RSSLConnection processTransportData

SEVERE: com.reuters.rfa.connection.rssl.myNS.RSSLconnection

Caught internal exception java.util.NoSuchElementException.

java.util.HashMap$HashIterator.nextNode(Unknown Source)

java.util.HashMap$ValueIterator.next(Unknown Source)

com.reuters.rfa.internal.connection.rssl.RSSLClientConnection.NotifySessionComponentVersionInfo(Unknown Source)

com.reuters.rfa.internal.connection.rssl.RSSLLoginHandler.connectionLogin(Unknown Source)

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.

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Feb 26, 2021 at 08:46 PM

RFA Java does not use Windows registry direclty, but Java preferences API to manage the configuration. Since you mention that your application is multi-threaded, so I suppose it is some kind of race around condition. Try adding pause within your application to see if any thread is trying to access login state/data before its available.

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 Gurpreet · Feb 26, 2021 at 06:52 PM

@tonyny2016,

You will have to provide more details. Is this a new application? Can you reproduce the exception with RFAJ samples - like QuickStartConsumer provided with the SDK?

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 tonyny2016 · Feb 26, 2021 at 08:34 PM

We are migrating to RFAJ 8, and existing program is multi-threaded, so after start, there are multiple threads concurrently trying to connect to the service, and sometimes we got this exception. It's hard to reproduce this scenario but I feel it may related to login stage, when wait for response event and waiting time is too short. Anything wrong with Windows Registry usage?QuickStartConsumer works fine.

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 tonyny2016 · Feb 26, 2021 at 08:36 PM

@Gurpreet We are migrating to RFAJ 8, and existing program is multi-threaded, so after start, there are multiple threads concurrently trying to connect to the service, and sometimes we got this exception. It's hard to reproduce this scenario but I feel it may related to login stage, when wait for response event and waiting time is too short. Anything wrong with Windows Registry usage?QuickStartConsumer works fine.

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 tonyny2016 · Mar 01, 2021 at 10:04 PM

@Gurpreet Ok, I will try the suggested approach, thank you!

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

Related Questions

RFA Consumer and Provider localhost Java example

Additional digits seen on price fields with RFA build app

Subscribing to RIC multiple times

Resume after a COMPLETION EVENT

Failed to get token information from the token service.Invalid username or password.

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • 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
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges