This project is read-only.


Adding all files (*.*)


  1. Import Files...
  2. Select All files (.) in some folder (In particular I am trying to count lines in my own programming language source files all with a .nsl file ext.)
  3. Select all the imported files and choose Count
    System.ArgumentNullException: Value cannot be null.
    Parameter name: fullName
    at LineCounter.Application.FileManager.GetFile(String fullName)
    at LineCounter.Application.FileModel.CountFile(Boolean forceChoosingCounter, String[] fileNames)
    at LineCounter.Application.UI.FileList.toolStripMenuItem_Count_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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.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.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.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)
Closed Apr 20, 2011 at 8:57 PM by rabbit


wrote Apr 20, 2011 at 8:57 PM

Resolved with changeset 87787.

rabbit wrote Apr 20, 2011 at 9:16 PM

Hi, the bug has been resolved, please install the new version (1.5.6) and try again :)
You can also write your own counter by inherit the LineCounter.Counter abstract class in LineCounter.dll and put the dll file under Counters folder. In this way you can count lines in your way.

Thanks for your interest in Line Counter!

wrote Feb 14, 2013 at 1:34 AM

wrote May 16, 2013 at 7:05 AM

wrote Thu at 3:49 PM