wjcsharp / ospy

Automatically exported from code.google.com/p/ospy
0 stars 0 forks source link

KeyNotFoundException being thrown #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Monitor a program doing hundreds of recv's
2. Scroll through the recv events, viewing the data being recv'ed

What is the expected output? What do you see instead?

After scrolling through most of the recv's it throws an unhandled exception.

What version of the product are you using? On what operating system?
1.8.9.0
WinXP SP2

Please provide any additional information below.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not
present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at oSpy.Net.PacketParser.GetPacket(Int32 index)
   at oSpy.MainForm.UpdateDumpView()
   at oSpy.MainForm.dataGridView_SelectionChanged(Object sender, EventArgs e)
   at System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
   at System.Windows.Forms.DataGridView.ProcessDownKeyInternal(Keys
keyData, Boolean& moved)
   at System.Windows.Forms.DataGridView.ProcessDownKey(Keys keyData)
   at System.Windows.Forms.DataGridView.ProcessDataGridViewKey(KeyEventArgs e)
   at System.Windows.Forms.DataGridView.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.DataGridView.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
oSpy
    Assembly Version: 1.8.9.0
    Win32 Version: 1.8.9.0

Original issue reported on code.google.com by pushespretn on 20 Dec 2006 at 5:19

GoogleCodeExporter commented 9 years ago
Thanks for the report (sorry for not responding sooner, I didn't notice that 
people
had actually submitted bugs until now :) ). Unfortunately oSpy1 is unmaintained 
these
days, and I'm trying to spend the little time I've got on oSpy2. Feel free to 
join in
on development, I'm
mostly alone in development these days so I tend to prioritize features that I 
need
the most myself (as my time is very limited). :-)

Original comment by ole...@gmail.com on 4 Aug 2007 at 12:04

GoogleCodeExporter commented 9 years ago
Sorry, I take all of that back. :) I realized I won't have enough time to 
finish the 
rewrite, so instead I'll keep improving oSpy 1.x and gradually rewrite piece by 
piece 
as I go along.

About to release 1.10.0 with lots of changes. Could you check if you're still 
able to 
reproduce with 1.10.0?

Original comment by ole...@gmail.com on 20 Aug 2009 at 12:01

GoogleCodeExporter commented 9 years ago
Should be fixed in 1.10.3.

Original comment by ole...@gmail.com on 27 Aug 2009 at 1:32