[Mono-bugs] [Bug 412536] libmono-winforms2.0-cil: Unhandled Exception: Object reference not set to an instance of an object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 28 12:00:20 EDT 2008


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

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412536#c1


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
  Status Whiteboard|                                                |Timer




--- Comment #1 from Jonathan Pobst <jpobst at novell.com>  2008-07-28 10:00:20 MDT ---
This seems to be that a Timer is created and enabled in
ReviewForm.InitializeComponent, however it ticks before ReviewForm.Load is
called.  The Tick calls some methods on some objects that are created in Load,
so they do not exist on the first Tick.  I do not know how MS ensures that Load
gets called first, since the Tick is asynchronous.  I guess it is just a race
condition that always works on MS.

The workaround would be to not enable the Timer until the end of the Load
method.


-- 
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