Results 1 to 4 of 4

Thread: Strange error when my application just sits...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95

    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?

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95
    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?

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    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
  •  



Click Here to Expand Forum to Full Width