cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

Null pointer exception with missing semi colon in closures #712

Open gpickin opened 2 years ago

gpickin commented 2 years ago

I was getting a null pointer exception of file_error - and couldn't tell why. I finally figured out, one of the lines in my closure, was missing a semi colon, that seemed to kill the process, and result in that error, for that file.

I fixed the missing semi colon and it works now. Might be able to be more forgiving?