LoadedCamel / MidsReborn

Mids' Reborn : Hero Designer
GNU General Public License v3.0
24 stars 8 forks source link

Unhandled Exception when hovering over power #151

Closed Rapperman181 closed 2 years ago

Rapperman181 commented 2 years ago

Describe the bug Unhandled exception occurs when hovering over Shadow Field power. "Index was outside the bounds of the array."

To Reproduce Steps to reproduce the behavior:

  1. Create New Character Build
  2. Click on Controller Archetype from drop down menu
  3. Fill in desired power choices to level 26 where 'Shadow Field' becomes an available choice and hover over to select
  4. See error

Expected behavior Should be able to hover over and select power at level 26.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

***** Exception Text ** System.IndexOutOfRangeException: Index was outside the bounds of the array. at Mids_Reborn.Core.Base.Data_Classes.Power.<>c.b__447_3(KeyValuePair2 e) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer) at Mids_Reborn.Core.Base.Data_Classes.Power.GetEffectsInSummons() at Mids_Reborn.Core.Base.Data_Classes.Power.GetDifferentAttributesSubPower(Int32 fxIndex) at Mids_Reborn.Core.Base.Data_Classes.Power.BuildTooltipStringAllVectorsEffects(eEffectType effectType, eEffectType etModifies, eDamage damageType, eMez mezType, String groupName, Boolean includeEnhEffects) at Mids_Reborn.Forms.Controls.DataView.GetRankedEffect(Int32[] Index, Int32 ID) at Mids_Reborn.Forms.Controls.DataView.DisplayInfo(Boolean noLevel, Int32 iEnhLvl) at Mids_Reborn.Forms.Controls.DataView.DisplayData(Boolean noLevel, Int32 iEnhLevel) at Mids_Reborn.Forms.Controls.DataView.SetData(IPower basePower, IPower enhancedPower, Boolean noLevel, Boolean locked, Int32 iHistoryIdx) at Mids_Reborn.Forms.frmMain.Info_Power(Int32 powerIdx, Int32 iEnhLvl, Boolean NoLevel, Boolean Lock) at Mids_Reborn.Forms.frmMain.llPrimary_ItemHover(ListLabelItemV3 Item) at Mids_Reborn.Controls.ListLabelV3.ListLabelV3_MouseMove(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

***** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.CoreLib.dll

MidsReborn Assembly Version: 3.4.6.0 Win32 Version: 3.4.6.8 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/MidsReborn.dll

System.Runtime Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.dll

System.Windows.Forms Assembly Version: 6.0.2.0 Win32 Version: 6.0.822.36804 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/System.Windows.Forms.dll

System.ComponentModel.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.ComponentModel.Primitives.dll

System.Windows.Forms.Primitives Assembly Version: 6.0.2.0 Win32 Version: 6.0.822.36804 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/System.Windows.Forms.Primitives.dll

System.Runtime.InteropServices Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.InteropServices.dll

System.Drawing.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Drawing.Primitives.dll

System.Collections.Specialized Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Collections.Specialized.dll

Syncfusion.Licensing Assembly Version: 20.2.0.48 Win32 Version: 20.2.0.48 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/Syncfusion.Licensing.dll

System.Collections Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Collections.dll

System.Threading Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Threading.dll

System.Diagnostics.TraceSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.TraceSource.dll

System.Drawing.Common Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/System.Drawing.Common.dll

Microsoft.Win32.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/Microsoft.Win32.Primitives.dll

System.ComponentModel.EventBasedAsync Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Threading.Thread.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 6.0.822.36804 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/Accessibility.dll

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.1.25517 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/Newtonsoft.Json.dll

netstandard Assembly Version: 2.1.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/netstandard.dll

System.Runtime.Serialization.Formatters Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.Serialization.Formatters.dll

System.Collections.Concurrent Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Collections.Concurrent.dll

System.Linq Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Linq.dll

System.Linq.Expressions Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Linq.Expressions.dll

System.Runtime.Numerics Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.Numerics.dll

System.Private.Uri Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.Uri.dll

System.ComponentModel.TypeConverter Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.ComponentModel.TypeConverter.dll

System.ObjectModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.ObjectModel.dll

System.Runtime.Serialization.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.Serialization.Primitives.dll

System.Data.Common Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Data.Common.dll

System.Xml.ReaderWriter Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Xml.ReaderWriter.dll

System.Private.Xml Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.Xml.dll

System.ComponentModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.ComponentModel.dll

System.Reflection.Emit.ILGeneration Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Reflection.Emit.ILGeneration.dll

System.Reflection.Emit.Lightweight Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Reflection.Emit.Lightweight.dll

System.Reflection.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Reflection.Primitives.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.CoreLib.dll

System.Memory Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Memory.dll

System.Drawing Assembly Version: 6.0.2.0 Win32 Version: 6.0.822.36804 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/System.Drawing.dll

System.Numerics.Vectors Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Numerics.Vectors.dll

Microsoft.Win32.SystemEvents Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/Microsoft.Win32.SystemEvents.dll

Microsoft.VisualBasic.Core Assembly Version: 11.0.0.0 Win32 Version: 11.100.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/Microsoft.VisualBasic.Core.dll

System.Resources.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.8/System.Resources.Extensions.dll

System.Runtime.Loader Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.Loader.dll

MRBResourceLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/MRBResourceLib.dll

System.Diagnostics.Process Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.Process.dll

SkiaSharp Assembly Version: 2.88.0.0 Win32 Version: 2.88.1.0 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/SkiaSharp.dll

System.Runtime.InteropServices.RuntimeInformation Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.InteropServices.RuntimeInformation.dll

SkiaSharp.Views.Desktop.Common Assembly Version: 2.88.0.0 Win32 Version: 2.88.1.0 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/SkiaSharp.Views.Desktop.Common.dll

System.Diagnostics.FileVersionInfo Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.FileVersionInfo.dll

mscorlib Assembly Version: 4.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/mscorlib.dll

System.Collections.NonGeneric Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Collections.NonGeneric.dll

System.Text.RegularExpressions Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Text.RegularExpressions.dll

FastDeepCloner Assembly Version: 1.0.3.6 Win32 Version: 1.0.3.6 CodeBase: file:///C:/Users/rappe/AppData/Roaming/LoadedCamel/MidsReborn/FastDeepCloner.dll

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Runtime.CompilerServices.Unsafe.dll

System.Text.Encoding.CodePages Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Text.Encoding.CodePages.dll

System.Security.Cryptography.Algorithms Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Cryptography.Algorithms.dll

System.Text.Encoding.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Text.Encoding.Extensions.dll

System.Diagnostics.StackTrace Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.StackTrace.dll

System.Reflection.Metadata Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Reflection.Metadata.dll

System.Collections.Immutable Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Collections.Immutable.dll

System.Net.Http Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Net.Http.dll

System.Net.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Net.Primitives.dll

System.Diagnostics.Tracing Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.Tracing.dll

System.Diagnostics.DiagnosticSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Diagnostics.DiagnosticSource.dll

System.Net.Security Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Net.Security.dll

System.Security.Cryptography.X509Certificates Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Cryptography.X509Certificates.dll

System.Net.Sockets Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Net.Sockets.dll

System.Threading.Overlapped Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Threading.Overlapped.dll

System.Net.NameResolution Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Net.NameResolution.dll

System.Threading.ThreadPool Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Threading.ThreadPool.dll

System.Security.Cryptography.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Cryptography.Primitives.dll

System.Security.Principal.Windows Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Principal.Windows.dll

System.Security.Claims Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Claims.dll

System.Security.Cryptography.Encoding Assembly Version: 6.0.0.0 Win32 Version: 6.0.822.36306 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Security.Cryptography.Encoding.dll

zethriller commented 2 years ago

Fixed in internal builds already. This may happen on other powers containing a pet summon or a pseudo pet.