Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionView::Template::Error: Can't be in the context of nil. [, <!DOCTYPE html><html> <head> <title>Dashboard | Beehive</title> <link rel="stylesheet" media="screen" href="/assets/active_admin-25fba6432da33a6bb1db0dcf20cf867afa7ce89f7d1094510ee580db #808

Closed
suninthesky opened this issue Dec 11, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@suninthesky
Copy link
Contributor

View details in Rollbar: https://rollbar.com/beehive-giving/beehive-giving/items/277/


ArgumentError: Can't be in the context of nil. [, <!DOCTYPE html><html>
  <head>
    <title>Dashboard | Beehive</title>
<link rel="stylesheet" media="screen" href="/assets/active_admin-25fba6432da33a6bb1db0dcf20cf867afa7ce89f7d1094510ee580dbbcae6bee.css" /><link rel="stylesheet" media="print" href="/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css" /><link rel="stylesheet" media="print" href="/assets/active_admin_print-e5aef693461dd6bc90897eb024553d2d3de6675f4852d714ce6fdb271de3e874.css" /><script src="/assets/active_admin-db667b42c5eca12bbdcb6d5ffcca52388d7c56417f29cc1772a0585b4479a85e.js"></script><meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="dOWhS9AS8TgLxWc8aneE1+6+FNvpAITMzul0LAo8PkyliEnidi1UWBRg0PfEMnEbcEcWumVK/jotPeHR/9+0QQ==" />  </head>
</html>
]
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/context.rb", line 90, in with_current_arbre_element
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/element/builder_methods.rb", line 49, in with_current_arbre_element
  File "/app/config/initializers/active_admin.rb", line 241, in build_active_admin_head
  File "/app/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.4.3/lib/active_admin/views/pages/base.rb", line 7, in build
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/element/builder_methods.rb", line 30, in block in build_tag
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/context.rb", line 92, in with_current_arbre_element
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/element/builder_methods.rb", line 26, in build_tag
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/element/builder_methods.rb", line 39, in insert_tag
  File "/app/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.4.3/app/views/active_admin/page/index.html.arb", line 2, in block in _vendor_bundle_ruby_______gems_activeadmin_______app_views_active_admin_page_index_html_arb__3041516549804714336_47375193126700
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/context.rb", line 45, in instance_eval
  File "/app/vendor/bundle/ruby/2.5.0/gems/arbre-1.1.1/lib/arbre/context.rb", line 45, in initialize
  File "/app/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.4.3/app/views/active_admin/page/index.html.arb", line 1, in new
  File "/app/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.4.3/app/views/active_admin/page/index.html.arb", line 1, in _vendor_bundle_ruby_______gems_activeadmin_______app_views_active_admin_page_index_html_arb__3041516549804714336_47375193126700
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 159, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 170, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 354, in instrument_render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 157, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/abstract_renderer.rb", line 44, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb", line 23, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/abstract_renderer.rb", line 43, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 77, in block in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 34, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 73, in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 16, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/renderer.rb", line 44, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/renderer.rb", line 25, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/rendering.rb", line 103, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/streaming.rb", line 219, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/rendering.rb", line 84, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb", line 52, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/renderers.rb", line 142, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/abstract_controller/rendering.rb", line 25, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb", line 36, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 46, in block (2 levels) in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/benchmark.rb", line 14, in block in ms
  File "/app/vendor/ruby-2.5.3/lib/ruby/2.5.0/benchmark.rb", line 308, in realtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/benchmark.rb", line 14, in ms
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 46, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb",
@suninthesky suninthesky added the bug Something isn't working label Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant