java.lang.NullPointerException: Attempt to invoke virtual method 'long org.eclipse.paho.client.mqttv3.internal.ClientState.getKeepAlive()' on a null object reference ...
at org.eclipse.paho.client.mqttv3.internal.CommsTokenStore.saveToken(CommsTokenStore.java:144) at org.eclipse.paho.client.mqttv3.internal.ClientState ...