Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error: undefined method `line=' for nil:NilClass #1155
Brakeman version: 4.1.1
Link to Rails application code: Private codebase
Scan of repository is showing a single error linking to the Brakeman code base. Attempting to track down what's causing it, but the error notice isn't providing us enough background to look into the code.
Running with debug just repeats this over and over and over:
In the debug output you should be able to see what file Brakeman is processing when the error occurs. That file should contain some assignments to globals like
If you could share what those assignments look like, that would be helpful.
I can/will change the code to be more defensive but I'd like to understand how this is happening in the first place.
Found it up above:
I can send you the globals assignments in balances.rb but would prefer to do so privately. What's the best way to do that?