eclipse-paho / eclipse-paho/paho.mqtt.java
When invalid topicFilter is subscribed, IllegalArgumentException maybe ignored since it is RuntimeException and needn't be handled.
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Please fill out the form below before submitting, thank you!
- [√ ] Bug exists Release Version 1.2.2 ( Master Branch)
- [√] Bug exists in MQTTv3 Client on Snapshot Version 1.2.3-SNAPSHOT (Develop Branch)
- [√ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.3-SNAPSHOT (Develop Branch)
When an invalid topicFilter is subscribed, IllegalArgumentException is thrown. Since subscribe() method of MqttClient( and MqttAysncClient) only throws MqttException, the IllegalArgumentException maybe ignored by users. This is not friendly since nobody knows what exactly happened.

Contributor guide
Assessment
This issue has not been assessed yet.