When passing null to MqttProperties.setResponseTopic, it throws null pointer exception.
It should be acceptable to set the property to null.
java.lang.NullPointerException
java.lang.NullPointerException
at org.eclipse.paho.mqttv5.common.util.MqttTopicValidator.validate(MqttTopicValidator.java:55)
at org.eclipse.paho.mqttv5.common.packet.MqttProperties.setResponseTopic(MqttProperties.java:1229)
at com.ibm.ism.ws.test.MyMessage.setResponseTopic(MyMessage.java:816)
at com.ibm.ism.ws.test.CreateMessageAction.invokeApi(CreateMessageAction.java:159)
at com.ibm.ism.ws.test.ApiCallAction.run(ApiCallAction.java:159)
at com.ibm.ism.ws.test.Action.execute(Action.java:256)
at com.ibm.ism.ws.test.CompositeAction$CompositeActionRunable.run(CompositeAction.java:189)
at java.lang.Thread.run(Thread.java:745)
Please fill out the form below before submitting, thank you!
If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new
When passing null to MqttProperties.setResponseTopic, it throws null pointer exception.
It should be acceptable to set the property to null.