RFD8500 Reconnect ClassCastException when getting battery level


Audience

So in my app I connect to the RFD8500 and then I disconnect it by holding down down the bluetooth button. The Event DISCONNECTION_EVENT is fired and then I reconnect to the RFD8500. When calling "mRFIDReader!!.Config.getDeviceStatus(true, false, false)" to get the battery status the following exception is outputted
2019-07-03 17:28:22.610 13995-14061/com.reader W/System.err: java.lang.ClassCastException: java.lang.Integer cannot be cast to com.zebra.rfid.api3.RFID_EVENT_TYPE
2019-07-03 17:28:22.611 13995-14061/com.reader W/System.err: at com.zebra.rfid.api3.bl.b(SourceFile:3165)
2019-07-03 17:28:22.612 13995-14061/com.reader W/System.err: at com.zebra.rfid.api3.l.a(SourceFile:73)
2019-07-03 17:28:22.612 13995-14061/com.reader W/System.err: at com.zebra.rfid.api3.k.a(SourceFile:43)
2019-07-03 17:28:22.613 13995-14061/com.reader W/System.err: at com.zebra.rfid.api3.o.a(SourceFile:545)
2019-07-03 17:28:22.614 13995-14061/com.reader W/System.err: at com.zebra.rfid.api3.Events$g.run(SourceFile:1711)
2019-07-03 17:28:22.615 13995-14051/com.reader W/System.err: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Integer
2019-07-03 17:28:22.616 13995-14051/com.reader W/System.err: at com.zebra.rfid.api3.bl.b(SourceFile:3193)
2019-07-03 17:28:22.617 13995-14051/com.reader W/System.err: at com.zebra.rfid.api3.l.a(SourceFile:73)
2019-07-03 17:28:22.618 13995-14051/com.reader W/System.err: at com.zebra.rfid.api3.k.a(SourceFile:43)
2019-07-03 17:28:22.618 13995-14051/com.reader W/System.err: at com.zebra.rfid.api3.o.a(SourceFile:545)
2019-07-03 17:28:22.619 13995-14051/com.reader W/System.err: at com.zebra.rfid.api3.Events$g.run(SourceFile:1711)

Submitted by Chris Hallgren on July 03, 2019 Permalink

019-07-03 18:54:04.790 15491-15544/com.reader W/System.err: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
2019-07-03 18:54:04.791 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.bl.b(SourceFile:3192)
2019-07-03 18:54:04.791 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.l.a(SourceFile:73)
2019-07-03 18:54:04.792 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.k.a(SourceFile:43)
2019-07-03 18:54:04.793 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.o.a(SourceFile:545)
2019-07-03 18:54:04.794 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.Events$g.run(SourceFile:1711)
2019-07-03 18:54:04.794 15491-16683/com.reader W/System.err: java.lang.ClassCastException: java.lang.String cannot be cast to com.zebra.rfid.api3.RFID_EVENT_TYPE
2019-07-03 18:54:04.795 15491-16683/com.reader W/System.err: at com.zebra.rfid.api3.bl.b(SourceFile:3165)
2019-07-03 18:54:04.796 15491-16683/com.reader W/System.err: at com.zebra.rfid.api3.l.a(SourceFile:73)
2019-07-03 18:54:04.796 15491-16683/com.reader W/System.err: at com.zebra.rfid.api3.k.a(SourceFile:43)
2019-07-03 18:54:04.797 15491-16683/com.reader W/System.err: at com.zebra.rfid.api3.o.a(SourceFile:545)
2019-07-03 18:54:04.798 15491-16683/com.reader W/System.err: at com.zebra.rfid.api3.Events$g.run(SourceFile:1711)
2019-07-03 18:54:04.798 15491-15544/com.reader W/System.err: java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.zebra.rfid.api3.RFID_EVENT_TYPE
2019-07-03 18:54:04.799 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.bl.b(SourceFile:3165)
2019-07-03 18:54:04.800 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.l.a(SourceFile:73)
2019-07-03 18:54:04.801 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.k.a(SourceFile:43)
2019-07-03 18:54:04.801 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.o.a(SourceFile:545)
2019-07-03 18:54:04.802 15491-15544/com.reader W/System.err: at com.zebra.rfid.api3.Events$g.run(SourceFile:1711)