EMA NIP Dictionary request
Hi - is it possible to make a dictionary request from the server when implementing a NIP using the EMA API ?
when i attempt to make a request I get a NPE
Exception in thread "main" java.lang.NullPointerException at com.thomsonreuters.ema.access.DictionaryItem.open(DictionaryCallbackClient.java:1279) at com.thomsonreuters.ema.access.ItemCallbackClient.registerClient(ItemCallbackClient.java:1719) at com.thomsonreuters.ema.access.OmmBaseImpl.registerClient(OmmBaseImpl.java:363) at com.thomsonreuters.ema.access.OmmNiProviderImpl.registerClient(OmmNiProviderImpl.java:201) at com.thomsonreuters.ema.access.OmmNiProviderImpl.registerClient(OmmNiProviderImpl.java:193) at com.rbs.trep.NiProvider.main(NiProvider.java:72)
Best Answer
-
For NIP, EMA Java and C++ does not support the dictionary download feature from the ADH yet.
The tracking number ESDK-462 is used to capture this issue.
1
Answers
-
It is possible to request dictionary from NIP using MMT_Dictionary request.
Please see Java-> Elektron Toolkit 1.1.0-> EMA ->Example 332 for the code example.
0 -
Hello @david.gardiner
I can reproduce the same exception as you after i added the following in
niprovider.series100.example100__MarketPrice__Streaming application
long fldHandle = provider.registerClient(reqMsg.domainType(EmaRdm.MMT_DICTIONARY).name("RWFFld").filter(EmaRdm.DICTIONARY_NORMAL), appClient);
long enumHandle = provider.registerClient(reqMsg.clear().domainType(EmaRdm.MMT_DICTIONARY).name("RWFEnum").filter(EmaRdm.DICTIONARY_NORMAL),appClient);Then I got:
Exception in thread "main" java.lang.NullPointerException
at com.thomsonreuters.ema.access.DictionaryItem.open(DictionaryCallbackClient.java:1279)
at com.thomsonreuters.ema.access.ItemCallbackClient.registerClient(ItemCallbackClient.java:1719)
at com.thomsonreuters.ema.access.OmmBaseImpl.registerClient(OmmBaseImpl.java:363)
at com.thomsonreuters.ema.access.OmmNiProviderImpl.registerClient(OmmNiProviderImpl.java:201)
at com.thomsonreuters.ema.access.OmmNiProviderImpl.registerClient(OmmNiProviderImpl.java:193)
at com.thomsonreuters.ema.examples.training.niprovider.series100.example100__MarketPrice__Streaming.NiProvider.main(NiProvider.java:197)From EMA tracing log, it showed that EMA did not send dictionary request to the server because the exception occurred before.
I tried with RFA Java StarterProvider_NonInteractive and it downloaded dictionary from the same ADH as EMA niprovider successfully. Hence, the cause tends to from EMA(EMA bug/non-support feature) or the application level(improper implementation/configuration).
0 -
Hello @david.gardiner
To clarify if this is EMA bug/non-support feature or improper implementation/configuration in application level with the development team, you can submit your problem to the development directly via GitHub at
https://github.com/thomsonreuters/Elektron-SDK/issues
Then, click "New issue" button. Hence, you can communicate and follow up with the development team directly.
0 -
thanks for the information. I will raise a issue with the dev team to find out what they suggest.
In the meantime I will try and load a local dictionary from file although its not really ideal.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛