<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/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/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.5</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">1.org.apache.dubbo.common.utils.PojoUtils getDefaultValue ,when parameterType is boolean, error happens</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20244175/97677495-4d27bd80-1acd-11eb-8d73-b42caded62cd.png"><img src="https://user-images.githubusercontent.com/20244175/97677495-4d27bd80-1acd-11eb-8d73-b42caded62cd.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">bool -&gt; boolean</p>
<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>
<ul dir="auto">
<li>Dubbo version: dubbo-spring-boot-starter 2.7.3 (provider&amp;consumer)</li>
<li>Operating System version: win7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>when I use redis as register center ,it occurs，when multicast no</li>
<li>no exception，return result like this，Result{returnCode=0, msg='null', data={}}</li>
<li>the timestamp of provider&amp;consumer server  is approximate, I set them by myself<br>
4.In most cases,it does not happen</li>
</ol>
<p dir="auto">provider service:<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(interfaceClass = IAccessService.class, version = "1.0.0", group = "authorize")<br>
<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/component/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/component">@component</a><br>
public class AccessServiceImp implements IAccessService {<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/OverRide/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/OverRide">@OverRide</a><br>
public Result checkAccess(Byte clusterId, String userName, String ip) {<br>
Result result = new Result();<br>
return result;<br>
}<br>
config:<br>
dubbo.application.name=dubbo-provider-authorize<br>
dubbo.registry.address=redis://root:bwda@123@192.168.2.34:6379/0<br>
#本地调试地址，有效的多播地址范围是：224.0.0.0-239.255.255.255<br>
#dubbo.registry.address=multicast://224.5.6.8:9090<br>
dubbo.protocol.name=dubbo<br>
dubbo.protocol.port=20880</p>
<p dir="auto">consumer method:<br>
private IAccessService accessService;<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a>(version="1.0.0",group ="authorize",timeout = 10000,check=false)<br>
Result result = new Result();<br>
result = accessService.checkAccess(cluster.getClusterid(), userName, ip);<br>
if(Constants.PolicyAccess.ACCESS_CODE == result.getReturnCode()){</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     ｝"><pre class="notranslate"><code class="notranslate">     ｝
</code></pre></div>
<p dir="auto">config:<br>
dubbo.application.name=dubbo-consumer-httpProxy<br>
dubbo.registry.address=redis://root:bwda@123@192.168.2.34:6379/0<br>
#本地调试地址，有效的多播地址范围是：224.0.0.0-239.255.255.255<br>
#dubbo.registry.address=multicast://224.5.6.8:9090?unicast=false</p>