Depressurizer icon indicating copy to clipboard operation
Depressurizer copied to clipboard

Fatal Error Encountered

Open aj2work opened this issue 7 years ago • 0 comments

I also left this message in the Steam Community Discussion Boards for the Steam group.

When I attempt to auto-categorize by name using 0.7.4.1, I get a fatal error and the program terminates. This is completely odd, especially considering that it had been working just fine before. Here is the error message that I'm getting:

System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Depressurizer.AutoCatName.CategorizeGame(GameInfo game, Filter filter) in D:\Theo\Desktop\depressurizer\src\Depressurizer\AutoCat\AutoCatName.cs:line 64
   at Depressurizer.FormMain.Autocategorize(Boolean selectedOnly, AutoCat autoCat, Boolean scrape, Boolean refresh) in D:\Theo\Desktop\depressurizer\src\Depressurizer\MainForm.cs:line 1656
   at Depressurizer.FormMain.RunAutoCats(List`1 autocats, Boolean first, Boolean group) in D:\Theo\Desktop\depressurizer\src\Depressurizer\MainForm.cs:line 3272
   at Depressurizer.FormMain.mbtnAutoCategorize_Click(Object sender, EventArgs e) in D:\Theo\Desktop\depressurizer\src\Depressurizer\MainForm.cs:line 3247
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at MaterialSkin.Controls.MaterialRaisedButton.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is there a fix?

aj2work avatar Oct 20 '17 20:10 aj2work