[Mono-winforms-list] Throwback

Jordi Mas jordi at ximian.com
Mon Aug 29 05:45:05 EDT 2005


Hola Paul,

A change in Graphics.cs done a few days bug exposed a bug that we had in
libgdiplus. I fix that bug in SVN revision 48839 for the new libgdiplus
library but not for the current libgdiplus since it going to be gone in
a few hours. 

You can get the new libgdiplus from the SVN libgdiplus-cairo-upgrade
branch or wait until late today or tomorrow when we will merge the
libgdiplus-cairo-upgrade into the current one.

Regards,

Jordi,

El dg 28 de 08 del 2005 a les 11:18 +0100, en/na Paul va escriure:
> Hi,
> 
> This was generated by the simple datetime source posted here yesterday
> or Friday. I am getting something very similar with every MWF based
> application.
> 
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0x00000> <unknown method>
> in (wrapper managed-to-native)
> System.Windows.Forms.XplatUIX11:GetFontMetrics (intptr,intptr,int&,int&)
> in <0x00034> System.Windows.Forms.XplatUIX11:GetFontMetrics
> (System.Drawing.Graphics g, System.Drawing.Font font, System.Int32
> ascent, System.Int32 descent)
> in <0x0001e> System.Windows.Forms.XplatUI:GetFontMetrics
> (System.Drawing.Graphics g, System.Drawing.Font font, System.Int32
> ascent, System.Int32 descent)
> in <0x00325> System.Windows.Forms.Line:RecalculateLine
> (System.Drawing.Graphics g, System.Windows.Forms.Document doc)
> in <0x0009c> System.Windows.Forms.Document:RecalculateDocument
> (System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
> in <0x00017> System.Windows.Forms.Document:RecalculateDocument
> (System.Drawing.Graphics g)
> in <0x00028> System.Windows.Forms.TextBoxBase:CalculateDocument ()
> in <0x00293> System.Windows.Forms.TextBoxBase:set_Text (System.String
> value)
> in <0x0000d> System.Windows.Forms.TextBox:set_Text (System.String value)
> in <0x00017> System.Windows.Forms.NumericUpDown:set_Text (System.String
> value)
> in <0x000da> System.Windows.Forms.NumericUpDown:UpdateEditText ()
> in <0x00449> System.Windows.Forms.UpDownBase:.ctor ()
> in <0x00010> System.Windows.Forms.NumericUpDown:.ctor ()
> in (wrapper remoting-invoke-with-check)
> System.Windows.Forms.NumericUpDown:.ctor ()
> in <0x005d1> System.Windows.Forms.MonthCalendar:.ctor ()
> in <0x00010> System.Windows.Forms.MonthCalendar:.ctor
> (System.Windows.Forms.DateTimePicker owner)
> in (wrapper remoting-invoke-with-check)
> System.Windows.Forms.MonthCalendar:.ctor
> (System.Windows.Forms.DateTimePicker)
> in <0x00032> System.Windows.Forms.DateTimePicker:.ctor ()
> in (wrapper remoting-invoke-with-check)
> System.Windows.Forms.DateTimePicker:.ctor ()
> in <0x00042> Form1:InitialiseComponent ()
> in <0x00013> Form1:.ctor ()
> in (wrapper remoting-invoke-with-check) Form1:.ctor ()
> in <0x00018> Form1:Main ()
> 
> Given the code and executable worked Saturday morning, something has
> gone really wrong somewhere. As I can only see it with MWF based
> applications, is it safe to assume it's MWF based and bugzilla it?
> 
> TTFN
> 
> Paul
> 
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-- 
Jordi Mas i Hernàndez - Mono development team - http://www.mono-project.com
Homepage and LiveJournal at http://www.softcatala.org/~jmas




More information about the Mono-winforms-list mailing list