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 ramesh.jitkar · Feb 01, 2018 at 01:00 AM · RFAJtrep api

IndexOutOfBoundException during RFA Login

Hi, I need your help for below error.

In our app we are using Java RFA to receive market data. When I send login request RFA shows "Failed connection:IndexOutOfBoundsException:
Please note that oOur ADS server does not receive any login message.

I am also seeing some strange un-readable characters in response message. Detail response message is shown below. Can anyone point out whats going wrong here? and how to interpret this error?

I am initializing my encoder with below mentioned size.

OMMEncoder encoder = ommPool.acquireEncoder();<br>encoder.initialize(OMMTypes.MSG, 50000);

Response message from RFA (using GenericOMMParser provided in RFA examples)

MESSAGE
	Msg Type: MsgType.STATUS_RESP
	Msg Model Type: LOGIN
	Indication Flags: 
	Hint Flags: HAS_ATTRIB_INFO | HAS_STATE
	State: OPEN, SUSPECT, NONE,  "Ø(
yConnection to tkrmdsdev01.nomura.com:14002 failed in connection Tiger::RFAFeed: java.lang.IndexOutOfBoundsException: nullR&jitkarrF
ApplicationId?215Position?10.199.92.165/MUMWD041460Role"
	AttribInfo
		Name: jitkarr
		NameType: 1 (USER_NAME)
		Attrib
			ELEMENT_LIST
				ELEMENT_ENTRY ApplicationId: Ø(
yConnection to tkrmdsdev01.nomura.com:14002 failed in connection Tiger::RFAFeed: java.lang.IndexOutOfBoundsException: nullR&jitkarrF
ApplicationId?215Position?10.199.92.165/MUMWD041460Role
				ELEMENT_ENTRY Position: Ø(
yConnection to tkrmdsdev01.nomura.com:14002 failed in connection Tiger::RFAFeed: java.lang.IndexOutOfBoundsException: nullR&jitkarrF
ApplicationId?215Position?10.199.92.165/MUMWD041460Role
				ELEMENT_ENTRY Role: 0
	Payload: None

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.

2 Replies

  • Sort: 
avatar image
Best Answer
Answer by ramesh.jitkar · Feb 05, 2018 at 04:42 AM

Hi @Umer Nalla

1. I am using RFA 6 and Java sdk 1.6
2. Standard example works perfectly fine.

In fact when I run my app from within Intelij, it works perfectly fine. However when I bundle app (with gradle) into a Java webstart WAR file then it fails and RFA gives above junk output.

Application logs correctly shows the configuration parameters like, server list, connection type RSSL etc.
Since issue does not occure while running from IDE (Intelij) I am not able to proceed ahead with debug or investigation.

Comment

People who like this

0 Show 1 · 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
Nipat Kunvutipongsak ♦♦ · Feb 19, 2018 at 06:19 AM 0
Share
@ramesh.jitkar

May I get the LOGIN result when you run the application in Intelij?

I suspected that this problem might relate to character encoding.

Also, according to stackoverflow.com, there are some suggestions regarding gradle build encoding settings:

compileJava.options.encoding = 'UTF-8'

tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}
apply plugin: 'java'
tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}
repositories {
    mavenCentral()
}
....
test {
    systemProperty "file.encoding", "utf-8"
}
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
avatar image
REFINITIV
Answer by umer.nalla · Feb 01, 2018 at 05:58 AM

Hi @ramesh.jitkar

A few questions:

  1. What version of RFA API are you using and which Java SDK version?
  2. Does this problem occur when using one of the standard examples that comes with the RFA Java SDK e.g. QuickStartConsumer or with the Tutorial example on this website:

Tutorial 6 - RDM; Login and event registration

If you have not tried with one of the examples or tutorials - please do so and report back the results here.

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

Related Questions

Why consumer application receives OMMMsg.MsgType=STATUS_RESP from RFA after it sucess connect to ADS

Can TREP/RFA Java API support 4 part name when requested data from ADS?

RFAj Toubleshout/unable to complete connection to Trep

Different response for item not available

Issue using service groups to return realtime or delayed data depending on user access

  • 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