{"action":"opened","issue":{"url":"https://api.github.com/repos/croucha/pylon-android/issues/1","labels_url":"https://api.github.com/repos/croucha/pylon-android/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/croucha/pylon-android/issues/1/comments","events_url":"https://api.github.com/repos/croucha/pylon-android/issues/1/events","html_url":"https://github.com/croucha/pylon-android/issues/1","id":55854650,"number":1,"title":"Troubleshoot bluetooth connection between NXT and Android","user":{"login":"wkeifenheim","id":639361,"avatar_url":"https://avatars.githubusercontent.com/u/639361?v=3","gravatar_id":"","url":"https://api.github.com/users/wkeifenheim","html_url":"https://github.com/wkeifenheim","followers_url":"https://api.github.com/users/wkeifenheim/followers","following_url":"https://api.github.com/users/wkeifenheim/following{/other_user}","gists_url":"https://api.github.com/users/wkeifenheim/gists{/gist_id}","starred_url":"https://api.github.com/users/wkeifenheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkeifenheim/subscriptions","organizations_url":"https://api.github.com/users/wkeifenheim/orgs","repos_url":"https://api.github.com/users/wkeifenheim/repos","events_url":"https://api.github.com/users/wkeifenheim/events{/privacy}","received_events_url":"https://api.github.com/users/wkeifenheim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-29T04:23:25Z","updated_at":"2015-01-29T04:23:25Z","closed_at":null,"body":"Log ouput:\r\n\r\n01-28 22:12:51.989  26764-26764/lejos.android D/inQuietHours﹕ Enabled: false\r\n01-28 22:12:51.989  26764-26764/lejos.android D/inQuietHours﹕ Option: tweaks_quiet_hours_system = false\r\n01-28 22:12:51.989  26764-26764/lejos.android D/inQuietHours﹕ Data:\r\n01-28 22:12:51.989  26764-26764/lejos.android D/inQuietHours﹕ inQuietHours: false\r\n01-28 22:12:51.999  26764-27281/lejos.android D/BTSend﹕ BTSend run\r\n01-28 22:12:51.999  26764-27281/lejos.android D/LeJOSDroid﹕ about to add LEJOS listener\r\n01-28 22:12:52.009  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Protocols = 2\r\n01-28 22:12:52.009  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Search Param = null\r\n01-28 22:12:52.029  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Searching cache file for known Bluetooth devices\r\n01-28 22:12:52.029  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Found NXT 00:16:53:15:84:51 in cache file\r\n01-28 22:12:52.029  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Found 1 matching NXTs in cache file\r\n01-28 22:12:52.029  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Connecting to NXT 00:16:53:15:84:51 in mode 0\r\n01-28 22:12:52.049  26764-27282/lejos.android I/NXTCommAndroid >>>>﹕ BEGIN mConnectThread\r\n01-28 22:12:52.049  26764-27282/lejos.android W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback\r\n01-28 22:12:52.069  26764-27282/lejos.android D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[71]}\r\n01-28 22:13:12.570  26764-27282/lejos.android E/NXTCommAndroid >>>>﹕ Connection failure -- unable to connect to socket\r\n    java.io.IOException: read failed, socket might closed or timeout, read ret: -1\r\n            at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java)\r\n            at android.bluetooth.BluetoothSocket.waitSocketSignal(BluetoothSocket.java)\r\n            at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java)\r\n            at lejos.pc.comm.NXTCommAndroid$ConnectThread.run(NXTCommAndroid.java:81)\r\n01-28 22:13:12.591  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Failed to open NXT 00:16:53:15:84:51\r\n01-28 22:13:12.591  26764-27281/lejos.android E/LeJOSDroid NXJ log:﹕ Failed to connect to any NXT\r\n01-28 22:13:12.591  26764-27281/lejos.android W/dalvikvm﹕ threadid=12: thread exiting with uncaught exception (group=0x416e16f8)\r\n01-28 22:13:12.591  26764-27281/lejos.android E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-2187\r\n    Process: lejos.android, PID: 26764\r\n    java.lang.NullPointerException\r\n            at lejos.android.BTSend.run(BTSend.java:54)\r\n01-28 22:13:12.701  26764-26764/lejos.android D/LeJOSDroid﹕ onPause() closing btSend\r\n01-28 22:13:12.701  26764-26764/lejos.android D/BTSend﹕ BTSend run loop finished and closing\r\n01-28 22:13:14.963  26764-27281/lejos.android D/Process﹕ killProcess, pid=26764\r\n01-28 22:13:14.963  26764-27281/lejos.android D/Process﹕ com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException:-1 java.lang.ThreadGroup.uncaughtException:-1 java.lang.ThreadGroup.uncaughtException:-1\r\n"}}