<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<p dir="auto">branch: master</p>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">When the rc.getParameters() return null,cc.getParameters() will be null too.</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (rc.getParameters() != null) {
                    Map&lt;String, String&gt; configParams = cc.getParameters() == null ? new HashMap&lt;&gt;() : cc.getParameters();
                    configParams.putAll(rc.getParameters());
                    cc.setParameters(configParams);
                }
cc.getParameters().put(org.apache.dubbo.remoting.Constants.CLIENT_KEY,rc.getClient());"><pre class="notranslate"><span class="pl-k">if</span> (<span class="pl-s1">rc</span>.<span class="pl-en">getParameters</span>() != <span class="pl-c1">null</span>) {
                    <span class="pl-smi">Map</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">String</span>&gt; <span class="pl-s1">configParams</span> = <span class="pl-s1">cc</span>.<span class="pl-en">getParameters</span>() == <span class="pl-c1">null</span> ? <span class="pl-k">new</span> <span class="pl-smi">HashMap</span>&lt;&gt;() : <span class="pl-s1">cc</span>.<span class="pl-en">getParameters</span>();
                    <span class="pl-s1">configParams</span>.<span class="pl-en">putAll</span>(<span class="pl-s1">rc</span>.<span class="pl-en">getParameters</span>());
                    <span class="pl-s1">cc</span>.<span class="pl-en">setParameters</span>(<span class="pl-s1">configParams</span>);
                }
<span class="pl-s1">cc</span>.<span class="pl-en">getParameters</span>().<span class="pl-en">put</span>(<span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">remoting</span>.<span class="pl-s1">Constants</span>.<span class="pl-c1">CLIENT_KEY</span>,<span class="pl-s1">rc</span>.<span class="pl-en">getClient</span>());</pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7</li>
<li>Operating System version: window7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>使用注解Method进行回调通知存在bug<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12370508/56722468-bbbde980-6779-11e9-9842-e05c8c6ebc8a.png"><img src="https://user-images.githubusercontent.com/12370508/56722468-bbbde980-6779-11e9-9842-e05c8c6ebc8a.png" alt="image" style="max-width: 100%;"></a><br>
这样做仅仅会将字符串进行设置，显然通常他需要的是一个合理的对象，在spring中，这导致后面的回调会出现错误，<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12370508/56722605-063f6600-677a-11e9-9a7f-7e22fbdec62e.png"><img src="https://user-images.githubusercontent.com/12370508/56722605-063f6600-677a-11e9-9a7f-7e22fbdec62e.png" alt="image" style="max-width: 100%;"></a><br>
spring的这里使用RuntimeBeanReference在后续解析后会引用到具体回调实现。</li>
</ol>