[Mono-bugs] [Bug 438650] New: Unhandled exception when we click on any node in Treeview Control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 24 05:43:34 EDT 2008


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


           Summary: Unhandled exception when we click on any node in
                    Treeview Control
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: i386
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Palanisamy_m at spanservices.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Description of Problem:
We are using Treeview control in our application. When we click/right click on
any node in Treeview, it is throwing Unhandled Exception from
System.Windows.Forms.TreeView.MouseUpHandler and application will crash.

This problem is occuring in MAC OS X 10.5.

It is working fine in all the linux flavours(for example : Ubuntu 8.04, fedora
core 8 and RHEL 5).

Steps to reproduce the problem:
1. Open application that contain treeview, in-turn treeview has nodes.
2. Click on any node in Treeview, it is throwing Unhandled Exception.
3. If we click the nodes 10 times, application will crash atlease 6 times.

Actual Results:
Application should work fine when we click on any nodes in Treeview.

Expected Results:
Unhandled exception when we click on any node in Treeview Control

How often does this happen? 
It is happening frequently.One time it will crash on one node and next time it
will crash on some other node but it will work on previous node.

Additional Information:

This problem is specific to MAC OS and mono 1.9.1 and 2.0

Please see the log file content below:-

System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Windows.Forms.TreeView.MouseUpHandler (System.Object sender,
System.Windows.Forms.MouseEventArgs e) [0x00000] 
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void__this___object_MouseEventArgs
(object,System.Windows.Forms.MouseEventArgs)
  at System.Windows.Forms.Control.OnMouseUp
(System.Windows.Forms.MouseEventArgs e) [0x00000] 
  at System.Windows.Forms.Control.WmRButtonUp (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.TreeView.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUICarbon.DispatchMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] 
  at Likewise.LMC.LMCAppMain.Main (System.String[] args) [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.
You are the assignee for the bug.


More information about the mono-bugs mailing list