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

Error on callback redirect #31

Open
stager94 opened this issue Mar 11, 2014 · 1 comment
Open

Error on callback redirect #31

stager94 opened this issue Mar 11, 2014 · 1 comment

Comments

@stager94
Copy link

An error occured after redirect on callback controller. Exeption notification says:
A NoMethodError occurred in #:
undefined method `[]' for nil:NilClass

in logs:
NoMethodError (undefined method []' for nil:NilClass): omniauth-vkontakte (1.3.1) lib/omniauth/strategies/vkontakte.rb:29:inblock in class:Vkontakte'
omniauth (1.1.4) lib/omniauth/strategy.rb:106:in instance_eval' omniauth (1.1.4) lib/omniauth/strategy.rb:106:inblock in compile_stack'
omniauth (1.1.4) lib/omniauth/strategy.rb:105:in each' omniauth (1.1.4) lib/omniauth/strategy.rb:105:ininject'
omniauth (1.1.4) lib/omniauth/strategy.rb:105:in compile_stack' (eval):7:inuid_stack'
omniauth (1.1.4) lib/omniauth/strategy.rb:318:in uid' omniauth (1.1.4) lib/omniauth/strategy.rb:334:inauth_hash'
omniauth (1.1.4) lib/omniauth/strategy.rb:362:in callback_phase' omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:incallback_phase'
omniauth (1.1.4) lib/omniauth/strategy.rb:226:in callback_call' omniauth (1.1.4) lib/omniauth/strategy.rb:182:incall!'
omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call' omniauth (1.1.4) lib/omniauth/strategy.rb:184:incall!'
omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call' newrelic_rpm (3.7.2.195) lib/new_relic/rack/error_collector.rb:55:incall'
newrelic_rpm (3.7.2.195) lib/new_relic/rack/agent_hooks.rb:32:in call' newrelic_rpm (3.7.2.195) lib/new_relic/rack/browser_monitoring.rb:27:incall'
exception_notification (4.0.1) lib/exception_notification/rack.rb:28:in call' /var/www/loveeatwith/shared/bundle/ruby/2.0.0/bundler/gems/client_side_validations-9461cb92e1df/lib/client_side_validations/middleware.rb:21:incall'
warden (1.2.3) lib/warden/manager.rb:35:in block in call' warden (1.2.3) lib/warden/manager.rb:34:incatch'
warden (1.2.3) lib/warden/manager.rb:34:in call' rack (1.5.2) lib/rack/etag.rb:23:incall'
rack (1.5.2) lib/rack/conditionalget.rb:25:in call' rack (1.5.2) lib/rack/head.rb:11:incall'
remotipart (1.2.1) lib/remotipart/middleware.rb:27:in call' actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:incall'
actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:incontext'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in call' actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:incall'
activerecord (4.0.2) lib/active_record/query_cache.rb:36:in call' activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:incall'
actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in block in call' activesupport (4.0.2) lib/active_support/callbacks.rb:373:in_run__1289984297035080464__call__callbacks'
activesupport (4.0.2) lib/active_support/callbacks.rb:80:in run_callbacks' actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in call' actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall'
actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in call' railties (4.0.2) lib/rails/rack/logger.rb:38:incall_app'
railties (4.0.2) lib/rails/rack/logger.rb:20:in block in call' activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:inblock in tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in tagged' activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:intagged'
railties (4.0.2) lib/rails/rack/logger.rb:20:in call' actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:incall'
rack (1.5.2) lib/rack/methodoverride.rb:21:in call' rack (1.5.2) lib/rack/runtime.rb:17:incall'
activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in call' rack (1.5.2) lib/rack/sendfile.rb:112:incall'
railties (4.0.2) lib/rails/engine.rb:511:in call' railties (4.0.2) lib/rails/application.rb:97:incall'
unicorn (4.7.0) lib/unicorn/http_server.rb:580:in process_client' unicorn (4.7.0) lib/unicorn/http_server.rb:660:inworker_loop'
newrelic_rpm (3.7.2.195) lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:22:in call' newrelic_rpm (3.7.2.195) lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:22:inblock (4 levels) in <top (required)>'
unicorn (4.7.0) lib/unicorn/http_server.rb:527:in spawn_missing_workers' unicorn (4.7.0) lib/unicorn/http_server.rb:153:instart'
unicorn (4.7.0) bin/unicorn_rails:209:in <top (required)>' /var/www/loveeatwith/shared/bundle/ruby/2.0.0/bin/unicorn_rails:23:inload'
/var/www/loveeatwith/shared/bundle/ruby/2.0.0/bin/unicorn_rails:23:in `

'

@mamantoha
Copy link
Owner

Try to update to version 1.3.2. This should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants