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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to