netzpirat/guard-jasmine — Issue #4: ERROR: Cannot decode JSON from PhantomJS runner: A JSON text must at least contain two octets!
Author: thibaudgg
Created: 2011-10-12 09:40:32+00:00
State: open

guard-jasmine (0.7.0 with Phantomjs 1.3.0) block when running (run_on_change / run_all) and I got that when I do Ctrl+C:

```
ERROR: Cannot decode JSON from PhantomJS runner: A JSON text must at least contain two octets!
ERROR: Please report an issue at: https://github.com/netzpirat/guard-jasmine/issues
ERROR:
ERROR: Guard::Jasmine failed to achieve its , exception was:
NoMethodError: undefined method `[]' for nil:NilClass
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:192:in `notify_spec_result'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:164:in `evaluate_response'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:34:in `block in run'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:33:in `each'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:33:in `inject'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine/runner.rb:33:in `run'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-jasmine-0.7.0/lib/guard/jasmine.rb:88:in `run_all'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:276:in `block in run_supervised_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:274:in `catch'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:274:in `run_supervised_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:207:in `block (3 levels) in run_guard_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:203:in `each'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:203:in `block (2 levels) in run_guard_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:202:in `catch'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:202:in `block in run_guard_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:201:in `each'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:201:in `run_guard_task'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:148:in `block in run_all'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:184:in `block in run'
:10:in `synchronize'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:181:in `run'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard.rb:147:in `run_all'
/Users/Thibaud/Codes/test/vendor/ruby/1.9.1/gems/guard-0.8.4/lib/guard/interactor.rb:31:in `block in start'
```