Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4430

Entering empty plugin section and use Arrow left/right, results in exception

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.7.100
    • 1.7.0
    • Titan Skin
    • None

    Description

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">I just noticed we can run into an exception when we enter the plugins section, without having a single plugin in there (for example when all are shown in &#39;Home&#39;):</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">[code]</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">[2014-04-09 17:18:15,138] [Error &nbsp;] [MPMain &nbsp; ] [ERROR] - OnAction exception:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">Parameter name: index</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp; &nbsp;at System.ThrowHelper.ThrowArgumentOutOfRangeException()</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp; &nbsp;at MediaPortal.GUI.Library.GUIMenuControl.OnUp()</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp; &nbsp;at MediaPortal.GUI.Library.GUIMenuControl.OnAction(Action action)</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp; &nbsp;at MediaPortal.GUI.Library.GUIOverlayWindow.OnMouseMove(Int32 cx, Int32 cy, Action action)</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp; &nbsp;at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">[/code]</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp;</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">Steps to reproduce:
      <ul>
      <li><span style="font-size: 10pt; line-height: 1.5;">Make sure you have 0 plugins listed in the plugin section (set them to show in Plugins in MP Config)</span></li>
      <li><span style="font-size: 10pt; line-height: 1.5;">Enter plugin section</span></li>
      <li><span style="font-size: 10pt; line-height: 1.5;">Use arrow left/right and the exception is shown in the logs.</span></li>
      </ul>
      </div>

      Attachments

        Activity

          People

            sebastiii sebastiii
            HomeY HomeY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: