aniero/camper_van — Issue #4: Undefined method `email_address` for `User`
Author: brandur
Created: 2011-12-27 06:09:02+00:00
State: open

Once every 3-4 days I'll get a crash (stack trace below). It seems to occur passively (i.e. not something triggered directly by an action on my part). Let me know whether you need any help tracking it down further or with the fix!

```
/home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/user.rb:51:in
`initialize': undefined method `email_address' for # (NoMethodError)
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/
channel.rb:299:in `new'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/
channel.rb:299:in `block in map_message_to_irc'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/
channel.rb:380:in `user_for_message'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/
channel.rb:256:in `map_message_to_irc'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/
channel.rb:246:in `block in stream_campfire_to_channel'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/firering-1.1.1/lib/firering/conn
ection.rb:84:in `call'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/firering-1.1.1/lib/firering/conn
ection.rb:84:in `block in stream'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/firering-1.1.1/lib/firering/connection.rb:97:in `call'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/firering-1.1.1/lib/firering/connection.rb:97:in `<<'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/firering-1.1.1/lib/firering/connection.rb:97:in `block in stream'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:275:in `call'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:275:in `on_decoded_body_data'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:268:in `on_body_data'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:582:in `process_chunk_body'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:330:in `dispatch'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-http-request-0.3.0/lib/em-http/client.rb:256:in `receive_data'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/lib/camper_van/server.rb:16:in `run'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/camper_van-0.0.1/bin/camper_van:53:in `'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/bin/camper_van:19:in `load'
from /home/fyrerise/.rbenv/versions/1.9.2-p290/bin/camper_van:19:in `

'
```