An unhandled exception has occurred. / Exception message: Object reference not set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chandhrakv
    New Member
    • Nov 2009
    • 3

    An unhandled exception has occurred. / Exception message: Object reference not set

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 11/18/2009 3:03:53 PM
    Event time (UTC): 11/18/2009 9:33:53 AM
    Event ID: ef3014ea80424b0 0b1bc2e7095fffe 4c
    Event sequence: 34707
    Event occurrence: 17
    Event detail code: 0

    Process information:
    Process ID: 3008
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWO RK SERVICE

    Exception information:
    Exception type: NullReferenceEx ception
    Exception message: Object reference not set to an instance of an object.

    Request information:
    Request URL: http://indoserv.com/pages/indcoe/export/indjobcosting/indcoejobcostin gdetailsfrpg.as px?q=cGFnZWlkfE FnSW5kQ29lSm9iQ 29zdGluZ0RldGFp bHNGclBnJmFjdGl vbmlkfE9wZW5BZ0 luZENvZUpvYkNvc 3RpbmdEZXRhaWxz JmFjdGlvbmNyaXR lcmlhfCU1YkFnSW 5kQ29lSm9iQ29zd GluZ0RldGFpbHMl NWQuJTViRm9ybUl kJTVkJTNkJzE1Nz Q0OCcmbmV4dGFjd GlvbmNyaXRlcmlh fCZJc1BvcHVwUGF nZXxmYWxzZSZwZ2 NoaWR8MWMyYWMzM jkzNDM5NGQ5Mjg4 OTYxYjMxMzllNDU 5MWRfZDJreGl6ND V5MXdnc2E0NWhpd TRsejQ1Jg==-fqW1O0SE9IQ=&w= ;;;;;
    Request path: /pages/agindcoe/oceanexport/agindjobcosting/agindcoejobcost ingdetailsfrpg. aspx
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: NT AUTHORITY\NETWO RK SERVICE

    Thread information:
    Thread ID: 12
    Thread account name: NT AUTHORITY\NETWO RK SERVICE
    Is impersonating: False
    Stack trace: at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.C ontrol.UnloadRe cursive(Boolean dispose)
    at System.Web.UI.P age.UnloadRecur sive(Boolean dispose)
    at System.Web.UI.P age.ProcessRequ estCleanup()
    at System.Web.UI.P age.ProcessRequ est(Boolean includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
    at System.Web.UI.P age.ProcessRequ est()
    at System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext context)
    at System.Web.UI.P age.ProcessRequ est(HttpContext context)
    at ASP.pages_agind coe_oceanexport _agindjobcostin g_agindcoejobco stingdetailsfrp g_aspx.ProcessR equest(HttpCont ext context)
    at System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
    at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)


    Custom event details:

    For more information, see Help and Support Center at http://go.microsoft.co m/fwlink/events.asp.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Nice exception :)

    It is highly unlikely that this is a classic asp question (it's more likely to be a .NET exception)

    When you see an exception of this nature it means that you tried to use an Object that has not yet been instantiated.

    Look through your code...check to make sure you use the new keyword to instantiate all objects Before you try to use them.

    -Frinny

    **edit**
    I confirmed that you are using ASP.NET by looking at your other question.
    I have moved your question to the appropriate forum.

    Comment

    • chandhrakv
      New Member
      • Nov 2009
      • 3

      #3
      Thanks Frinny,

      For your response.


      But am not able to figure out this error though. Need some help to fix this clearly. Sorry to post here, as am a new user to this bytes...

      Can you please suggest or update me what could be the error and where to fix this..


      Thanks,
      KVC

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        I don't know what line number or anything that the exception occurred on.
        I would suggest opening your project in Visual Studio and stepping through the code to see where the exception occurs.

        If you can't find the exception then you're going to have to read through your code and make sure that every object exists at the times that you are using them.


        -Frinny

        Comment

        Working...