Hello,
sorry for my bad english and also for my basic knowledge about code writing.
I've got a crash on my app using jMQTT library.
I've read by erel that the library haven't update since today because it's stable. In my case the error (quite difficult for me to intercept it) on debug window start whith
java.lang.NullPointerException: Attempt to invoke virtual method 'org.eclipse.paho.client.mqttv3.IMqttToken org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(java.lang.String, int)' on a null object reference
Searching on th web, i've found this interesting page:
https://github.com/eclipse/paho.mqtt.android/issues/208
In effect, i got th error when i try to close mqtt client by 'mqttclient.close' command on lost connections.
Again, i'm a 'sunday programmer', and i dont know alot of java, so i'm not always sure for all i do... But if my question could be useful also for other than me, i will glad to read replyes.
Thank you.
Maurizio.