Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1456

dummy.context request logs "Object reference not set to an instance of an object." to server Event Log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: Spring-NET-WEB
    • Labels:
      None
    • Environment:
      Windows Server 2008 R2, IIS7.5, Integrated pipeline mode, .NET CLR 2.0, Spring.NET version 1.3.1.20711

      Description

      Although application behaviour is unaffected, the log entry listed below is a problem. Looking at the Spring codebase, the .NET CLR 2.0 support makes use of a fake "dummy.context" request which is causing the error.

      The following is logged to the Event Log on startup:

      [code]
      Process information:
      Process ID: 9780
      Process name: w3wp.exe
      Account name: LAB\dj

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

      Request information:
      Request URL: http://127.0.0.1/Ultra/Ultra/dummy.context
      Request path: /Ultra/Ultra/dummy.context
      User host address: 127.0.0.1
      User:
      Is authenticated: False
      Authentication Type:
      Thread account name: LAB\dj

      Thread information:
      Thread ID: 1
      Thread account name: LAB\dj
      Is impersonating: False
      Stack trace: at System.Web.HttpApplication.set_AsyncResult(HttpAsyncResult value)
      at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
      at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
      [code]

        Attachments

          Activity

            People

            Assignee:
            sbohlen Steve Bohlen
            Reporter:
            matt1234 Matt Tester
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: