<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: 2.7.3</li>
<li>Operating System version: centos 7.3</li>
<li>Java version: jdk1.8.0_221</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>dubbo.metadata-report.address = nacos://127.0.0.1:8848<br>
dubbo.registry.address = nacos://127.0.0.1:8848<br>
dubbo.registry.simplified = false</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.apache.dubbo.rpc.RpcException: Failed to put org.apache.dubbo.metadata.identifier.MetadataIdentifier@e4a8091 to nacos {&quot;side&quot;:&quot;consumer&quot;,&quot;release&quot;:&quot;2.7.3&quot;,&quot;methods&quot;:&quot;xxx,&quot;lazy&quot;:&quot;false&quot;,&quot;logger&quot;:&quot;slf4j&quot;,&quot;dubbo&quot;:&quot;2.0.2&quot;,&quot;check&quot;:&quot;false&quot;,&quot;interface&quot;:&quot;xxxx&quot;,&quot;version&quot;:&quot;1.0.0&quot;,&quot;qos.enable&quot;:&quot;false&quot;,&quot;generic&quot;:&quot;false&quot;,&quot;timeout&quot;:&quot;3000&quot;,&quot;revision&quot;:&quot;1.0.0&quot;,&quot;retries&quot;:&quot;0&quot;,&quot;application&quot;:&quot;xxx&quot;,&quot;sticky&quot;:&quot;false&quot;,&quot;validation&quot;:&quot;true&quot;}, cause: null
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.storeMetadata(NacosMetadataReport.java:132) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.doStoreConsumerMetadata(NacosMetadataReport.java:121) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.support.AbstractMetadataReport.storeConsumerMetadataTask(AbstractMetadataReport.java:274) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.support.AbstractMetadataReport.lambda$storeConsumerMetadata$1(AbstractMetadataReport.java:260) ~[dubbo-2.7.3.jar!/:2.7.3]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_221]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_221]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
Caused by: java.lang.NullPointerException
        at java.io.Reader.&lt;init&gt;(Reader.java:78) ~[?:1.8.0_221]
        at java.io.InputStreamReader.&lt;init&gt;(InputStreamReader.java:97) ~[?:1.8.0_221]
        at com.alibaba.nacos.client.config.utils.IOUtils.toString(IOUtils.java:33) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.impl.HttpSimpleClient.httpPost(HttpSimpleClient.java:129) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:135) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpPost(MetricsHttpAgent.java:64) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.NacosConfigService.publishConfigInner(NacosConfigService.java:283) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.NacosConfigService.publishConfig(NacosConfigService.java:139) ~[nacos-client-1.1.1.jar!/:?]
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.storeMetadata(NacosMetadataReport.java:126) ~[dubbo-2.7.3.jar!/:2.7.3]
        ... 6 more"><pre class="notranslate"><code class="notranslate">org.apache.dubbo.rpc.RpcException: Failed to put org.apache.dubbo.metadata.identifier.MetadataIdentifier@e4a8091 to nacos {"side":"consumer","release":"2.7.3","methods":"xxx,"lazy":"false","logger":"slf4j","dubbo":"2.0.2","check":"false","interface":"xxxx","version":"1.0.0","qos.enable":"false","generic":"false","timeout":"3000","revision":"1.0.0","retries":"0","application":"xxx","sticky":"false","validation":"true"}, cause: null
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.storeMetadata(NacosMetadataReport.java:132) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.doStoreConsumerMetadata(NacosMetadataReport.java:121) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.support.AbstractMetadataReport.storeConsumerMetadataTask(AbstractMetadataReport.java:274) ~[dubbo-2.7.3.jar!/:2.7.3]
        at org.apache.dubbo.metadata.support.AbstractMetadataReport.lambda$storeConsumerMetadata$1(AbstractMetadataReport.java:260) ~[dubbo-2.7.3.jar!/:2.7.3]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_221]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_221]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
Caused by: java.lang.NullPointerException
        at java.io.Reader.&lt;init&gt;(Reader.java:78) ~[?:1.8.0_221]
        at java.io.InputStreamReader.&lt;init&gt;(InputStreamReader.java:97) ~[?:1.8.0_221]
        at com.alibaba.nacos.client.config.utils.IOUtils.toString(IOUtils.java:33) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.impl.HttpSimpleClient.httpPost(HttpSimpleClient.java:129) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:135) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpPost(MetricsHttpAgent.java:64) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.NacosConfigService.publishConfigInner(NacosConfigService.java:283) ~[nacos-client-1.1.1.jar!/:?]
        at com.alibaba.nacos.client.config.NacosConfigService.publishConfig(NacosConfigService.java:139) ~[nacos-client-1.1.1.jar!/:?]
        at org.apache.dubbo.metadata.store.nacos.NacosMetadataReport.storeMetadata(NacosMetadataReport.java:126) ~[dubbo-2.7.3.jar!/:2.7.3]
        ... 6 more
</code></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/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: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>