{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4jrb/neo4j/issues/775","labels_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/775/comments","events_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/775/events","html_url":"https://github.com/neo4jrb/neo4j/issues/775","id":72480544,"number":775,"title":"error on signing out","user":{"login":"artsince","id":216152,"avatar_url":"https://avatars.githubusercontent.com/u/216152?v=3","gravatar_id":"","url":"https://api.github.com/users/artsince","html_url":"https://github.com/artsince","followers_url":"https://api.github.com/users/artsince/followers","following_url":"https://api.github.com/users/artsince/following{/other_user}","gists_url":"https://api.github.com/users/artsince/gists{/gist_id}","starred_url":"https://api.github.com/users/artsince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsince/subscriptions","organizations_url":"https://api.github.com/users/artsince/orgs","repos_url":"https://api.github.com/users/artsince/repos","events_url":"https://api.github.com/users/artsince/events{/privacy}","received_events_url":"https://api.github.com/users/artsince/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-01T17:33:23Z","updated_at":"2015-05-01T17:33:23Z","closed_at":null,"body":"I am getting the following stack trace when I try to sign out. Signing out is handled by devise gem, without any customizations.\r\n\r\nI am running into this problem in my own development computer as well as in our server both running on ubuntu 14.04. However, I don't get into this error on OSX (yosemite)\r\n\r\nThanks a lot,\r\nahmet\r\n\r\n```\r\nNoMethodError - undefined method `year' for nil:NilClass:\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:32:in `to_db'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:160:in `to_other'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:122:in `converted_property'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:115:in `block in convert_properties_to'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:113:in `each'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:113:in `each_with_object'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/type_converters.rb:113:in `convert_properties_to'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/persistence.rb:12:in `update_model'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/callbacks.rb:46:in `block (2 levels) in update_model'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:219:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_update_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/callbacks.rb:46:in `block in update_model'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-core-4c274bd09e62/lib/neo4j/transaction.rb:83:in `run'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/callbacks.rb:45:in `update_model'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/persistence.rb:36:in `create_or_update'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/callbacks.rb:35:in `block in create_or_update'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:219:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_save_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/callbacks.rb:35:in `create_or_update'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/active_node/persistence.rb:27:in `save'\r\n   () home/ahmetkizilay/.rvm/gems/ruby-2.1.2/bundler/gems/neo4j-74cfdb580288/lib/neo4j/shared/validations.rb:18:in `save'\r\n  devise (3.4.1) lib/devise/models/rememberable.rb:62:in `forget_me!'\r\n  devise (3.4.1) lib/devise/controllers/rememberable.rb:23:in `forget_me'\r\n  devise (3.4.1) lib/devise/hooks/forgetable.rb:7:in `block in <top (required)>'\r\n  warden (1.2.3) lib/warden/hooks.rb:14:in `call'\r\n  warden (1.2.3) lib/warden/hooks.rb:14:in `block in _run_callbacks'\r\n  warden (1.2.3) lib/warden/hooks.rb:9:in `each'\r\n  warden (1.2.3) lib/warden/hooks.rb:9:in `_run_callbacks'\r\n  warden (1.2.3) lib/warden/manager.rb:53:in `_run_callbacks'\r\n  warden (1.2.3) lib/warden/proxy.rb:262:in `block in logout'\r\n  warden (1.2.3) lib/warden/proxy.rb:260:in `each'\r\n  warden (1.2.3) lib/warden/proxy.rb:260:in `logout'\r\n  devise (3.4.1) lib/devise/controllers/sign_in_out.rb:75:in `sign_out_all_scopes'\r\n  devise (3.4.1) lib/devise/controllers/sign_in_out.rb:57:in `sign_out'\r\n  devise (3.4.1) app/controllers/devise/sessions_controller.rb:25:in `destroy'\r\n  actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:49:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'\r\n  warden (1.2.3) lib/warden/manager.rb:35:in `block in call'\r\n  warden (1.2.3) lib/warden/manager.rb:34:in `catch'\r\n  warden (1.2.3) lib/warden/manager.rb:34:in `call'\r\n  rack (1.6.0) lib/rack/etag.rb:24:in `call'\r\n  rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'\r\n  rack (1.6.0) lib/rack/head.rb:13:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n  better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'\r\n  better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'\r\n  better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'\r\n  quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n  rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'\r\n  rack (1.6.0) lib/rack/runtime.rb:18:in `call'\r\n  activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n  rack (1.6.0) lib/rack/lock.rb:17:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'\r\n  rack (1.6.0) lib/rack/sendfile.rb:113:in `call'\r\n  railties (4.2.0) lib/rails/engine.rb:518:in `call'\r\n  railties (4.2.0) lib/rails/application.rb:164:in `call'\r\n  rack (1.6.0) lib/rack/content_length.rb:15:in `call'\r\n  puma (2.11.1) lib/puma/server.rb:507:in `handle_request'\r\n  puma (2.11.1) lib/puma/server.rb:375:in `process_client'\r\n  puma (2.11.1) lib/puma/server.rb:262:in `block in run'\r\n  puma (2.11.1) lib/puma/thread_pool.rb:104:in `call'\r\n  puma (2.11.1) lib/puma/thread_pool.rb:104:in `block in spawn_thread'\r\n\r\n```"}}