Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by TomDemulierChevret
, 1 year ago
Attempt to invoke virtual method 'java.util.List android.bluetooth.BluetoothGattService.getCharacteristics()' on a null object reference
via GitHub by MarioArkwright
, 6 days ago
Attempt to invoke virtual method 'java.util.List android.bluetooth.BluetoothGattService.getCharacteristics()' on a null object reference
via GitHub by don
, 6 days ago
Attempt to invoke virtual method 'java.util.List android.bluetooth.BluetoothGattService.getCharacteristics()' on a null object reference
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)