Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
04-24 22:12:03.830 18041-18139/com.xxx.xxx.smarthook E/AndroidRuntime: FATAL EXCEPTION: MQTT Con: 02:00:00:00:00:00
Process: com.xxx.xx.smarthook, PID: 18041
java.lang.NullPointerException: cancel() called with a null PendingIntent
at android.app.AlarmManager.cancel(AlarmManager.java:890)
at org.eclipse.paho.android.service.AlarmPingSender.stop(AlarmPingSender.java:86)
at org.eclipse.paho.client.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:327)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:608)
at java.lang.Thread.run(Thread.java:761)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment