-
Notifications
You must be signed in to change notification settings - Fork 551
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
BacktraceFilter returns nil #837
Comments
In case it helps, I found this when running mobile-fu tests to package the library for debian, and figured it was an incompatibility with Rails backtrace cleaner. I workarounded it like this, since the |
If this is a test in rails, then it's probably not my backtrace_filter. If so, please file with rails. |
I am not sure I understand the problem and I would be able to articulate in RoR. Thanks for help! |
I got a fix into rails AND added some defensive coding to minitest to prevent this in the future. Just released too! |
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix #837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix minitest/minitest#837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix minitest/minitest#837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix minitest/minitest#837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix minitest/minitest#837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
…s back empty. + Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env. This should fix minitest/minitest#837 and bypasses the need for a release of rails/rails#39304. [git-p4: depot-paths = "//src/minitest/dev/": change = 12653]
Hey, I am digging in the codebase but I am unable to find why we see exception "NoMethodError: undefined method `split' for nil:NilClass" on this line:
There appear to be somehow complex filtering of stacktrace, but it looks like it returns
nil
for the object onsplit
is called in our environment:The test in question is: https://ci.theforeman.org/job/test_plugin_matrix/1742/database=postgresql,ruby=2.5,slave=fast/console
I am going to fix our test to avoid those
nil
values, it was a copy and paste error. But creating this ticket in case you can spot what's actually wrong.The text was updated successfully, but these errors were encountered: