Hi :
I got a error message "DecodeDateTime() failed: <INCOMPLETE_DATA>" when I retrieved real-time data feed. Below as runtime environment by my side.
Attached file as whole messages from a runtime console of CentOS7.
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.
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?
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
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.