Ticket #14 (new defect)

Opened 1 year ago

BadClient crashes when song is no longer present

Reported by: tulloss2 Assigned to: mgeske2
Priority: major Milestone:
Component: Music Streaming Version:
Keywords: Cc:

Description

BadClient crashes when a server no longer has the songs that previously existed in the library. It appears to be because of Matt's code which adds songs to the playlistHash.

Backtrace:

   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DMP.Bridge.getSongURL(Int32 id) in C:\Documents and Settings\Justin Tulloss\My Documents\kweerie\svn\dmp\trunk\Bridge\Bridge.cs:line 169
   at DMP.Form1.button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\Justin Tulloss\My Documents\kweerie\svn\dmp\trunk\BadClient\Form1.cs:line 39
A first chance exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll