You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1919)
at com.alibaba.nacos.naming.push.v1.ClientInfo.(ClientInfo.java:41)
at com.alibaba.nacos.naming.core.InstanceOperatorServiceImpl.listInstance(InstanceOperatorServiceImpl.java:146)
Expected behavior
return a ClientInfo with an unknown version by default
Acutally behavior
throws an exception
How to Reproduce
new ClientInfo("")
Desktop (please complete the following information):
OS: [osx]
Version [nacos-server 2.0.0-BETA]
Module [naming]
SDK [original]
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1919)
at com.alibaba.nacos.naming.push.v1.ClientInfo.(ClientInfo.java:41)
at com.alibaba.nacos.naming.core.InstanceOperatorServiceImpl.listInstance(InstanceOperatorServiceImpl.java:146)
Expected behavior
return a ClientInfo with an unknown version by default
Acutally behavior
throws an exception
How to Reproduce
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: