Ruby client for Yale's Central Authentication Service protocol -- an open source enterprise single sign on system for web applications.
332
stars
217
forks
source link
NoMethodError (undefined method `strip' for nil:NilClass) #88
Open
erchopra opened 9 years ago
I, [2015-04-13T08:22:12.459667 #6465] INFO -- : Processing by SsoCasController#service as HTML I, [2015-04-13T08:22:12.459757 #6465] INFO -- : Parameters: {"ticket"=>"ST-14289133322406-B8NK5MLfd9CPSNRhIRJuPJeF8h4N9poIHP7BzRXL"} I, [2015-04-13T08:22:12.486353 #6465] INFO -- : Completed 500 Internal Server Error in 26ms F, [2015-04-13T08:22:12.490253 #6465] FATAL -- : NoMethodError (undefined method strip' for nil:NilClass): rubycas-client (2.3.9) lib/casclient/responses.rb:56:inparse' rubycas-client (2.3.9) lib/casclient/responses.rb:35:in initialize' rubycas-client (2.3.9) lib/casclient/client.rb:265:innew' rubycas-client (2.3.9) lib/casclient/client.rb:265:in request_cas_response' rubycas-client (2.3.9) lib/casclient/client.rb:123:invalidate_service_ticket' /home/deployer2/.rvm/gems/ruby-2.1.5/bundler/gems/devise_cas_authenticatable-a164536b8ba4/lib/devise_cas_authenticatable/model.rb:19:in authenticate_with_cas_ticket' /home/deployer2/.rvm/gems/ruby-2.1.5/bundler/gems/devise_cas_authenticatable-a164536b8ba4/lib/devise_cas_authenticatable/strategy.rb:19:inauthenticate!' warden (1.2.3) lib/warden/strategies/base.rb:53:in _run!' warden (1.2.3) lib/warden/proxy.rb:354:inblock in _run_strategies_for' warden (1.2.3) lib/warden/proxy.rb:349:in each' warden (1.2.3) lib/warden/proxy.rb:349:in_run_strategies_for' warden (1.2.3) lib/warden/proxy.rb:319:in _perform_authentication' warden (1.2.3) lib/warden/proxy.rb:104:inauthenticate' devise (3.4.1) lib/devise/controllers/helpers.rb:120:in current_user' devise (3.4.1) lib/devise/controllers/helpers.rb:116:inuser_signed_in?' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:412:incall' activesupport (4.2.0) lib/active_support/callbacks.rb:412:in block in invert_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:144:incall' activesupport (4.2.0) lib/active_support/callbacks.rb:144:in block (2 levels) in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:144:ineach' activesupport (4.2.0) lib/active_support/callbacks.rb:144:in all?' activesupport (4.2.0) lib/active_support/callbacks.rb:144:inblock in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in _run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:inblock in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:ininstrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in process' actionview (4.2.0) lib/action_view/rendering.rb:30:inprocess' actionpack (4.2.0) lib/action_controller/metal.rb:195:in dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:indispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:incall' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:inserve' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:49:in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:inblock in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:inserve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in call' apipie-rails (0.3.2) lib/apipie/static_dispatcher.rb:65:incall' /home/deployer2/.rvm/gems/ruby-2.1.5/bundler/gems/devise_cas_authenticatable-a164536b8ba4/lib/devise_cas_authenticatable/single_sign_out/rack.rb:14:in call' apipie-rails (0.3.2) lib/apipie/extractor/recorder.rb:132: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.6.0) lib/rack/etag.rb:24:incall' rack (1.6.0) lib/rack/conditionalget.rb:25:in call' rack (1.6.0) lib/rack/head.rb:13:incall' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:incall' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:incall' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:inblock in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in _run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:incall' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:incall' railties (4.2.0) lib/rails/rack/logger.rb:38:in call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:inblock in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:intagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:incall' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in call' rack (1.6.0) lib/rack/methodoverride.rb:22:incall' rack (1.6.0) lib/rack/runtime.rb:18:in call' rack (1.6.0) lib/rack/sendfile.rb:113:incall' railties (4.2.0) lib/rails/engine.rb:518:in call' railties (4.2.0) lib/rails/application.rb:164:incall' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/passenger-4.0.59/lib/phusion_passenger/rack/thread_handler_extension.rb:74:in process_request' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/passenger-4.0.59/lib/phusion_passenger/request_handler/thread_handler.rb:141:inaccept_and_process_next_request' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/passenger-4.0.59/lib/phusion_passenger/request_handler/thread_handler.rb:109:in main_loop' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/passenger-4.0.59/lib/phusion_passenger/request_handler.rb:455:inblock (3 levels) in start_thread