Author Topic: System.ArgumentOutOfRangeException: Index was out of range.  (Read 1124 times)

Jnetnet

  • Newbie
  • *
  • Posts: 1
Received error when viewing Artwork and tried to uncheck primary picture. This picture is on quite a few of my songs but doesn't have anything to do with it.



MusicBee v3.1.6466.36486 (Win10.0), 4 Oct 2017 16:47:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at #=q7dP_a4uPBVZ4ddSaO3Sybgj5UwTuig$7NMFW$S$zBcs=.#=qsNRbNUnLeyii1gB0dZPu2YwDOkKN8YsNgwZ9y8CXmLg=(Object #=qNA975iityFaJ4HZKdiYFZg==, EventArgs #=q5spzb1silEZXinWjnsIPTA==)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at #=qnSbd9p8iRuyfT07ZE5PqcPkSxGdOhpyZBztVPctuvBo=.OnClick(EventArgs #=qtMw2z5n55mEaSy$DMDgXdg==)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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)

Dzomlija

  • Newbie
  • *
  • Posts: 8
MusicBee v3.1.6590.32668 (Win10.0), 9 Aug 2018 17:46:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at #=zvtRJFgRFbEWxMyX7tlumHA0=.#=z52xVo6dU$BIik2D4Pg==(Object #=zjHM6LIc=, EventArgs #=zK_CBPjQ=)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at #=z54NuDXibHcuSwx$mgrbde5o=.OnClick(EventArgs #=zK_CBPjQ=)
   at #=z54NuDXibHcuSwx$mgrbde5o=.#=zAiRaGynBAb36(Object #=zjHM6LIc=, EventArgs #=zK_CBPjQ=)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)
____________________________________
What have I become, my sweetest friend.
Everyone I know goes away in the end.
And you could have it all, my empire of dirt.
I will let you down. I will make you hurt.

sveakul

  • Hero Member
  • *****
  • Posts: 1909
The first thing I recommend both of you do is update to the latest version of MusicBee from the post here:

https://getmusicbee.com/forum/index.php?topic=24754.msg147687#msg147687

Then, apply the newest patch, overwriting all files, which is available here:

https://getmusicbee.com/patches/MusicBee32_Patched.zip

Then see if you have the same error.