java.lang.IllegalArgumentException

Invalid topic length, should be in range[1, 65535]!

Solutions on the web16390

  • via GitHub by 4refr0nt
    , 9 months ago
    Invalid topic length, should be in range[1, 65535]!
  • via GitHub by arcoirislabs
    , 9 months ago
    Invalid topic length, should be in range[1, 65535]!
  • Invalid row number (-1) outside allowable range (0..65535)
  • Stack trace

    • java.lang.IllegalArgumentException: Invalid topic length, should be in range[1, 65535]! at org.eclipse.paho.client.mqttv3.MqttTopic.validate(MqttTopic.java:158) at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(MqttAsyncClient.java:823) at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(MqttAsyncClient.java:783) at com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin.subscribe(CordovaMqTTPlugin.java:273) at com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin.access$200(CordovaMqTTPlugin.java:24) at com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin$3.run(CordovaMqTTPlugin.java:76) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5264) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.