<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/wiki/FAQ">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.6.2</li>
<li>Operating System version: centos</li>
<li>Java version: 1.8.0_144</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<ol dir="auto">
<li>ip获取工具错误导致 StackOverflowError</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">不报错</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">报错，不能启动</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=" 187 &quot;main&quot; #1 prio=5 os_prio=0 tid=0x00007f817000b000 nid=0x48ce in Object.wait() [0x00007f817645b000]
 188    java.lang.Thread.State: WAITING (on object monitor)
 189         at java.lang.Object.wait(Native Method)
 190         at java.lang.Object.wait(Object.java:502)
 191         at java.net.InetAddress.checkLookupTable(InetAddress.java:1393)
 192         - locked &lt;0x00000005c07e62a8&gt; (a java.util.HashMap)
 193         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1310)
 194         at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
 195         - locked &lt;0x00000005c07e6298&gt; (a java.lang.Object)
 196         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:188)
 197         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 198         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 199         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 200         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110)
 201         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220)
 202         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 203         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 204         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 205         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134)
 206         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222)
 207         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 208         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 209         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 210         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110)
 211         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220)
 212         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 213         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 214         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 215         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134)
 216         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222)
 217         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 218         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 219         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)"><pre class="notranslate"><code class="notranslate"> 187 "main" #1 prio=5 os_prio=0 tid=0x00007f817000b000 nid=0x48ce in Object.wait() [0x00007f817645b000]
 188    java.lang.Thread.State: WAITING (on object monitor)
 189         at java.lang.Object.wait(Native Method)
 190         at java.lang.Object.wait(Object.java:502)
 191         at java.net.InetAddress.checkLookupTable(InetAddress.java:1393)
 192         - locked &lt;0x00000005c07e62a8&gt; (a java.util.HashMap)
 193         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1310)
 194         at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
 195         - locked &lt;0x00000005c07e6298&gt; (a java.lang.Object)
 196         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:188)
 197         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 198         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 199         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 200         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110)
 201         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220)
 202         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 203         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 204         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 205         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134)
 206         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222)
 207         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 208         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 209         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 210         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110)
 211         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220)
 212         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 213         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 214         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
 215         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134)
 216         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222)
 217         at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180)
 218         at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146)
 219         at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)
</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" 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.6.5</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>dubbo spi 扩展列表有 exception=com.alibaba.dubbo.rpc.filter.ExceptionFilter</li>
<li>我自己实现了一个 filter 扩展，名为 exception=xxxFilter</li>
<li>debug com.alibaba.dubbo.common.extension.ExtensionLoader#loadClass 将抛出 throw new IllegalStateException("Duplicate extension "......)</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">此异常被 exceptions 获取后，不抛出来，理论上不应该抛出来给用户吗，否则将被加载 jar 包的顺序影响，如果在 dubbo 生效之前加载，自己的 filter 就起作用，否则不起作用</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">捕获异常后没有任何提示信息</p>