Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by Fan Tony · Mar 12, 2017 at 10:26 PM · eta decode

Error Message : DecodeDateTime() failed: from Received serviceName: ELEKTRON_DD

Hi :

I got a error message "DecodeDateTime() failed: <INCOMPLETE_DATA>" when I retrieved real-time data feed. Below as runtime environment by my side.

  1. Client OS : CentOS 7
  2. Elektron SDK - Java - LATEST VERSION Used : Elektron-SDK1.0.8.java_0
  3. Java Command : java -classpath "./bin:../../Libs/upaValueAdd.jar:../../Libs/upa.jar" com.thomsonreuters.upa.examples.consumer.Consumer -h 172.17.17.18 -uname rmds -s ELEKTRON_DD -mp .DJI

Attached file as whole messages from a runtime console of CentOS7.

console.txt (4.0 KiB)

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.

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Nipat Kunvutipongsak · Mar 14, 2017 at 06:05 AM

I can reproduce the problem with the FD-ish dictionary files.

Could you change the current dictionary files to RDMFieldDictionary and enumtype.def in Eta/etc which were distributed together with the Elektron SDK package?

These default dictionary files should fix this problem.


eta-etc-default-dictionary-files.png (51.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
REFINITIV
Answer by Nipat Kunvutipongsak · Mar 14, 2017 at 12:32 AM

Hi @Fan Tony ,

I've tried to subscribe to <.DJI> using ETA Java's Consumer example, however, this problem didn't persist in my application (see my log attach). console-and-debug.zip

Can you add '-x true' to the running command, which is a debugging parameter and restart the application again?

Example:
"C:\Program Files\Java\jdk1.8.0_51\bin\java.exe" -classpath D:\Workspace\elektron_sdk_java\bin;D:\Workspace\elektron_sdk_java\Ema\Libs\ema.jar;D:\Workspace\elektron_sdk_java\Eta\Libs\upa.jar;D:\Workspace\elektron_sdk_java\Eta\Libs\upaValueAdd.jar;D:\Workspace\elektron_sdk_java\Ema\Libs\apache\commons-configuration-1.10.jar;D:\Workspace\elektron_sdk_java\Ema\Libs\apache\commons-lang-2.6.jar;D:\Workspace\elektron_sdk_java\Ema\Libs\apache\commons-logging-1.2.jar;D:\Workspace\elektron_sdk_java\Ema\Libs\SLF4J\slf4j-1.7.12\slf4j-api-1.7.12.jar;D:\Workspace\elektron_sdk_java\Ema\Libs\SLF4J\slf4j-1.7.12\slf4j-jdk14-1.7.12.jar com.thomsonreuters.upa.examples.consumer.Consumer -x true

Anyway, this problem might relate to data as well. Would you also tell me the time when you got this problem, so I will try to test it at the same time frame and let you know the result?


console-and-debug.zip (5.2 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 Fan Tony · Mar 14, 2017 at 03:02 AM

Hi Nipat Kunvutipongsak :

Appreciate for your suggestion, Attached file "console_debug.txt" is run-time log which I add parameter "-x true" to run Java command.

Attached file "fdmenumtypes.zip" includes 2 files "FDMFixFieldDictionary" and "FDMenumtypes.def" that they are defined in a class com.thomsonreuters.upa.examples.consumer.DictionaryHandler's fields "FIELD_DICTIONARY_FILE_NAME" and "ENUM_TABLE_FILE_NAME".

I think that something wrong are relate to these 2 files.

Regards,

Tony Fan


console-debug.txt (23.8 KiB)
fdmenumtypes.zip (45.0 KiB)
Comment

People who like this

0 Show 2 · 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
Fan Tony · Mar 14, 2017 at 04:03 AM 0
Share

Hi Nipat Kunvutipongsak :

I've tried to subscribe to <.DJI> at PM 2:34 on 3/14.

avatar image
REFINITIV
chavalit.jintamalit ♦♦ · Mar 14, 2017 at 06:16 AM 0
Share

You can also let the consumer application try to download data dictionary from ADS by removing the dictionary files from your current working directory.

If the consumer application cannot locate the files, it will then download data dictionary from ADS.

avatar image
Answer by Fan Tony · Mar 15, 2017 at 12:07 AM

Hi Nipat Kunvutipongsak :

I change my root path to /Eta/etc, and then everything is ok.

Thanks a lot for your support and suggestion.

Regards,

Tony Fan

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

Do we need to clear the dictionary when the session is reconnected again?

  • 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