question

Upvotes
Accepted
1 1 1 6

System.AccessViolationException in RFA8 NET110x64 dll : rfa fieldentry , rfa databuffer

Trace 1 :

Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at .rfa.data.FieldEntry.getData(rfa.data.FieldEntry*, Byte) at ThomsonReuters.RFA.Data.FieldEntry.GetData(Byte) at ThomsonReuters.RFA.Example.Common.Decoder.DecodeFieldEntry(ThomsonReuters.RFA.Data.FieldEntry, System.String, System.String ByRef) at ThomsonReuters.RFA.Example.Common.Decoder.DecodeFieldList(ThomsonReuters.RFA.Data.FieldList, System.String, System.String ByRef) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessMarketPriceResponse(ThomsonReuters.RFA.SessionLayer.OMMItemEvent, ThomsonReuters.RFA.Message.RespMsg) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessRespMsg(ThomsonReuters.RFA.SessionLayer.OMMItemEvent, ThomsonReuters.RFA.Message.RespMsg) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessOMMItemEvent(ThomsonReuters.RFA.SessionLayer.OMMItemEvent) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessEvent(ThomsonReuters.RFA.Common.Event) at ThomsonReuters.RFA.SessionLayer.OMMItemEvent.NotifyNativeEvent(ThomsonReuters.RFA.Common.ClientEventClosure, rfa.common.Event*) at .ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient.processEvent(ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient*, rfa.common.Event*) at ThomsonReuters.RFA.Common.EventQueue.Dispatch(Int32) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.Run() at ThomsonReuters.RFA.Example.StarterConsumer.Program.StartReuterFeed(System.String, System.String, System.String, System.String, ThomsonReuters.RFA.Example.Common.Configs, Boolean, Int32, Boolean, Int32, FinIQ.NDLib.Core.Com.Logger, ThomsonReuters.RFA.Example.StarterConsumer.ReutersService.INIParameters) at ThomsonReuters.RFA.Example.StarterConsumer.Program.Main(System.String[])



Trace 2:

Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at .rfa.data.DataBuffer.getAsString(rfa.data.DataBuffer*) at ThomsonReuters.RFA.Data.DataBuffer.GetAsString() at ThomsonReuters.RFA.Example.Common.StandardOut.Out(ThomsonReuters.RFA.Data.DataBuffer) at ThomsonReuters.RFA.Example.Common.Decoder.DecodeDataBuffer(ThomsonReuters.RFA.Data.DataBuffer, System.String, System.String ByRef) at ThomsonReuters.RFA.Example.Common.Decoder.DecodeFieldEntry(ThomsonReuters.RFA.Data.FieldEntry, System.String, System.String ByRef) at ThomsonReuters.RFA.Example.Common.Decoder.DecodeFieldList(ThomsonReuters.RFA.Data.FieldList, System.String, System.String ByRef) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessMarketPriceResponse(ThomsonReuters.RFA.SessionLayer.OMMItemEvent, ThomsonReuters.RFA.Message.RespMsg) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessRespMsg(ThomsonReuters.RFA.SessionLayer.OMMItemEvent, ThomsonReuters.RFA.Message.RespMsg) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessOMMItemEvent(ThomsonReuters.RFA.SessionLayer.OMMItemEvent) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.ProcessEvent(ThomsonReuters.RFA.Common.Event) at ThomsonReuters.RFA.SessionLayer.OMMItemEvent.NotifyNativeEvent(ThomsonReuters.RFA.Common.ClientEventClosure, rfa.common.Event*) at .ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient.processEvent(ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient*, rfa.common.Event*) at ThomsonReuters.RFA.Common.EventQueue.Dispatch(Int32) at ThomsonReuters.RFA.Example.StarterConsumer.StarterConsumer.Run() at ThomsonReuters.RFA.Example.StarterConsumer.Program.StartReuterFeed(System.String, System.String, System.String, System.String, ThomsonReuters.RFA.Example.Common.Configs, Boolean, Int32, Boolean, Int32, FinIQ.NDLib.Core.Com.Logger, ThomsonReuters.RFA.Example.StarterConsumer.ReutersService.INIParameters) at ThomsonReuters.RFA.Example.StarterConsumer.Program.Main(System.String[])

treprfarfa-apisupporthelpdeskthomson-reuterspremium-support
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
80.1k 257 52 75

@santosh.dhokane

You may need to check IsBlank before decoding the data, as mentioned in this thread.

However, if this doesn't solve the issue, please upgrade to the latest version of RFA.NET 8.2.2.L1.

Next, contact the RDC members in your organization to submit this issue to the API support team (RDC) via Contact Premium Support.



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.