Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.7.0
-
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 'Home'):</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 ] [MPMain ] [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;"> 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;"> 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;"> 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;"> 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;"> 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;"> </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>
<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 ] [MPMain ] [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;"> 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;"> 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;"> 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;"> 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;"> 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;"> </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
Issue Links
- links to