[Mono-winforms-list] Throwback

Paul paul at all-the-johnsons.co.uk
Sun Aug 28 06:18:49 EDT 2005


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

-- 
"A lot of football success is in the mind. You must believe you are the
best and then make sure that you are. In my time at Liverpool we always
said we had the best two teams on Merseyside, Liverpool and Liverpool
Reserves." - Bill Shankly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20050828/b1c3b501/attachment.bin


More information about the Mono-winforms-list mailing list