-
Notifications
You must be signed in to change notification settings - Fork 48
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
Uncaught Error: Column start (20) greater than line length (19) for line 268 #200
Comments
@joshuamackin Do you happen to have a bit of code that you can share that triggers this? I've seen a report that |
Unfortunately I don't. Well I just don't remember exactly where it was to reproduce the bug. Usually when the bug popup triggers, it says the bug was already reported so I wasn't quite ready when it wasn't reported. |
That specific message means |
In case it is helpful, I came here to note that this looks similar to a bug I got and reported in the wrong repo: AtomLinter/linter-eslint#995. |
Correct, it's the same mechanism detecting the invalid points, but without knowing what code triggered it it's impossible to know what is going on here. |
@joshuamackin @djake Can you share the |
@Arcanemagus @sonicdoe I think I've figured out how to reproduce this issue. Create a new .js file and add at least a few thousand lines of code, and save the file. e.g.:
Then pick the end of a line, press enter (to create a new empty line), and then press backspace (to clear the empty line) in fairly quick succession. I sometimes have to do it a couple of times to trigger the exception. |
It sounds like by the time |
@sonicdoe Minor point of clarification: Same It's certainly a possibility, in many of the other providers we grab the contents before a lint, and then check that they haven't changed after the actual linter ( |
This issue should be fixed in v4.0.1. Let me know if you’re still running into similar errors. |
In retrospect, my fix was a bit short-sighted since it runs after atom-linter’s |
This should now actually be fixed in v4.0.2. |
[Enter steps to reproduce:]
Atom: 1.19.4 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: linter-js-standard package 4.0.0
Stack Trace
Uncaught Error: Column start (20) greater than line length (19) for line 268
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: