Skip to content

Instantly share code, notes, and snippets.

@JohnBat26
Created October 31, 2013 09:29
Show Gist options
  • Save JohnBat26/7246830 to your computer and use it in GitHub Desktop.
Save JohnBat26/7246830 to your computer and use it in GitHub Desktop.
undefined method `length' for nil:NilClass (ActionView::Template::Error)
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/lang/ruby.rb:239:in `block in scan_delimited_region'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/lang/ruby.rb:231:in `loop'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/lang/ruby.rb:231:in `scan_delimited_region'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/lang/ruby.rb:154:in `step'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/common.rb:77:in `tokenize'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/syntax-1.0.0/lib/syntax/convertors/html.rb:16:in `convert'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/report.rb:245:in `snippet'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/report.rb:228:in `extra_failure_content'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/_step.erb:37:in `__usr_local_rvm_gems_ruby_______p____wc_gems_pretty_face_______lib_pretty_face_templates__step_erb__2859192469021845916_149744100'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:237:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:41:in `render_partial'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:27:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/haml-4.0.3/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/feature.erb:109:in `block (2 levels) in __usr_local_rvm_gems_ruby_______p____wc_gems_pretty_face_______lib_pretty_face_templates_feature_erb___4295716964739356346_148845160'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/feature.erb:104:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/feature.erb:104:in `block in __usr_local_rvm_gems_ruby_______p____wc_gems_pretty_face_______lib_pretty_face_templates_feature_erb___4295716964739356346_148845160'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/feature.erb:99:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/templates/feature.erb:99:in `__usr_local_rvm_gems_ruby_______p____wc_gems_pretty_face_______lib_pretty_face_templates_feature_erb___4295716964739356346_148845160'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:18:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:36:in `render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:17:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:24:in `render'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/haml-4.0.3/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/html.rb:169:in `write_feature_file'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/html.rb:156:in `block in generate_report'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/html.rb:155:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/html.rb:155:in `generate_report'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/pretty_face-0.9.1/lib/pretty_face/formatter/html.rb:123:in `after_features'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/ast/tree_walker.rb:181:in `block in send_to_all'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/ast/tree_walker.rb:179:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/ast/tree_walker.rb:179:in `send_to_all'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/ast/tree_walker.rb:171:in `broadcast'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/ast/tree_walker.rb:20:in `visit_features'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/runtime.rb:48:in `run!'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/lib/cucumber/cli/main.rb:47:in `execute!'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/gems/cucumber-1.3.7/bin/cucumber:13:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/bin/cucumber:23:in `load'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/bin/cucumber:23:in `<main>'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/bin/ruby_noexec_wrapper:14:in `eval'
/usr/local/rvm/gems/ruby-2.0.0-p247@wc/bin/ruby_noexec_wrapper:14:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment