Menu

#29 Crashing when trying to create a new weapon in Bank tab (2.4.0.308)

2.4.0.309
closed-fixed
matt911
5
2019-05-21
2019-05-18
Fumbledew
No

Hi again, I have a new bug to inform you about regarding the bank tab (I also want to know if priority 1 is highest or is it priority 9 - when creating a ticket?) as the title says, when I am trying to create a new weapon / item, the application instantly closes and creates a crash log (version 2.4.0.308) which is as follows:

WillowTree# failed due to an unhandled exception.

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List1.get_Item(Int32 index) at WillowTree.Inventory.InventoryEntry..ctor(Byte inType, List1 inParts, List`1 inValues)
at WillowTree.Inventory.InventoryTreeList.AddNew(Byte invType)
at WillowTree.Plugins.ucGears.NewGear_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.ToolStrip.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.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.MenuStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at WillowTree.Program.Main()

Discussion

  • matt911

    matt911 - 2019-05-19

    I think higher numbers indicate higher importance, but it does not matter what priority you set. The priority is for the willowtree# development team's organizational use and if it needs to be adjusted I will edit it. For the most part I don't use it because there aren't enough bug reports waiting to be processed to need to prioritize them in that sort of organized way. The priority of this is not particularly high since there are plenty of other places a person can create a new item or weapon in WillowTree#, but I'll look into it in a day or two and get it fixed up. The bank is the least likely place that someone would create an item and that's probably why the bug hasn't been detected up until now.

     
  • matt911

    matt911 - 2019-05-21

    Fixed as of version 2.4.0.309. Let me know if you have any further problems with it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.