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[])

Best Answer