{"action":"opened","issue":{"url":"https://api.github.com/repos/DroidPlanner/Tower/issues/1757","repository_url":"https://api.github.com/repos/DroidPlanner/Tower","labels_url":"https://api.github.com/repos/DroidPlanner/Tower/issues/1757/labels{/name}","comments_url":"https://api.github.com/repos/DroidPlanner/Tower/issues/1757/comments","events_url":"https://api.github.com/repos/DroidPlanner/Tower/issues/1757/events","html_url":"https://github.com/DroidPlanner/Tower/issues/1757","id":158548257,"number":1757,"title":"Crash on Connect (using USB Telemetry)","user":{"login":"flo-vienna","id":15049701,"avatar_url":"https://avatars.githubusercontent.com/u/15049701?v=3","gravatar_id":"","url":"https://api.github.com/users/flo-vienna","html_url":"https://github.com/flo-vienna","followers_url":"https://api.github.com/users/flo-vienna/followers","following_url":"https://api.github.com/users/flo-vienna/following{/other_user}","gists_url":"https://api.github.com/users/flo-vienna/gists{/gist_id}","starred_url":"https://api.github.com/users/flo-vienna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flo-vienna/subscriptions","organizations_url":"https://api.github.com/users/flo-vienna/orgs","repos_url":"https://api.github.com/users/flo-vienna/repos","events_url":"https://api.github.com/users/flo-vienna/events{/privacy}","received_events_url":"https://api.github.com/users/flo-vienna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-05T10:36:39Z","updated_at":"2016-06-05T10:36:39Z","closed_at":null,"body":"Hi\r\n\r\nI recently started having problems using the usb telemetry module with droidplanner / droidplanner2\r\n(Right now I prefer those over the new Tower software).\r\n\r\nSteps to reproduce:\r\n\r\nI plug-in the USB telemetry module, it lights up, asks me what software I want to use, I select either droidplanner and click on \"Just once\". The software opens but as soon as I click \"Connect\" the software crashes. See the log entries below.\r\n\r\nTablet: Vido-M82 Pro (U357P_v2_0_wxga_yd) using Android 5.1 (Kernel 3.10.65+ )\r\n\r\nSoftware versions: (both are affected in the same way)\r\nDroidplanner 1.2.0\r\nDroidplanner2 2.8.6_RC3 \r\n\r\n\r\nError logs:\r\n\r\n06-05 10:51:56.584 E/DirectVolume(224): 'usbotg' is pulled out.!!\r\n06-05 10:52:03.330 D/UsbHostManager(777): Added device UsbDevice[mName=/dev/bus/usb/001/006,mVendorId=4292,mProductId=60000,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Silicon Labs,mProductName=CP2102 USB to UART Bridge Controller,mSerialNumber=0001,mConfigurations=[\r\n06-05 10:52:03.330 D/UsbHostManager(777): UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=50,mInterfaces=[\r\n06-05 10:52:03.330 D/UsbHostManager(777): UsbInterface[mId=0,mAlternateSetting=0,mName=CP2102 USB to UART Bridge Controller,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[\r\n06-05 10:52:03.330 D/UsbHostManager(777): UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]\r\n06-05 10:52:03.330 D/UsbHostManager(777): UsbEndpoint[mAddress=1,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]\r\n06-05 10:52:03.377 W/IntentResolver(777): resolveIntent failed: found match, but none with CATEGORY_DEFAULT\r\n\r\nLog output using catlog for the droid planner app after clicking the \"Connect\" button :\r\n\r\njava.lang.ArrayIndexOutOfBoundsException: length=0; index=-1\r\n\tat android.hardware.usb.UsbDevice.getInterface(UsbDevice.java:232)\r\n\tat com.hoho.android.usbserial.driver.Cp2102SerialDriver.open(Cp2102SerialDriver.java:82)\r\n\tat org.droidplanner.android.communication.connection.usb.UsbCDCConnection.openUsbConnection(UsbCDCConnection.java:35)\r\n\tat org.droidplanner.android.communication.connection.usb.UsbConnection.openAndroidConnection(UsbConnection.java:85)\r\n\tat org.droidplanner.android.communication.connection.AndroidMavLinkConnection.openConnection(AndroidMavLinkConnection.java:57)\r\n\tat org.droidplanner.core.MAVLink.connection.MavLinkConnection$1.run(MavLinkConnection.java:79)\r\n\tat java.lang.Thread.run(Thread.java:818)\r\n\r\n\r\nbr \r\n\r\nFlorian"}}
{"actor":{"display_login":"flo-vienna"}}