Created
May 30, 2013 18:38
-
-
Save sohara/5680080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError - undefined method `count_on_hand' for nil:NilClass: | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock_location.rb:45:in `fill_status' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/packer.rb:19:in `block in default_package' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/associations/collection_proxy.rb:89:in `method_missing' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/packer.rb:18:in `default_package' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/packer.rb:13:in `packages' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/coordinator.rb:21:in `block in build_packages' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/relation/delegation.rb:6:in `each' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/coordinator.rb:19:in `build_packages' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/stock/coordinator.rb:12:in `packages' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/core/app/models/spree/order.rb:540:in `create_proposed_shipments' | |
(gem) state_machine-1.2.0/lib/state_machine/eval_helpers.rb:58:in `evaluate_method' | |
(gem) state_machine-1.2.0/lib/state_machine/callback.rb:191:in `block in run_methods' | |
(gem) state_machine-1.2.0/lib/state_machine/callback.rb:190:in `run_methods' | |
(gem) state_machine-1.2.0/lib/state_machine/callback.rb:159:in `call' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:420:in `before' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:246:in `block in run_callbacks' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:348:in `block in pausable' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:348:in `pausable' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:246:in `run_callbacks' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:127:in `run_callbacks' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:212:in `run_callbacks' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block (2 levels) in perform' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block in perform' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:186:in `within_transaction' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:62:in `perform' | |
(gem) state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in `block in around_save' | |
(gem) state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:530:in `block in transaction' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/transactions.rb:208:in `transaction' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/method_tracer.rb:523:in `block in transaction_with_trace_ActiveRecord_self_name_transaction' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/method_tracer.rb:273:in `trace_execution_scoped' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/method_tracer.rb:518:in `transaction_with_trace_ActiveRecord_self_name_transaction' | |
(gem) state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:529:in `transaction' | |
(gem) state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:501:in `around_save' | |
(gem) state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:483:in `save' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:154:in `block (2 levels) in run_actions' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:154:in `block in run_actions' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:170:in `catch_exceptions' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:148:in `run_actions' | |
(gem) state_machine-1.2.0/lib/state_machine/transition_collection.rb:60:in `perform' | |
(gem) state_machine-1.2.0/lib/state_machine/transition.rb:219:in `perform' | |
(gem) state_machine-1.2.0/lib/state_machine/event.rb:172:in `fire' | |
(gem) state_machine-1.2.0/lib/state_machine/event.rb:247:in `block in add_actions' | |
(gem) state_machine-1.2.0/lib/state_machine/machine.rb:765:in `block (2 levels) in define_helper' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree-deed1b65f995/frontend/app/controllers/spree/checkout_controller.rb:29:in `update' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/spree_cdyne_pav-65ddc89bd49e/app/controllers/spree/checkout_controller_decorator.rb:9:in `update' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/abstract_controller/base.rb:167:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:601:in `_run__1233164095620978139__process_action__1172855289106063197__callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/notifications.rb:123:in `block in instrument' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/notifications.rb:123:in `instrument' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38:in `block in process_action' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:318:in `perform_action_with_newrelic_trace' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in `process_action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/abstract_controller/base.rb:121:in `process' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/abstract_controller/rendering.rb:45:in `process' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal.rb:203:in `dispatch' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_controller/metal.rb:246:in `block in action' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/routing/route_set.rb:36:in `call' | |
(gem) journey-1.0.4/lib/journey/router.rb:68:in `block in call' | |
(gem) journey-1.0.4/lib/journey/router.rb:56:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/routing/route_set.rb:608:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/engine.rb:484:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
(gem) journey-1.0.4/lib/journey/router.rb:68:in `block in call' | |
(gem) journey-1.0.4/lib/journey/router.rb:56:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/routing/route_set.rb:608:in `call' | |
(gem) xray-rails-0.1.5/lib/xray/middleware.rb:37:in `call' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/rack/error_collector.rb:12:in `call' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/rack/agent_hooks.rb:18:in `call' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/rack/browser_monitoring.rb:16:in `call' | |
(gem) newrelic_rpm-3.6.1.88/lib/new_relic/rack/developer_mode.rb:28:in `call' | |
(gem) warden-1.2.1/lib/warden/manager.rb:35:in `block in call' | |
(gem) warden-1.2.1/lib/warden/manager.rb:34:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
(gem) rack-1.4.5/lib/rack/etag.rb:23:in `call' | |
(gem) rack-1.4.5/lib/rack/conditionalget.rb:35:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/flash.rb:242:in `call' | |
(gem) rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context' | |
(gem) rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/cookies.rb:341:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/query_cache.rb:64:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:405:in `_run__3173266626034721368__call__2766230359101239436__callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/reloader.rb:65:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' | |
(gem) better_errors-0.8.0/lib/better_errors/middleware.rb:84:in `protected_app_call' | |
(gem) better_errors-0.8.0/lib/better_errors/middleware.rb:79:in `better_errors_call' | |
(gem) better_errors-0.8.0/lib/better_errors/middleware.rb:56:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/rack/logger.rb:32:in `call_app' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/rack/logger.rb:16:in `block in call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/tagged_logging.rb:22:in `tagged' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/rack/logger.rb:16:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
(gem) rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' | |
(gem) rack-1.4.5/lib/rack/runtime.rb:17:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
(gem) rack-1.4.5/lib/rack/lock.rb:15:in `call' | |
(gem) rack-rewrite-1.3.3/lib/rack/rewrite.rb:20:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/actionpack/lib/action_dispatch/middleware/static.rb:63:in `call' | |
(gem) honeybadger-1.6.2/lib/honeybadger/rack.rb:41:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/engine.rb:484:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/application.rb:231:in `call' | |
(gem) rack-1.4.5/lib/rack/content_length.rb:14:in `call' | |
/Users/sohara/Sites/little_bits_store/vendor/bundle/bundler/gems/rails-8799cfa72d07/railties/lib/rails/rack/log_tailer.rb:17:in `call' | |
(gem) rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service' | |
/Users/sohara/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' | |
/Users/sohara/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' | |
/Users/sohara/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment