Author Topic: Index out of range error - v1.7.3.0.  (Read 963 times)


  • New User

  • Offline
  • *
  • 3
Index out of range error - v1.7.3.0.
« on: September 27, 2014, 03:31:58 AM »

I just made a fresh install of version (no upgrade). Everything OK until trying to start the some encoder encoder, when I receive the following error message- see below.
Any idea what is the cause of this error?

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewSelectedRowCollection.get_Item(Int32 index)
   at Plugin_Encoder.EncoderControl.StartToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)


  • Guest
Re: Index out of range error - v1.7.3.0.
« Reply #1 on: September 27, 2014, 07:47:51 AM »
First, check what version of encoder plugin you have in RadioDJ plugins list. Latest version is 2.5.2.

If you have latest version and still get the exception, delete the encoder entry and re-add it. If you get error while trying to delete the encoder, exit RadioDJ and delete Plugin_Encoders_List.xml or rename file from \RadioDJ\Plugins\encoders\ directory. After that you'll have to re-add the encoder(s).


  • New User

  • Offline
  • *
  • 3
Re: Index out of range error - v1.7.3.0.
« Reply #2 on: September 27, 2014, 11:58:39 AM »
Thanks Andy for your answer. Unfortunately I still get the exception, although I deleted the entry, and re-entered it.
I have the latest encoder plugin version (2.5.2).