Unhandle exception System.NullReferenceexception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • justmvb
    New Member
    • Sep 2008
    • 1

    Unhandle exception System.NullReferenceexception

    Error:

    EventType clr20r3, P1 redsmsservice.e xe, P2 1.0.0.0, P3 48c0e7d0, P4 gsmcommunicatio n, P5 1.10.0.0, P6 44d2c55f, P7 96, P8 3b, P9 system.nullrefe renceexception, P10 NIL.



    System:

    System is developed in VS 2008, .Net 3.5 framework. It deals with GSM modem “Falcom Samba 75” for receiving and sending SMS to drivers, to deal with modem we had used third party free SMS Library. Client OS is Windows 2003 Server.

    Scenario:

    System stops abruptly and when we open the Event Viewer following error we are able to see “EventType clr20r3, P1 redsmsservice.e xe, P2 1.0.0.0, P3 48c0e7d0, P4 gsmcommunicatio n, P5 1.10.0.0, P6 44d2c55f, P7 96, P8 3b, P9 system.nullrefe renceexception, P10 NIL.“.



    We had also implemented Unhandled Exception event and Error Log to trace the error.



    On client’s server .Net framework 2.0, 3.0 and 3.5 are installed. Our application runs on the server 24x7. The third party library reads, sends and deletes SMS from the GSM modem.

    The server also runs auto updates patch for Window 2003 Server.



    Kindly provide solution if you have face this kind of situation.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    question moved to more appropriate .net forum.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Well all managed exceptions come with a line number, so you should be able to track down where in the code it is coming from.
      That exception occurs whenever you try to use an object that hasn't been defined yet.

      Comment

      Working...