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

NoMethodError: undefined method `name' for nil:NilClass #26

Open
christoph-buente opened this issue Jan 31, 2014 · 0 comments
Open

NoMethodError: undefined method `name' for nil:NilClass #26

christoph-buente opened this issue Jan 31, 2014 · 0 comments
Labels

Comments

@christoph-buente
Copy link
Member

Check full details on Airbrake: #70598069

Backtrace:

```
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/bundler/gems/spree_mkf_theme-2eb760584354/app/views/spree/schweine/show.html.erb:3:in _0c1b67ebe667f6c194b5d680be8fd302
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/template.rb:145:in block in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:125:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/template.rb:143:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:47:in block (2 levels) in render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in block in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:46:in block in render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:45:in render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:18:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:36:in render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:17:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:110:in _render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/streaming.rb:225:in _render_template
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:103:in render_to_body
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/renderers.rb:28:in render_to_body
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/compatibility.rb:50:in render_to_body
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:88:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:16:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:40:in block (2 levels) in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/core_ext/benchmark.rb:5:in block in ms
/opt/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/benchmark.rb:295:in realtime
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/core_ext/benchmark.rb:5:in ms
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:40:in block in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:39:in render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:10:in default_render
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:5:in send_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18:in block in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:480:in _run__3271573918968713970__process_action__2652847361936632578__callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30:in block in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in block in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:18:in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121:in process
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45:in process
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203:in dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14:in dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246:in block in action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.3/lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.3/lib/spree/core/middleware/seo_assist.rb:27:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in method_missing
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in catch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/best_standards_support.rb:17:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/head.rb:14:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/params_parser.rb:21:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/flash.rb:242:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/cookies.rb:341:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:64:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in _run__1906014532591255868__call__2113160262487218078__callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_call_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in call_app
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in tagged
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-statsd-0.2.1/lib/rack-statsd.rb:311:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:231:in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in method_missing
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:580:in process_client
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:660:in worker_loop
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:527:in spawn_missing_workers
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:153:in start
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.7.0/bin/unicorn:126:in <top (required)>
/opt/rbenv/versions/1.9.3-p448/bin/unicorn:23:in load
/opt/rbenv/versions/1.9.3-p448/bin/unicorn:23:in <main>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant