{"action":"opened","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/395","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/395/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/395/events","html_url":"https://github.com/jxcore/jxcore/issues/395","id":88126582,"number":395,"title":"js_ReportOverRecursed called","user":{"login":"oriharel","id":367269,"avatar_url":"https://avatars.githubusercontent.com/u/367269?v=3","gravatar_id":"","url":"https://api.github.com/users/oriharel","html_url":"https://github.com/oriharel","followers_url":"https://api.github.com/users/oriharel/followers","following_url":"https://api.github.com/users/oriharel/following{/other_user}","gists_url":"https://api.github.com/users/oriharel/gists{/gist_id}","starred_url":"https://api.github.com/users/oriharel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriharel/subscriptions","organizations_url":"https://api.github.com/users/oriharel/orgs","repos_url":"https://api.github.com/users/oriharel/repos","events_url":"https://api.github.com/users/oriharel/events{/privacy}","received_events_url":"https://api.github.com/users/oriharel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-14T05:40:29Z","updated_at":"2015-06-14T05:40:29Z","closed_at":null,"body":"I looked at the jxcore-cordova plugin, and I was very interested in it, especially the part where it registers JavaScript functions and call them from Java code.\r\n\r\nI tried to follow the footsteps of the sample, and also registered JavaScript function using my own defineEventCB function (I copied it from the plugin). Then I call callCBString from Java, but I get:\r\n\r\n06-14 00:38:37.863 989-1002/? W/jxcore-log﹕ !!! js_ReportOverRecursed called !!!\r\n\r\nThe thing is, I call defineEventCB from thread 1, but callCBString from thread 2 (I can't control the threads creations. it a system generated flow).\r\n\r\nIf I call these 2 functions from the same thread, everything works fine. Any idea how to do this?\r\n\r\nThanks, \r\nOri"}}