danchoi/vmail — Issue #63: Error viewing email
Author: tdavis
Created: 2011-12-06 16:06:19+00:00
State: open

1. Refresh VMAIL
2. Hit on email
3. New buffer contains error below

Error encountered in fetch_and_cache(), message_id <20111205195753.GA6722@seas.upenn.edu> [INBOX]:
undefined method `[]' for nil:NilClass
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/showing_message.rb:50:in `block in fetch_and_cache'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/imap_client.rb:478:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/imap_client.rb:478:in `block in reconnect_if_necessary'
/usr/local/lib/ruby/1.9.1/timeout.rb:57:in `timeout'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/imap_client.rb:477:in `reconnect_if_necessary'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/showing_message.rb:46:in `fetch_and_cache'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/showing_message.rb:30:in `block in show_message'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/helpers.rb:10:in `block in retry_if_needed'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/helpers.rb:9:in `times'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/helpers.rb:9:in `retry_if_needed'
/usr/local/lib/ruby/gems/1.9.1/gems/vmail-2.4.3/lib/vmail/showing_message.rb:30:in `show_message'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1558:in `perform_without_block'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1518:in `perform'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1592:in `block (2 levels) in main_loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1588:in `loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1588:in `block in main_loop'