|
-
May 12th, 2004, 01:14 AM
#1
Thread Starter
Lively Member
Strange error when my application just sits...
An unhandled exception of type 'System.NullReferenceException' occurred in system.dll
Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Net.OSSOCK.WSAGetOverlappedResult(IntPtr socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)
at System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
I get this error whenever I run the debugger and my application just sits there. After about 2, maybe 3 minutes it gives me this exception. Why?
-
May 12th, 2004, 03:04 AM
#2
Run it in debug mode, then post the code that causes the problem.
Sounds like you've declared something without initialising it.
I don't live here any more.
-
May 13th, 2004, 09:57 AM
#3
Thread Starter
Lively Member
It IS running in debug mode. It says there's no code for the error in question, and there's no threading code in my application.
Edit: Maybe it's a custom control that I'm using. Could be C1, or maybe the Glacial Components ListView. But since I don't have the source code for either I guess I won't know now, will I?
-
May 13th, 2004, 04:51 PM
#4
I wonder how many charact
It's definitely your C1, since its erroring on the Socket class... which a Listview wouldn't use.
Seems if you have antivirus, McAffee in particular running, you get this error for certain.
It might not be necessarily McAffee, there are some other issues perhaps related to your framework version, or your network card even.
You might want to check out their web forums (web interface newsgroup) for the control you are using from ComponentOne.
http://www.componentone.com/pages.aspx?pagesid=52
I also found others with the same problem:
http://www.dotnet247.com/247referenc...42/214925.aspx
http://www.dotnet247.com/247referenc...42/214951.aspx
Last edited by nemaroller; May 13th, 2004 at 05:01 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|