Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.2k views
in .NET FTP by (120 points)
On line 158 of AsyncResult in edtFTPnetPRO does not check if the log is null before trying to write to it.

It caused the following uncatchable exception to be to be thrown which caused the teardown of my application.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at Org.Mentalis.Security.Ssl.AsyncResult.set_AsyncException(Exception value)
at Org.Mentalis.Security.Ssl.SecureSocket.OnConnect(IAsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.Socket.ConnectCallback()
at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)


Let me know if you need any further information.

1 Answer

0 votes
by (162k points)
Yes, this is a bug (now fixed). Thank you for reporting it. If you need a patched version please send an email to support@....

Categories

...