Skip to content

Instantly share code, notes, and snippets.

@emschwar
Created August 10, 2009 17:42
Show Gist options
  • Save emschwar/165305 to your computer and use it in GitHub Desktop.
Save emschwar/165305 to your computer and use it in GitHub Desktop.
app/models/ug 10 11:48:25 narsil rails[19142]: ActionView::TemplateError (You have a nil object when you didn't expect it!The error occurred while evaluating nil.campaign_id) on line #4 of app/views/closings/show.xml.builder:1: xml.closing(:period_name => @closing.period_name) do2: xml.manifests(:type => "array") do3: @closing.receivables.each do |receivable|4: xml.manifest(:campaign_id => receivable.campaign_id,5: :advertiser => receivable.advertiser.name,6: :agency => receivable.agency.name) do7: xml.plan_rows(:type => "array") do (__DELEGATION__):2:in `__send__' (__DELEGATION__):2:in `campaign_id' app/views/closings/show.xml.builder:4:in `_run_builder_app47views47closings47show46xml46builder' app/views/closings/show.xml.builder:3:in `each' app/views/closings/show.xml.builder:3:in `_run_builder_app47views47closings47show46xml46builder' builder (2.1.2) lib/builder/xmlbase.rb:134:in `call' builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures' builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing' app/views/closings/show.xml.builder:2:in `_run_builder_app47views47closings47show46xml46builder' builder (2.1.2) lib/builder/xmlbase.rb:134:in `call' builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures' builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing' app/views/closings/show.xml.builder:1:in `_run_builder_app47views47closings47show46xml46builder' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/method_tracer.rb:138:in `render' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/method_tracer.rb:41:in `trace_method_execution_with_scope' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/method_tracer.rb:137:in `render' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:123:in `perform_action' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/method_tracer.rb:41:in `trace_method_execution_with_scope' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:109:in `perform_action' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/method_tracer.rb:18:in `trace_method_execution_no_scope' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:103:in `perform_action' vendor/gems/newrelic_rpm-2.8.8/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:44:in `dispatch' vendor/gems/thumblemonks-sso_what-0.2.1/lib/thumblemonks/base_domain_session.rb:13:in `call'
Aug 10 11:48:25 narsil rails[19142]: Rendered rescues/_trace (71.3ms)
Aug 10 11:48:25 narsil rails[19142]: Rendered rescues/_request_and_response (0.4ms)
Aug 10 11:48:25 narsil rails[19142]: Rendering rescues/layout (internal_server_error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment