Hi,
I am sorry to re-open this discussion but I keep receiving this error in the google developer still after 4 years. on my devices or emulator I never got one but for some reasons while in the field this issue is triggered.
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void org.eclipse.paho.client.mqttv3.internal.CommsTokenStore.quiesce(org.eclipse.paho.client.mqttv3.MqttException)' on a null object reference
Based on the below link to me it is crystal clear that they addressed this issue in the 1.2 version of their lib.
Steps to reproduce: Call MqttAsyncClient.connect() Immediately after IMqttActionListener.onFailure() is called, call MqttAsyncClient.close() Issue: MqttAsyncClient.connect() creates the shutdownCon...
github.com
The B4J version of this lib has been updated to 1.25 but apparently it's not possible for Android.
What can we do? there must be a way to update the existing library somehow PLEASE!
I am sorry to re-open this discussion but I keep receiving this error in the google developer still after 4 years. on my devices or emulator I never got one but for some reasons while in the field this issue is triggered.
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void org.eclipse.paho.client.mqttv3.internal.CommsTokenStore.quiesce(org.eclipse.paho.client.mqttv3.MqttException)' on a null object reference
Based on the below link to me it is crystal clear that they addressed this issue in the 1.2 version of their lib.
NPE when MqttAsyncClient is closed after unsuccessful connect · Issue #194 · eclipse-paho/paho.mqtt.java
Steps to reproduce: Call MqttAsyncClient.connect() Immediately after IMqttActionListener.onFailure() is called, call MqttAsyncClient.close() Issue: MqttAsyncClient.connect() creates the shutdownCon...github.com
The B4J version of this lib has been updated to 1.25 but apparently it's not possible for Android.
What can we do? there must be a way to update the existing library somehow PLEASE!