ChannelDictionary behaviour question + com.refinitiv.ema.access.OmmInvalidUsageExceptionImpl: The...
... enum value 4445 for the Field ID 374 does not exist in enumerated type definitions
Hello,
I have the following dictionary error with some RICs:
com.refinitiv.ema.access.OmmInvalidUsageExceptionImpl: The enum value 4445 for the Field ID 374 does not exist in enumerated type definitions
at com.refinitiv.ema.access.DictionaryEntryImpl.ommIUExcept (DictionaryEntryImpl.java:166)
at com.refinitiv.ema.access.DictionaryEntryImpl.enumType (DictionaryEntryImpl.java:96)
at com.refinitiv.platformservices.rt.objects.data.Utils.clone (Utils.java:90)
at com.refinitiv.platformservices.rt.objects.data.FieldImpl.<init> (FieldImpl.java:45)
at com.refinitiv.platformservices.rt.objects.data.Field$Builder.build (Field.java:144)
at com.refinitiv.platformservices.rt.objects.marketprice.MarketPriceImpl.extractFieldsFrom (MarketPriceImpl.java:412)
at com.refinitiv.platformservices.rt.objects.marketprice.MarketPriceImpl.onRefreshMsg (MarketPriceImpl.java:213)
at com.refinitiv.ema.access.ItemCallbackClientConsumer.notifyOnRefreshMsg (ItemCallbackClient.java:2586)
at com.refinitiv.ema.access.ItemCallbackClient.processRefreshMsg (ItemCallbackClient.java:1809)
at com.refinitiv.ema.access.ItemCallbackClient.defaultMsgCallback (ItemCallbackClient.java:1646)
at com.refinitiv.eta.valueadd.reactor.Reactor.sendDefaultMsgCallback (Reactor.java:2818)
at com.refinitiv.eta.valueadd.reactor.Reactor.sendAndHandleDefaultMsgCallback (Reactor.java:2927)
at com.refinitiv.eta.valueadd.reactor.WlItemHandler.callbackUser (WlItemHandler.java:3029)
at com.refinitiv.eta.valueadd.reactor.WlItemHandler.readRefreshMsg (WlItemHandler.java:2209)
at com.refinitiv.eta.valueadd.reactor.WlItemHandler.readMsg (WlItemHandler.java:1923)
at com.refinitiv.eta.valueadd.reactor.Watchlist.readMsg (Watchlist.java:302)
at com.refinitiv.eta.valueadd.reactor.Reactor.processRwfMessage (Reactor.java:4693)
at com.refinitiv.eta.valueadd.reactor.Reactor.performChannelRead (Reactor.java:5032)
at com.refinitiv.eta.valueadd.reactor.Reactor.dispatchAll (Reactor.java:7705)
at com.refinitiv.ema.access.OmmBaseImpl.rsslReactorDispatchLoop (OmmBaseImpl.java:1771)
at com.refinitiv.ema.access.OmmBaseImpl.run (OmmBaseImpl.java:1920)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
The dictionary is configured as followed in the EmaConfig.xml file:
<Dictionary>
<Name value="Dictionary_1"/>
<DictionaryType value="DictionaryType::ChannelDictionary"/>
</Dictionary>
Do you have an idea about this error? Does it means the Dictionary is not up to date with the fields returned for the RIC?
Does this behaviour is considered normal? The exception raised by EMA API is Runtime, so I guess it is not.
Furthermore, since the DictionaryType is configured to ChannelDictionary, I have a question: at which time the dictionary is loaded and updated in the caller application using EMA API?
Thanks!
Best Answer
-
Thanks for reaching out to us.
I checked the latest version of the data dictionary (4.20.57_RealTimeDistributionSystem_23.31). You can download them from the "myrefintiv.com" website under Software Downloads --> MDS General --> Refinitiv Real-Time Template Service Pack. However, I was unable to find this enum value 4445 in the IRGCOND (374) field.
Therefore, you need to contact the content support team directly via MyRefinitiv to verify why this enum value is published. Moreover, you can also refer to this discussion.
It is an expected behavior in the API to throw this exception if it is unable to expand the enum values.
I hope that this information is of help.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛