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
- 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
- 687 Datastream
- 1.4K DSS
- 622 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
- 254 ETA
- 557 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
- 276 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
- 671 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
- 229 TRKD
- 918 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
- 48 中文论坛