System.AccessViolationException in RFA8_NET120_x64.dll (RFA.Config.ConfigDatabase)
I'm using RFA8 API for C# to subscribe a set of RICs during only a period of time (8 am to 6pm).
Eventually, at 6pm I cleanup everything to prepare for a new subscription at 8am on the following day. The problem is that 2 hours after the new subscription (more or less) the program crashes with an System.AccessViolationException in RFA8_NET120_x64.dll. From the stacktrace, it comes from RFA.Config.ConfigDatabase.
I already tried to Relase the RFA Configuration and Load it again, but the problem continues. Only the first day everything works fine. But on the second day, the problem occurs.
Is someone had the same problem?
Answers
-
Can you detail exactly what you do as part of your cleanup process at 6pm? And also what you do as part of your new subscription process at 8am the next day?
As an aside - have you considered Pausing the data streams at 6pm and then resuming at 8am next morning? See section 3.2.1.7 Pause/Resume of your RFA.Net Developer guide.pdf file.
0 -
My cleanup process is something like this:
OMMConsumer.UnregisterClient(0);
RFAEventQueue.Deactivate();
OMMConsumer.UnregisterClient(tLoginHandleID);
OMMConsumer.Destroy();
RFASession.Release();
RFAEventQueue.Destroy();
RFAConfigDatabase.Release();
if ((!Context.Uninitialize()) && (Context.InitializedCount == 0))
return false;And for the new subscription I do exactly as the first time, which is the initialization of the RFAConfiguration, RFASession, OMMConsumer, Decoder and Subscribe all RICs again.
At least, the code of initialization is right, since it always works on the first day. The problem relies when there is a cleanup. After the cleanup, everything looks ok, but a few hours later, I get the error.
PS: Actually I considered using Pause/Resume, but since my program works for a whole day, I choose to initialize and cleanup everything everytime.
0 -
Hi @Yugo,
Can you please confirm which exact version of RFA.NET you are using?
If you are using rfanet8.0.0.L1.win then it may be worth upgrading to the latest emergency release rfanet8.0.1.E1.win
According to the E1 readme file there has been an issue related to access violation during Cleanup of OMMConsumer which was fixed in E1 release.
Although, this does not sound exactly like your issue - it may be related.
If after upgrading to E1 (or you are already using it) you continue to have a problem, I recommend you contact our Developer Support team to diagnose this issue offline using the https://my.thomsonreuters.com/ContactUsNew service.
0 -
I was already using rfanet8.0.1.E1. I'll contact the support team. Thanks!
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 683 Datastream
- 1.4K DSS
- 613 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
- 248 ETA
- 552 WebSocket API
- 37 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
- 626 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 84 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛