[Mono-bugs] [Bug 597103] New: UsingWebBrowser Crashes when right clicking in middle of website

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 16:03:59 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=597103

http://bugzilla.novell.com/show_bug.cgi?id=597103#c0


           Summary: UsingWebBrowser Crashes when right clicking in middle
                    of website
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i586
        OS/Version: SLES 11
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mlegendre at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test
           Blocker: ---


Description of Problem:

mono 2.6.4 rc3
SLES 11

Steps to reproduce the problem:
1. run UsingWebBrowser
2. Make sure to be in simple Browser tab
3. click on the Go in the address bar
4. right click in middle of webpage. 


Actual Results:

Crashes Using Web Browser with following error

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Menu.get_MenuItems
() <IL 0x00007, 0x0000c>
at System.Windows.Forms.WebBrowser.OnWebHostContextMenuShown
(object,Mono.WebBrowser.ContextMenuEventArgs) [0x00035] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:655
at Mono.Mozilla.Callback.OnShowContextMenu
(uint,Mono.Mozilla.nsIDOMEvent,Mono.Mozilla.nsIDOMNode) [0x00043] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/Mono.WebBrowser/Mono.Mozilla/Callback.cs:776
at (wrapper native-to-managed) Mono.Mozilla.Callback.OnShowContextMenu
(uint,intptr,intptr) <IL 0x00077, 0x002c3>


Expected Results:

context menu should appear

How often does this happen? 
every time

Additional Information:

-- 
Configure bugmail: http://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