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