News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
SecureSocket will crash after Close in .Net Visual Studio 1.1 and 2.0  
by Shih-Chung Lin [sjklin at cisco dot com]
posted on 2006/02/17

Hi Dear Sir,
I have problem on SSL/TLS SecureSocket library latest version with .Net framework 1.1 or 2.0.(.Net Visual Studio 1.1 or 2.0) It will get the "Unhandled Exception: System.NullReferenceException" error message after I issue the Close socket event from my GUI. But,if I use System.Net.Socket library, It will be OK(no problem on close socket every time from GUI). The reaseon I use this SecureSocket library, because it has SSL/TLS protocol support and System.Net.Socket did not have SSL/TLS.
Please let me know, How can I solve this problem or tell me if you have any solution.
The following is error message from .Net Visual Studio Console output.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at Org.Mentalis.Security.Ssl.SecureSocket.Close()
at Org.Mentalis.Security.Ssl.SecureSocket.Finalize()
Press any key to continue . . .


Thanks.
Shih-Chung Lin

by Jenny Chang [jc2693 at yahoo dot com]
posted on 2006/04/05

I had same problem as you describe.

When I close SecureSocket on my project GUI tool which I developed it with .Net 1.1 or 2.0 Visual Studio Software and I will get an error message as below.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at Org.Mentalis.Security.Ssl.SecureSocket.Close()
at Org.Mentalis.Security.Ssl.SecureSocket.Finalize()
Press any key to continue . . .


Is anybody can help this issue?

Thanks.
Jenny Chang 4/5/2006

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.