{"action":"created","issue":{"url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/156","labels_url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/156/comments","events_url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/156/events","html_url":"https://github.com/songz/cordova-plugin-opentok/issues/156","id":64404118,"number":156,"title":"getting error when connecting to session with opentok 1.0.3 on Intel XDK Cordova Crosswalk Android build","user":{"login":"tysjiang","id":9629405,"avatar_url":"https://avatars.githubusercontent.com/u/9629405?v=3","gravatar_id":"","url":"https://api.github.com/users/tysjiang","html_url":"https://github.com/tysjiang","followers_url":"https://api.github.com/users/tysjiang/followers","following_url":"https://api.github.com/users/tysjiang/following{/other_user}","gists_url":"https://api.github.com/users/tysjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/tysjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysjiang/subscriptions","organizations_url":"https://api.github.com/users/tysjiang/orgs","repos_url":"https://api.github.com/users/tysjiang/repos","events_url":"https://api.github.com/users/tysjiang/events{/privacy}","received_events_url":"https://api.github.com/users/tysjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T00:35:36Z","updated_at":"2015-03-26T15:34:53Z","closed_at":null,"body":"When trying to connect to a session, this error is popping up:\r\n\"Attempt to invoke virtual method 'void com.opentok.android.Session.connect(java.lang.String)' on a null object reference\"\r\n\r\nSteps to reproduce:\r\n1. built app with Intel XDK v1826 Cordova 4.1.2 Crosswalk (10) Android\r\n2. try to connect to session\r\n            session.connect(videoToken, function(){\r\n                // session.publish( publisher );\r\n            });  \r\n- checked videoToken to make sure it is valid\r\n- tested with Samsung s5 Lollipop\r\n- note: same code works on the iOS builds\r\n"},"comment":{"url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/comments/86574648","html_url":"https://github.com/songz/cordova-plugin-opentok/issues/156#issuecomment-86574648","issue_url":"https://api.github.com/repos/songz/cordova-plugin-opentok/issues/156","id":86574648,"user":{"login":"tysjiang","id":9629405,"avatar_url":"https://avatars.githubusercontent.com/u/9629405?v=3","gravatar_id":"","url":"https://api.github.com/users/tysjiang","html_url":"https://github.com/tysjiang","followers_url":"https://api.github.com/users/tysjiang/followers","following_url":"https://api.github.com/users/tysjiang/following{/other_user}","gists_url":"https://api.github.com/users/tysjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/tysjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysjiang/subscriptions","organizations_url":"https://api.github.com/users/tysjiang/orgs","repos_url":"https://api.github.com/users/tysjiang/repos","events_url":"https://api.github.com/users/tysjiang/events{/privacy}","received_events_url":"https://api.github.com/users/tysjiang/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T15:34:53Z","updated_at":"2015-03-26T15:34:53Z","body":"just tried using a static token but got the same error\r\n"}}