-
Notifications
You must be signed in to change notification settings - Fork 732
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
Error: undefined method `node_type' for nil:NilClass case value.node_type #1790
Comments
I get the same error with Brakeman 5.2.1, so probably a local / rvm issue. |
presidentbeef
added a commit
that referenced
this issue
Oct 11, 2023
Hi @tqmz - wow this is some old Brakeman code that was written well before keyword splats existed in Ruby 😄 |
Nice @presidentbeef, thanks! (Will there be a patch release?) |
Yes, soon... 🤞 |
Repository owner
locked and limited conversation to collaborators
May 9, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Background
Brakeman version: 6.0.1
Rails version: 7.0.4.3
Ruby version: 3.1.4p223
Issue
When running
brakeman --debug .
I get the following error:in
brakeman/lib/brakeman/tracker/controller.rb
Line 126 in ccdb7eb
Using safe navigation seems to resolve the issue:
but I'm not filing a PR as I'm not sure what the code is doing.
The
args
leading to the error look like this:The text was updated successfully, but these errors were encountered: