com.tns.NativeScriptException: Calling js method onScanResult failed TypeError: Cannot read property 'peripheralArray' of undefined File: "/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules/nativescript-bluetooth/bluetooth.js, line: 502, column: 38 StackTrace: Frame: function:'Bluetooth._findPeripheral', file:'/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules/nativescript-bluetooth/bluetooth.js', line: 502, column: 39 Frame: function:'android.bluetooth.le.ScanCallback.extend.onScanResult', file:'/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules/nativescript-bluetooth/bluetooth.js', line: 81, column: 24

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • onHiddenChanged failed
    via GitHub by AntonioCuevaUrraco
    ,
  • Another Crashing error in 1.3
    via GitHub by NathanaelA
    ,
  • GitHub comment 856#155359864
    via GitHub by vchimev
    ,
  • GitHub comment 1569#186075317
    via GitHub by NathanaelA
    ,
  • GitHub comment 1405#193494990
    via GitHub by Daxito
    ,
    • com.tns.NativeScriptException: Calling js method onScanResult failed TypeError: Cannot read property 'peripheralArray' of undefined File: "/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules
    • ativescript-bluetooth/bluetooth.js, line: 502, column: 38 StackTrace: Frame: function:'Bluetooth._findPeripheral', file:'/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules
    • ativescript-bluetooth/bluetooth.js', line: 502, column: 39 Frame: function:'android.bluetooth.le.ScanCallback.extend.onScanResult', file:'/data/data/org.nativescript.bluetoothdemo/files/app/tns_modules
    • ativescript-bluetooth/bluetooth.js', line: 81, column: 24 at com.tns.Platform.callJSMethodNative(Native Method) at com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812) at com.tns.Platform.callJSMethod(Platform.java:711) at com.tns.Platform.callJSMethod(Platform.java:690) at com.tns.Platform.callJSMethod(Platform.java:680)
    No Bugmate found.