[Mono-bugs] [Bug 342511] New: System.Web.HttpResponse. AddFileDependency NullReferenceException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 17 07:02:50 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342511

           Summary: System.Web.HttpResponse.AddFileDependency
                    NullReferenceException
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jit at occams.info
         QAContact: mono-bugs at ximian.com
          Found By: ---


Guys, guys, when you make changes, you have to run the code at least once!


In my website, I get (starting with 1.2.6):

NullReferenceException: Object reference not set to an instance of an object
  at System.Web.HttpResponse.AddFileDependency (System.String filename)
[0x00000] 

This may have something to do with:

rev 85090:

2007-09-06  Marek Habersack  <mhabersack at novell.com>

            * HttpCachePolicy.cs: implemented setting the ETag and
            Last-Modified headers from file dependencies.

            * HttpResponse.cs: implemented file dependency methods.

in which the HttpResponse.fileDependencies ArrayList field was added to the
class, but never initialized anywhere.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list