-
Notifications
You must be signed in to change notification settings - Fork 84
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
ArrayIndexOutOfBoundsException errors #583
Comments
If you want to debug yourself, fire up com.cflint.cli.CFLintCLI in an IDE (Eclipse). Or if you want help here, could you please give the next couple lines, the real cause at the lines shown after "Caused by: java.lang.ArrayIndexOutOfBoundsException". |
I am seeing the same issue as Mark: Error: "java.lang.ArrayIndexOutOfBoundsException: 99" Location: com.cflint.CFLint.process(CFLint.java:346) I may debug the problem this weekend. |
Getting a similar error in a differe.nt location. Maybe a separate bug, but noting it here. Error: "130" Location: com.cflint.CFLint.reportRule(CFLint.java:1378) |
I get this too on Win10 w/ JRE 8u181. But it still produces a |
It looks like sometimes the attempt to determine the column is generating an outofbounds (and not reporting that error). Wrapping the setColumn calculation with a try/catch. |
fixed in dev branch. |
I am getting loads of the following error (with different indexes of course) in a scan of a client's source code:
What would be a good way to debug this error to be able to provide better information?
The command I am running is
java -jar ~/bin/CFLint-1.4.0-all.jar -folder .
The text was updated successfully, but these errors were encountered: