Exception: System.ArgumentOutOfRangeException Message: startIndex cannot be larger than length of string. Parameter name: startIndex
Stack: at System.String.Substring(Int32 startIndex, Int32 length) at GreenshotPlugin.Core.ClipboardHelper.<GetImageFilenames>d__43.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) at GreenshotPlugin.Core.ClipboardHelper.ContainsImage(IDataObject dataObject) at Greenshot.MainForm.ContextMenuOpening(Object sender, CancelEventArgs e) at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e) at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible) at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y) at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y) at System.Windows.Forms.NotifyIcon.ShowContextMenu() at System.Windows.Forms.NotifyIcon.WndProc(Message& msg) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Duplicate of BUG-2080, for progress see that ticket. This bug will be solved with a bugfix coming very soon. The problem is a filename on the clipboard which doesn't have an extension.
Christopher Gill December 28, 2016 at 3:56 PM
I have to uninstall then scan (ccleaner) and remove all registry entries before reinstalling or it will continue to crash.
Software will work perfectly for a few days then receive the following crash error anytime i try to launch it.
Software version: 1.2.9.104-RELEASE-3721c1004d2b146fd31b1e20740b8add11a61330 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2016-12-28 10:47:55 -05:00
OS: unknown (x64) 10.0 build 14393 revision 0
GDI object count: 34
User object count: 30
Exception: System.ArgumentOutOfRangeException
Message: startIndex cannot be larger than length of string.
Parameter name: startIndex
Stack:
at System.String.Substring(Int32 startIndex, Int32 length)
at GreenshotPlugin.Core.ClipboardHelper.<GetImageFilenames>d__43.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at GreenshotPlugin.Core.ClipboardHelper.ContainsImage(IDataObject dataObject)
at Greenshot.MainForm.ContextMenuOpening(Object sender, CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Configuration dump: