Skip to content

Instantly share code, notes, and snippets.

@jvoorhis
Created July 22, 2011 01:31
Show Gist options
  • Save jvoorhis/1098673 to your computer and use it in GitHub Desktop.
Save jvoorhis/1098673 to your computer and use it in GitHub Desktop.
NoMethodError (You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]):
lib/heap_dump/dumped_lookup_table.rb:7:in `each'
lib/heap_dump/dumped_module.rb:38:in `find_class'
lib/heap_dump/decoder.rb:166:in `decode'
lib/read_dump.rb:23:in `initialize'
lib/read_dump.rb:32:in `session'
app/controllers/heap_viewer_controller.rb:5:in `show'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment