TechnoGate/watch_tower — Issue #11: Eye: Got exception each for nil:NilClass
Author: eMxyzptlk
Created: 2011-11-08 14:16:34+00:00
State: open
Labels: Backend, BUG

I got this exception today which I should probably fix tonight:

```bash
I, [2011-11-08T11:15:53.626282 #12146] INFO -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:56: Starting WatchTower.
I, [2011-11-08T11:15:53.631707 #12146] INFO -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:58: WatchTower has finished.
F, [2011-11-08T15:09:51.773917 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: The process raised an exception undefined method `each' for nil:NilClass
F, [2011-11-08T15:09:51.815745 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: ==== Backtrace ====
F, [2011-11-08T15:09:51.815931 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:31:in `block (2 levels) in start'
F, [2011-11-08T15:09:51.816253 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:21:in `each'
F, [2011-11-08T15:09:51.816320 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:21:in `block in start'
F, [2011-11-08T15:09:51.816378 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:18:in `loop'
F, [2011-11-08T15:09:51.816438 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:18:in `start'
F, [2011-11-08T15:09:51.816504 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/eye.rb:109:in `start!'
F, [2011-11-08T15:09:51.816618 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:133:in `start_eye'
F, [2011-11-08T15:09:51.816676 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:125:in `start_watch_tower'
F, [2011-11-08T15:09:51.816736 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91:in `block in start!'
F, [2011-11-08T15:09:51.816793 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:82:in `fork'
F, [2011-11-08T15:09:51.816965 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:82:in `start!'
F, [2011-11-08T15:09:51.817055 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:57:in `start'
F, [2011-11-08T15:09:51.817114 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
F, [2011-11-08T15:09:51.817190 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
F, [2011-11-08T15:09:51.817250 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
F, [2011-11-08T15:09:51.817391 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
F, [2011-11-08T15:09:51.817454 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/bin/watchtower:23:in `'
F, [2011-11-08T15:09:51.817512 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/bin/watchtower:19:in `load'
F, [2011-11-08T15:09:51.817566 #12267] FATAL -- : /home/wael/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/watch_tower-0.0.2/lib/watch_tower/cli/start.rb:91: /home/wael/.rbenv/versions/1.9.3-p0/bin/watchtower:19:in `

'
```