#791 new
shawn (at vegantech)

[production][unknown] NoMethodError: District Upload Error: undefined method `content' for nil:NilClass

Reported by shawn (at vegantech) | May 10th, 2014 @ 08:01 AM | in skyward import

See this exception on Errbit

NoMethodError: District Upload Error: undefined method `content' for nil:NilClass

Summary

Where

unknown

Occured

Feb 21 10:04am

Similar

12

Params

{
}

Session

{
}

Backtrace


86: lib/verify_student_in_district_externally.rb -> verify_externally
35: lib/verify_student_in_district_externally.rb -> verify
209: app/models/district.rb -> can_claim?
193: app/models/district.rb -> claim
171: lib/csv_importer/students.rb -> block in try_to_claim_students_in_other_districts
170: lib/csv_importer/students.rb -> each
170: lib/csv_importer/students.rb -> try_to_claim_students_in_other_districts
150: lib/csv_importer/students.rb -> insert_update_delete
21: lib/csv_importer/base.rb -> import
88: lib/import_csv.rb -> csv_importer
72: lib/import_csv.rb -> process_file
49: lib/import_csv.rb -> block (2 levels) in import
49: lib/import_csv.rb -> each
49: lib/import_csv.rb -> block in import
280: /usr/lib/ruby/1.9.1/benchmark.rb -> measure
47: lib/import_csv.rb -> import
16: app/jobs/district_upload_job.rb -> perform
7: app/jobs/district_upload_job.rb -> block in async_perform
113: [GEM_ROOT]/bundler/gems/spawnling-259e988fa7eb/lib/spawnling.rb -> block in initialize
164: [GEM_ROOT]/bundler/gems/spawnling-259e988fa7eb/lib/spawnling.rb -> block in fork_it
140: [GEM_ROOT]/bundler/gems/spawnling-259e988fa7eb/lib/spawnling.rb -> fork
140: [GEM_ROOT]/bundler/gems/spawnling-259e988fa7eb/lib/spawnling.rb -> fork_it
113: [GEM_ROOT]/bundler/gems/spawnling-259e988fa7eb/lib/spawnling.rb -> initialize
6: app/jobs/district_upload_job.rb -> new
6: app/jobs/district_upload_job.rb -> async_perform
19: app/controllers/scripted_controller.rb -> district_upload
4: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/implicit_render.rb -> send_action
167: [GEM_ROOT]/gems/actionpack-3.2.17/lib/abstract_controller/base.rb -> process_action
10: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/rendering.rb -> process_action
18: [GEM_ROOT]/gems/actionpack-3.2.17/lib/abstract_controller/callbacks.rb -> block in process_action
425: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> run_FRAGMENT__process_action__FRAGMENT__callbacks
405: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> __run_callback
385: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> run_process_actioncallbacks
81: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> run_callbacks
17: [GEM_ROOT]/gems/actionpack-3.2.17/lib/abstract_controller/callbacks.rb -> process_action
29: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/rescue.rb -> process_action
30: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb -> block in process_action
123: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/notifications.rb -> block in instrument
20: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/notifications/instrumenter.rb -> instrument
123: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/notifications.rb -> instrument
29: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb -> process_action
207: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/params_wrapper.rb -> process_action
18: [GEM_ROOT]/gems/activerecord-3.2.17/lib/active_record/railties/controller_runtime.rb -> process_action
34: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/rails3/action_controller.rb -> block in process_action
268: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> block in perform_action_with_newrelic_trace
240: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/method_tracer.rb -> trace_execution_scoped
263: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> perform_action_with_newrelic_trace
33: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/rails3/action_controller.rb -> process_action
121: [GEM_ROOT]/gems/actionpack-3.2.17/lib/abstract_controller/base.rb -> process
45: [GEM_ROOT]/gems/actionpack-3.2.17/lib/abstract_controller/rendering.rb -> process
203: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal.rb -> dispatch
14: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal/rack_delegation.rb -> dispatch
246: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_controller/metal.rb -> block in action
73: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb -> call
73: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb -> dispatch
36: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb -> call
68: [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb -> block in call
56: [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb -> each
56: [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb -> call
608: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb -> call
177: [GEM_ROOT]/gems/omniauth-1.1.3/lib/omniauth/strategy.rb -> call!
157: [GEM_ROOT]/gems/omniauth-1.1.3/lib/omniauth/strategy.rb -> call
177: [GEM_ROOT]/gems/omniauth-1.1.3/lib/omniauth/strategy.rb -> call!
157: [GEM_ROOT]/gems/omniauth-1.1.3/lib/omniauth/strategy.rb -> call
8: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/rack/error_collector.rb -> call
8: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/rack/error_collector.rb -> call
14: [GEM_ROOT]/gems/newrelic_rpm-3.5.8.72/lib/new_relic/rack/agent_hooks.rb -> call
35: [GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb -> block in call
34: [GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb -> catch
34: [GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb -> call
9: lib/best_standards_support.rb -> call
23: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/etag.rb -> call
35: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/conditionalget.rb -> call
14: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/head.rb -> call
21: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/params_parser.rb -> call
242: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/flash.rb -> call
210: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb -> context
205: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb -> call
341: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/cookies.rb -> call
64: [GEM_ROOT]/gems/activerecord-3.2.17/lib/active_record/query_cache.rb -> call
479: [GEM_ROOT]/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb -> call
28: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/callbacks.rb -> block in call
405: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> run_FRAGMENT__call__FRAGMENT__callbacks
405: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> __run_callback
385: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> _run_call_callbacks
81: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/callbacks.rb -> run_callbacks
27: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/callbacks.rb -> call
102: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/sendfile.rb -> call
31: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/remote_ip.rb -> call
16: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb -> call
56: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb -> call
32: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/rack/logger.rb -> call_app
16: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/rack/logger.rb -> block in call
22: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb -> tagged
16: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/rack/logger.rb -> call
22: [GEM_ROOT]/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb -> call
21: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/methodoverride.rb -> call
17: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/runtime.rb -> call
72: [GEM_ROOT]/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb -> call
15: [GEM_ROOT]/gems/rack-1.4.5/lib/rack/lock.rb -> call
136: [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb -> forward
143: [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb -> pass
155: [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb -> invalidate
71: [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb -> call!
51: [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb -> call
484: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/engine.rb -> call
231: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/application.rb -> call
30: [GEM_ROOT]/gems/railties-3.2.17/lib/rails/railtie/configurable.rb -> method_missing
96: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/request_handler.rb -> process_request
516: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb -> accept_and_process_next_request
274: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb -> main_loop
206: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb -> start_request_handler
171: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb -> block in handle_spawn_application
470: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/utils.rb -> safe_fork
166: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb -> handle_spawn_application
357: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb -> server_main_loop
206: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb -> start_synchronously
180: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb -> start
129: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb -> start
253: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb -> block (2 levels) in spawn_rack_application
132: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb -> lookup_or_add
246: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb -> block in spawn_rack_application
82: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb -> block in synchronize
: [unknown source] -> [unknown method] 79: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb -> synchronize
244: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb -> spawn_rack_application
137: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb -> spawn_application
275: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb -> handle_spawn_application
357: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb -> server_main_loop
206: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb -> start_synchronously
99: /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/passenger-spawn-server ->

Environment

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Student Intervention Monitoring System

Shared Ticket Bins

People watching this ticket

Tags

Pages