Closed QiAnXinCodeSafe closed 4 years ago
Hi @QiAnXinCodeSafe, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.
Java -version
): - OS version (eg uname -a
): - Maven version: - IDE version:欢迎提PR解决
好的,后续提交
Your question
ss 可能是null,未做判断处理,会引起空指针异常 https://github.com/sofastack/sofa-bolt/blob/3e2e8090ceabb06f3c2799ead3a1614589fe272c/src/test/java/com/alipay/remoting/rpc/common/PortScan.java#L41 当 new ServerSocket()抛出异常时 https://github.com/sofastack/sofa-bolt/blob/3e2e8090ceabb06f3c2799ead3a1614589fe272c/src/test/java/com/alipay/remoting/rpc/common/PortScan.java#L34
Your scenes
describe your use scenes (why need this feature)
Your advice
describe the advice or solution you'd like
Environment
java -version
):uname -a
):