{"action":"created","issue":{"url":"https://api.github.com/repos/mstarke/MacPass/issues/431","repository_url":"https://api.github.com/repos/mstarke/MacPass","labels_url":"https://api.github.com/repos/mstarke/MacPass/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/mstarke/MacPass/issues/431/comments","events_url":"https://api.github.com/repos/mstarke/MacPass/issues/431/events","html_url":"https://github.com/mstarke/MacPass/issues/431","id":138019368,"number":431,"title":"Autotype error","user":{"login":"bz007","id":9906471,"avatar_url":"https://avatars.githubusercontent.com/u/9906471?v=3","gravatar_id":"","url":"https://api.github.com/users/bz007","html_url":"https://github.com/bz007","followers_url":"https://api.github.com/users/bz007/followers","following_url":"https://api.github.com/users/bz007/following{/other_user}","gists_url":"https://api.github.com/users/bz007/gists{/gist_id}","starred_url":"https://api.github.com/users/bz007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bz007/subscriptions","organizations_url":"https://api.github.com/users/bz007/orgs","repos_url":"https://api.github.com/users/bz007/repos","events_url":"https://api.github.com/users/bz007/events{/privacy}","received_events_url":"https://api.github.com/users/bz007/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mstarke/MacPass/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-02T22:58:45Z","updated_at":"2016-03-05T12:46:15Z","closed_at":null,"body":"Autotype is not working. Instead of this I see exception in system log (via Console). There is log trace example:\r\n\r\n> Mar  3 01:42:52 lupus MacPass[98518]: An uncaught exception was raised\r\n> Mar  3 01:42:52 lupus MacPass[98518]: *** -[__NSCFString rangeOfString:options:range:locale:]: nil argument\r\n> Mar  3 01:42:52 lupus MacPass[98518]: (\r\n> \t\t0   CoreFoundation                      0x00007fff95604ae2 __exceptionPreprocess + 178\r\n> \t\t1   libobjc.A.dylib                     0x00007fff8b681f7e objc_exception_throw + 48\r\n> \t\t2   CoreFoundation                      0x00007fff9560498d +[NSException raise:format:] + 205\r\n> \t\t3   Foundation                          0x00007fff8763ff49 -[NSString rangeOfString:options:range:locale:] + 353\r\n> \t\t4   Foundation                          0x00007fff87679390 -[NSString rangeOfString:options:] + 74\r\n> \t\t5   MacPass                             0x0000000100b90c91 -[MPDocument(Autotype) autotypContextsForWindowTitle:preferredEntry:] + 1555\r\n> \t\t6   MacPass                             0x0000000100b8936b -[MPAutotypeDaemon _autotypeContextForDocuments:forWindowTitle:preferredEntry:] + 296\r\n> \t\t7   MacPass                             0x0000000100b88f54 -[MPAutotypeDaemon _performAutotypeForEntry:] + 218\r\n> \t\t8   MacPass                             0x0000000100b89871 __35-[MPAutotypeDaemon _registerHotKey]_block_invoke + 34\r\n> \t\t9   MacPass                             0x0000000100b9ebe2 -[DDHotKey invokeWithEvent:] + 134\r\n> \t\t10  MacPass                             0x0000000100b9f047 dd_hotKeyHandler + 466\r\n> \t\t11  HIToolbox                           0x00007fff8e1717be _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1231\r\n> \t\t12  HIToolbox                           0x00007fff8e170c48 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404\r\n> \t\t13  HIToolbox                           0x00007fff8e170aab SendEventToEventTargetWithOptions + 43\r\n> \t\t14  HIToolbox                           0x00007fff8e1add5e _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 1214\r\n> \t\t15  HIToolbox                           0x00007fff8e171e0f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2848\r\n> \t\t16  HIToolbox                           0x00007fff8e170c48 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404\r\n> \t\t17  HIToolbox                           0x00007fff8e1869e6 SendEventToEventTarget + 40\r\n> \t\t18  AppKit                              0x00007fff91bfc5b0 -[NSApplication sendEvent:] + 4435\r\n> \t\t19  AppKit                              0x00007fff91b2f03a -[NSApplication run] + 796\r\n> \t\t20  AppKit                              0x00007fff91ab1520 NSApplicationMain + 1176\r\n> \t\t21  libdyld.dylib                       0x00007fff8f0ca5ad start + 1\r\n\r\nIf this is important, I use English and Russian locales in System settings, English is primary. MacPassHTTP helps in most cases but sometimes I need autotype password with global hotkey.\r\n\r\nPlease advise."},"comment":{"url":"https://api.github.com/repos/mstarke/MacPass/issues/comments/192638763","html_url":"https://github.com/mstarke/MacPass/issues/431#issuecomment-192638763","issue_url":"https://api.github.com/repos/mstarke/MacPass/issues/431","id":192638763,"user":{"login":"mstarke","id":58428,"avatar_url":"https://avatars.githubusercontent.com/u/58428?v=3","gravatar_id":"","url":"https://api.github.com/users/mstarke","html_url":"https://github.com/mstarke","followers_url":"https://api.github.com/users/mstarke/followers","following_url":"https://api.github.com/users/mstarke/following{/other_user}","gists_url":"https://api.github.com/users/mstarke/gists{/gist_id}","starred_url":"https://api.github.com/users/mstarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstarke/subscriptions","organizations_url":"https://api.github.com/users/mstarke/orgs","repos_url":"https://api.github.com/users/mstarke/repos","events_url":"https://api.github.com/users/mstarke/events{/privacy}","received_events_url":"https://api.github.com/users/mstarke/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T12:46:15Z","updated_at":"2016-03-05T12:46:15Z","body":"That's the spot where I did suspect the crash and I fixed it, will be pushed shortly."}}