java.lang.NullPointerException

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.

  • Connect error on Android
    via GitHub by loopezz
    ,
  • Uncaught exception from plugin
    via GitHub by nexus1892
    ,
    • java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.bluetooth.BluetoothGattService.getCharacteristics()' on a null object reference at com.megster.cordova.ble.central.Peripheral.findWritableCharacteristic(Peripheral.java:559) at com.megster.cordova.ble.central.Peripheral.writeCharacteristic(Peripheral.java:525) at com.megster.cordova.ble.central.Peripheral.processCommands(Peripheral.java:637) at com.megster.cordova.ble.central.Peripheral.queueCommand(Peripheral.java:611) at com.megster.cordova.ble.central.Peripheral.queueWrite(Peripheral.java:582) at com.megster.cordova.ble.central.BLECentralPlugin.write(BLECentralPlugin.java:403) at com.megster.cordova.ble.central.BLECentralPlugin.execute(BLECentralPlugin.java:179) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:117) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98) at org.apache.cordova.PluginManager.exec(PluginManager.java:133) at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59) at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.os.HandlerThread.run(HandlerThread.java:61)
    No Bugmate found.