mit-cml / appinventor-extensions

Source code of extensions published for MIT App Inventor
Apache License 2.0
86 stars 94 forks source link

ClassCastException writing String for Bytes #11

Closed ewpatton closed 5 years ago

ewpatton commented 6 years ago
11-09 09:23:56.374 27341 27341 W System.err: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
11-09 09:23:56.375 27341 27341 W System.err:    at edu.mit.appinventor.ble.BluetoothLE.toIntList(BluetoothLE.java:2435)
11-09 09:23:56.375 27341 27341 W System.err:    at edu.mit.appinventor.ble.BluetoothLE.listFromIterator(BluetoothLE.java:2390)
11-09 09:23:56.375 27341 27341 W System.err:    at edu.mit.appinventor.ble.BluetoothLE.toList(BluetoothLE.java:2349)
11-09 09:23:56.375 27341 27341 W System.err:    at edu.mit.appinventor.ble.BluetoothLE.toList(BluetoothLE.java:2347)
11-09 09:23:56.375 27341 27341 W System.err:    at edu.mit.appinventor.ble.BluetoothLE.ExWriteByteValuesWithResponse(BluetoothLE.java:1788)
11-09 09:23:56.375 27341 27341 W System.err:    at com.bbc.microbit.profile.Microbit_Uart.WriteRXCharacteristic(Microbit_Uart.java:141)
ewpatton commented 5 years ago

Fixed via 8f6a850