[Quickfix-developers] Errors on Application shutdown
Brought to you by:
orenmnero
|
From: John H. <jr...@ya...> - 2006-09-13 18:46:35
|
I'm testing the new binary distribution of QuickFIX (quickfix-bin-vs8-1.12.3.zip) and have encountered the following error when attempting to shut down my application (which worked without problems with the version 1.12.1):
Message: "Object reference not set to an instance of an object"
Source: "quickfix_net"
StackTrace:
at QuickFix.CPPLog.onEvent(String s)
at Log.onEvent(Log* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* string)
at QuickFix.SocketInitiator.Finalize()
The only code in my Form.Disposed event is as follows:
Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Disposed
Try
sw.Close()
Catch ex As Global.QuickFix.RuntimeError
MsgBox(ex.Message)
End Try
End Sub
'sw' is simply a StreamWriter I use for writing out an application log, and it isn't failing on this line.
Any thoughts on what could be causing this, or how I can handle it more gracefully?
Thanks,
John
|