[Mono-bugs] [Bug 429462] New: WebBrowser+Strip: NRE in Application.RunLoop

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 24 05:52:29 EDT 2008


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


           Summary: WebBrowser+Strip: NRE in Application.RunLoop
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: avidigal at novell.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


A WinForms app with a MenuStrip and WebBrowser, an exception occurs on clicking
on the menu and then in the WebBrowser control.  See the exception below.

Tested on Windows with 2.0 preview with Mono.Mozilla.dll from HEAD.


Repro.  With the app from bug 428172, click on a menu but don't select a menu
item (eg click on File solely) now click in the WebBrowser control -> crash. 
The same happens if the menu is highlighted by pressing 'Alt' (but remember bug
429458).

[[
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
 at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x002ec] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:936
 at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x0002e] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:740
 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:723
 at WebBrowserAH2.Main () [0x00000]
]]


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


More information about the mono-bugs mailing list