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.

  • Uncaught exception from plugin
    via GitHub by nexus1892
    ,
  • Connect error on Android
    via GitHub by loopezz
    ,
    • java.lang.NullPointerException: Attempt to invoke virtual method 'android.bluetooth.BluetoothGattCharacteristic android.bluetooth.BluetoothGattService.getCharacteristic(java.util.UUID)' on a null object reference at com.megster.cordova.ble.central.Peripheral.writeCharacteristic(Peripheral.java:366) at com.megster.cordova.ble.central.Peripheral.processCommands(Peripheral.java:440) at com.megster.cordova.ble.central.Peripheral.queueCommand(Peripheral.java:414) at com.megster.cordova.ble.central.Peripheral.queueWrite(Peripheral.java:396) at com.megster.cordova.ble.central.BLECentralPlugin.write(BLECentralPlugin.java:253) at com.megster.cordova.ble.central.BLECentralPlugin.execute(BLECentralPlugin.java:129) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:114) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:95) at org.apache.cordova.PluginManager.exec(PluginManager.java:130) at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59) at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:28) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:155) at android.os.HandlerThread.run(HandlerThread.java:61)
    No Bugmate found.