Closed
Description
When Navigating through MultiFiles using alt-up/alt-down there is an error when the lastmost boundary is reached. But only if the newest logfile is empty (no lines produced yet).
I guess the alt-down in MultiFile-view is trying to jump to the first line in that newst file, but since it is empty there is an ArgumentOutOfRangeException exception. Verified by adding a line in the emptty file and the error went away.
LogExpert 1.8.7 on Win10 with local logfiles (copied unmodified from apache2-logs on a raspberry pi)
See stacktrace below
Index låg utanför intervallet. Det får inte vara negativt och måste vara mindre än mängdens storlek.
Parameternamn: index
ArgumentOutOfRangeException
vid System.Collections.ArrayList.get_Item(Int32 index)
vid System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
vid System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
vid LogExpert.LogWindow.SelectLine(Int32 line, Boolean triggerSyncCall, Boolean shouldScroll)
vid LogExpert.LogWindow.LogWindow_KeyDown(Object sender, KeyEventArgs e)
vid LogExpert.LogTabWindow.LogTabWindow_KeyDown(Object sender, KeyEventArgs e)
vid System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
vid System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
vid System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
vid System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
vid System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
vid System.Windows.Forms.Control.WmKeyChar(Message& m)
vid System.Windows.Forms.Control.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)