{"action":"created","issue":{"url":"https://api.github.com/repos/kwhat/jnativehook/issues/66","labels_url":"https://api.github.com/repos/kwhat/jnativehook/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/kwhat/jnativehook/issues/66/comments","events_url":"https://api.github.com/repos/kwhat/jnativehook/issues/66/events","html_url":"https://github.com/kwhat/jnativehook/issues/66","id":106108311,"number":66,"title":"Failed to create low level event hook - Error code #48","user":{"login":"Zetxus","id":14242291,"avatar_url":"https://avatars.githubusercontent.com/u/14242291?v=3","gravatar_id":"","url":"https://api.github.com/users/Zetxus","html_url":"https://github.com/Zetxus","followers_url":"https://api.github.com/users/Zetxus/followers","following_url":"https://api.github.com/users/Zetxus/following{/other_user}","gists_url":"https://api.github.com/users/Zetxus/gists{/gist_id}","starred_url":"https://api.github.com/users/Zetxus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zetxus/subscriptions","organizations_url":"https://api.github.com/users/Zetxus/orgs","repos_url":"https://api.github.com/users/Zetxus/repos","events_url":"https://api.github.com/users/Zetxus/events{/privacy}","received_events_url":"https://api.github.com/users/Zetxus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-11T22:47:59Z","updated_at":"2015-09-12T17:35:53Z","closed_at":null,"body":"So the bug is that the JNativeHook can't seem to create a hook after working fine for a while. I had it integrated in my app for 3-4 days. Until today it worked perfectly but now it gets an error. I am working on a 64 bit windows 7. And I have java 1.80_60-b27. I talked with the creator (Alex Barker) about this and he told me to put an issue up so he can look it up. The problem was solved by a simple system restart but I will be trying to replicate the problem in the next days so we can finally but this bug to rest."},"comment":{"url":"https://api.github.com/repos/kwhat/jnativehook/issues/comments/139799324","html_url":"https://github.com/kwhat/jnativehook/issues/66#issuecomment-139799324","issue_url":"https://api.github.com/repos/kwhat/jnativehook/issues/66","id":139799324,"user":{"login":"Zetxus","id":14242291,"avatar_url":"https://avatars.githubusercontent.com/u/14242291?v=3","gravatar_id":"","url":"https://api.github.com/users/Zetxus","html_url":"https://github.com/Zetxus","followers_url":"https://api.github.com/users/Zetxus/followers","following_url":"https://api.github.com/users/Zetxus/following{/other_user}","gists_url":"https://api.github.com/users/Zetxus/gists{/gist_id}","starred_url":"https://api.github.com/users/Zetxus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zetxus/subscriptions","organizations_url":"https://api.github.com/users/Zetxus/orgs","repos_url":"https://api.github.com/users/Zetxus/repos","events_url":"https://api.github.com/users/Zetxus/events{/privacy}","received_events_url":"https://api.github.com/users/Zetxus/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T17:35:53Z","updated_at":"2015-09-12T17:35:53Z","body":"This is what the logger spit out by the way sorry for the delay I didn't realize I had to add static to make the inner class work:\r\n\r\n```\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_auto_repeat_rate [40]: SPI_GETKEYBOARDSPEED: 31.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [33]: hook_get_auto_repeat_rate(): successful. (31)\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_auto_repeat_delay [54]: SPI_GETKEYBOARDDELAY: 1.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [63]: hook_get_auto_repeat_delay(): successful. (1)\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_pointer_acceleration_multiplier [68]: SPI_GETMOUSE[2]: 1.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [93]: hook_get_pointer_acceleration_multiplier(): successful. (1)\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_pointer_acceleration_threshold [82]: SPI_GETMOUSE[0]: 6.\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_pointer_acceleration_threshold [84]: SPI_GETMOUSE[1]: 10.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [123]: hook_get_pointer_acceleration_threshold(): successful. (8)\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_pointer_sensitivity [99]: SPI_GETMOUSESPEED: 10.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [153]: hook_get_pointer_sensitivity(): successful. (10)\r\nSat Sep 12 20:33:57 EEST 2015 INFO:\thook_get_multi_click_time [113]: GetDoubleClickTime: 500.\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tjni_SetProperties [183]: hook_get_multi_click_time(): successful. (500)\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\thook_set_dispatch_proc [58]: Setting new dispatch callback to 0X0000000065E438F0.\r\nSat Sep 12 20:33:57 EEST 2015 SEVERE:\thook_run [724]: SetWindowsHookEx() failed! (0X7E)\r\nSat Sep 12 20:33:57 EEST 2015 FINE:\tdispatch_event [67]: Dispatching event type 2.\r\n\r\n```"}}