Skip to content

Instantly share code, notes, and snippets.

@sankarcheppali
Created April 24, 2017 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sankarcheppali/a5128ffd07f1d75287777bf406cee940 to your computer and use it in GitHub Desktop.
Save sankarcheppali/a5128ffd07f1d75287777bf406cee940 to your computer and use it in GitHub Desktop.
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