HankG / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
0 stars 0 forks source link

Exception when closing a connection in N-prof style TreeViews with in-memory sqlite db #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps that have produced the bug:
1. Start a profile session with an in-memory sqlite database, with the 
default visualizer set to Function Details.
2. After some time, close the profiled program.
3. Open the N-prof style TreeViews Visualizer.
4. Select some stuff, click refresh, select more stuff.
5. Close the window using the X, agree to close the connection.

I haven't been able to reproduce the bug.

What is the expected output? What do you see instead?
A NullReferenceException occurs:

System.NullReferenceException: La référence d'objet n'est pas définie à une 
instance d'un objet.
   à SlimTuneUI.SlimTune.WindowList_SelectedIndexChanged(Object sender, 
EventArgs e) dans 
D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\SlimTune.cs:ligne 
133
   à System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   à System.Windows.Forms.ListBox.NativeRemoveAt(Int32 index)
   à System.Windows.Forms.ListBox.ObjectCollection.RemoveAt(Int32 index)
   à System.Windows.Forms.ListBox.ObjectCollection.Remove(Object value)
   à SlimTuneUI.SlimTune.window_FormClosed(Object sender, 
FormClosedEventArgs e) dans 
D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\SlimTune.cs:ligne 58
   à System.Windows.Forms.FormClosedEventHandler.Invoke(Object sender, 
FormClosedEventArgs e)
   à System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
   à System.Windows.Forms.Form.WmClose(Message& m)
   à System.Windows.Forms.Form.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, 
IntPtr wparam, IntPtr lparam)

What version of the product are you using? On what operating system?
0.2.0, Win7

Original issue reported on code.google.com by tristanl...@gmail.com on 17 Feb 2010 at 2:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r161.

Original comment by promit....@gmail.com on 17 Feb 2010 at 3:12