Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating through MultiFiles #202

Closed
hakanostrom opened this issue Oct 10, 2021 · 0 comments
Closed

Navigating through MultiFiles #202

hakanostrom opened this issue Oct 10, 2021 · 0 comments
Labels
bug Pesky little gritter, needs squashing

Comments

@hakanostrom
Copy link
Contributor

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)
@Hirogen Hirogen added the bug Pesky little gritter, needs squashing label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Pesky little gritter, needs squashing
Projects
None yet
Development

No branches or pull requests

2 participants