TinyIoCResolutionException in .NET TimeSeries API
We haven't seen this before, but recently under the Eikon .NET SDK 1.8.4 on Eikon 4.0.40, we're getting a 'TinyIoCResolutionException' when requesting 1 minute bar data for the current date. The problem is intermittent, occurring twice today for example while working fine at other times today.
Stack trace:
ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Eikon.Ipc.IRawUdapService ---> ThomsonReuters.Udap.BusTools.EikonBusException: Subscription did not succeed - Unable to subscribe to channel RawUdap/IRawUdapService/AddClient/False on bus UDAP
at ThomsonReuters.Udap.BusTools.EikonBusSubscription..ctor(ISubscriberEx* nativeSubscriber, String channelName, IEikonBusListener callBack, Object userContext, String busName)
at ThomsonReuters.Udap.BusTools.EikonBusDotNet.Subscribe(String channelName, IEikonBusListener callBack, Object userContext, Boolean freeThreaded)
at ThomsonReuters.Udap.Ipc.Managed.Common.BusAdapter.Channel..ctor(EikonBusDotNet eikonBus, String name, ChannelDirection direction)
at ThomsonReuters.Udap.Ipc.Managed.Common.BusAdapter.EikonBus.CreateChannel(String name, ChannelDirection direction)
at ThomsonReuters.Eikon.Ipc.MethodMarshaller..ctor(IEikonBus bus, String stubID, String interfaceName, String methodName, ProxyStubOptions proxyOrStub, Action`1 callBack)
at ThomsonReuters.Eikon.Ipc.ProxyStubBase.AddMethod(String methodName, ProxyStubOptions proxyOrStub, Action`1 callBack)
at ThomsonReuters.Eikon.Ipc.RawUdapServiceProxyImpl..ctor(IEikonBus bus, IRemotingServices proxyServices, IRemotingServices stubServices, String stubId, TimeSpan globalReceiveTimeout)
at ThomsonReuters.Desktop.SDK.DataAccess.Bootstrapper.b__6(IIocContainer a, NamedParameterOverloads b)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
--- End of inner exception stack trace ---
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.Resolve(Type resolveType)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.Resolve[ResolveType]()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at ThomsonReuters.Desktop.SDK.DataAccess.UdapService.Initialize(Action`1 connectionCallback)
at ThomsonReuters.Desktop.SDK.DataAccess.InternalDataServicesBase.InitializeAsync(String applicationCode, Action`1 connectionCallback)
at ThomsonReuters.Desktop.SDK.DataAccess.InternalDataServicesBase.Initialize(String applicationCode)
at ReutersLib.TimeSeriesReq.d__20`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ReutersLib.TimeSeriesReq.d__18`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
Best Answer
-
I am unable to replicate the issue. ThomsonReuters.Desktop.SDK.DataAccess.Signed 1.8.4 depends on ThomsonReuters.Udap.Ipc.Signed 2.10.5. Please make sure that the application loads the correct version.
From the problem statement, it happens randomly. To investigate the issue, I need to replicate the problem in my environment. Could you please share the workspace and project files? Therefore, I can build and run it in my environment.
Moreover, the exception is similar to the following questions:
0
Answers
-
Thanks Jirapongse. Second link above has the fix. Not sure why it doesn't come up in search when I look for TinyIoCResolutionException.
0 -
I found it by searching with the full class name: (ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException).
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛