paho.mqtt.java
paho.mqtt.java copied to clipboard
MqttClient.subscribe recursion called,cause stackoverflow error
Please fill out the form below before submitting, thank you!
- [ x] Bug exists Release Version 1.2.5 ( Master Branch)
- [ ] Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
org.eclipse.paho.mqttv5.client.MqttClient:523
public IMqttToken subscribe(String[] topicFilters, int[] qos, IMqttMessageListener[] messageListeners)
throws MqttException {
return this.subscribe(topicFilters, qos, messageListeners);
}
I confirm that this is still happening. Also using 1.2.5. I tried subscribe with teh single message listener lambda and got the same error. If this is a configuration issue, please link to the documentation.
The bug persists in 2023! Anyone will fix it?