paho.mqtt.java icon indicating copy to clipboard operation
paho.mqtt.java copied to clipboard

MqttClient.subscribe recursion called,cause stackoverflow error

Open zhangven opened this issue 4 years ago • 2 comments

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);
	}

zhangven avatar Aug 24 '20 08:08 zhangven

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.

isaric avatar Nov 06 '23 13:11 isaric

The bug persists in 2023! Anyone will fix it?

zjor avatar Dec 11 '23 21:12 zjor