[Mono-bugs] [Bug 359247] New: printing to filename crashes with nullref

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 6 11:36:19 EST 2008


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


           Summary: printing to filename crashes with nullref
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lupus at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Printing to a filename from a mwf app makes it crash with the following error:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at
System.Windows.Forms.PrintControllerWithStatusDialog.Set_PrinterSettings_PrintFileName
(System.Drawing.Printing.PrinterSettings settings, System.String filename)
[0x00000] 
  at System.Windows.Forms.PrintControllerWithStatusDialog.OnStartPrint
(System.Drawing.Printing.PrintDocument document,
System.Drawing.Printing.PrintEventArgs e) [0x00000] 

The app currently requires a hacked corlib to run, mail me if you have
difficulties reproducing or to test the fix.


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


More information about the mono-bugs mailing list