LoadedCamel / MidsReborn

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

Hovering over Summon Demon Prince throws an exception #150

Closed Omnifob closed 2 years ago

Omnifob commented 2 years ago

Describe the bug Hovering over Summon Demon Prince, throws an InvalidOperationException: "Cannot load the text."

To Reproduce

  1. Make a new character build
  2. Choose "Mastermind" (Archetype)
  3. Choose "Demon Summoning" (Primary Power Set)
  4. Hover over "Summon Demon Prince"

Expected behavior No exception thrown, being able to click the power to add to build.

Screenshots N/A

Desktop (please complete the following information):

Additional context Tested all three databases (Generic, Homecoming, Rebirth)

** Exception Text ** System.InvalidOperationException: Cannot load the text. at System.Windows.Forms.RichTextBox.StreamIn(Stream data, SF flags) at System.Windows.Forms.RichTextBox.StreamIn(String str, SF flags) at System.Windows.Forms.RichTextBox.set_Rtf(String value) 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 ** MidsReborn Assembly Version: 3.4.6.0 Win32 Version: 3.4.6.8 CodeBase: file:///E:/Games/CoH/Mids'%20Reborn/MRB_3.4.6.8/MidsReborn.dll

Omited all other assemblies listed as I believe them to be irrelevant.

zethriller commented 2 years ago

Can reproduce this in dev.

zethriller commented 2 years ago

Updated power long description --> Fixed