NoMethodError: undefined method `id' for nil:NilClass
voodoorai2000 opened this issue · comments
View details in Rollbar: https://rollbar.com/consul/Agendas/items/697/
NoMethodError: undefined method `id' for nil:NilClass
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/models/notification.rb", line 395, in block in get_datos_especificos
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/models/notification.rb", line 293, in each
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/models/notification.rb", line 293, in get_datos_especificos
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/models/notification.rb", line 264, in guardado_parametros_formulario
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/models/notification.rb", line 195, in saveInicioExpediente
File "/aytomad/app/agendas/agendas/releases/20220202151650/app/controllers/admin/notifications_controller.rb", line 29, in edit
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb", line 198, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 10, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 117, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 505, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 81, in run_callbacks
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb", line 19, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rescue.rb", line 29, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in block in instrument
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in instrument
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/params_wrapper.rb", line 250, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/railties/controller_runtime.rb", line 18, in process_action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb", line 137, in process
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb", line 30, in process
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb", line 196, in dispatch
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rack_delegation.rb", line 13, in dispatch
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb", line 237, in block in action
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb", line 74, in dispatch
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb", line 43, in serve
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb", line 43, in block in serve
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb", line 30, in each
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb", line 30, in serve
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb", line 817, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/turnout-2.4.1/lib/rack/turnout.rb", line 25, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/rack/agent_hooks.rb", line 30, in traced_call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/rack/browser_monitoring.rb", line 32, in traced_call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb", line 36, in block in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb", line 35, in catch
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager