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
{{ message }}
Repository navigation
When using telnet "invoke" method, if there is a [null] param, the response always be [null] #2218
dubbo> invoke com.alibaba.dubbo.demo.DemoService.sayHello(null) // null as parameter
null
reason:
InvokeTelnetHandler.isMatch(Class<?>[] types, List args)
...
} else if (ReflectUtils.isPrimitive(arg.getClass())) { // there should judge arg is null first
原因: InvokeTelnetHandler.isMatch(Class<?>[] types, List args)中判断arg的类型时未做null值判断, arg.getClass()抛出了空指针异常
changed the title [-]Telnet invoke 方法时当参数中有null值时永远返回null (When using telnet "invoke", if there is a [null] param, the response always be [null] too)[/-][+]When using telnet "invoke" method, if there is a [null] param, the response always be [null] [/+]on Aug 9, 2018
Activity
ralf0131 commentedon Aug 9, 2018
Hi, would you mind send a pull request?
[-]Telnet invoke 方法时当参数中有null值时永远返回null (When using telnet "invoke", if there is a [null] param, the response always be [null] too)[/-][+]When using telnet "invoke" method, if there is a [null] param, the response always be [null] [/+]kimmking commentedon Aug 9, 2018
There is a guide here: https://github.com/apache/incubator-dubbo/wiki/New-contributor-guide
fix issue: [2218] When using telnet "invoke" method, if there is a [n…
chickenlj commentedon Aug 10, 2018
http://dubbo.apache.org/#!/docs/user/references/telnet.md?lang=zh-cn
fix issue: [2218] When using telnet "invoke" method, if there is a [n…
fix: resolve apache#2218
fix issue apache#2218
fix telnet invoke NPE #2218 (#2273)
diecui1202 commentedon Sep 5, 2018
Since the PR #2273 has been merged to master, we need a new PR that merge it to 2.6.x
fix telnet invoke NPE #2218 (#2273)
fix telnet invoke NPE #2218 (#2273) (#2453)
fix default setting (#4955)