<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.6.5</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">官方网站只是简单的说了dubbo集成skywalking,实际有很多细节，skywalking5.x和6.x的配置有很多差异的地方，希望能够稍微详细点说明。</p>
<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.7</li>
<li>Dubbo-Admin version: 最新版本</li>
<li>Operating System version: 10.15.5</li>
<li>Java version:  OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)<br>
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>
<p dir="auto">创建一个接口与一个方法，方法入参为一个对象(内部有引用自身的范型类型)，如下：<br>
`class Person implements Serializable {</p>
<p dir="auto">private List persons;</p>
<p dir="auto">//get/set<br>
}<br>
interface GreetingService {</p>
<p dir="auto">Person testPerson(Person person);<br>
}`</p>
</li>
<li>
<p dir="auto">使用dubbo-admin，进入服务测试</p>
</li>
<li>
<p dir="auto">会在解析persons属性时导致java.lang.StackOverflowError</p>
</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">输出正确的结果</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">在解析List范型类型时，每次会从ServiceDefinition中获取已经存在的Person，而Person又包含有List属性，从而导致java.lang.StackOverflowError异常</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="java.lang.StackOverflowError
	at java.util.regex.Pattern$CharProperty.match(Pattern.java:3789)
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4264)
	at java.util.regex.Pattern$Curly.match(Pattern.java:4248)
	at java.util.regex.Pattern$Slice.match(Pattern.java:3986)
	at java.util.regex.Pattern$Begin.match(Pattern.java:3539)
	at java.util.regex.Matcher.match(Matcher.java:1270)
	at java.util.regex.Matcher.matches(Matcher.java:604)
	at org.apache.dubbo.metadata.ServiceTestUtil.isMap(ServiceTestUtil.java:97)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:151)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:158)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:145)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateCollectionType(ServiceTestUtil.java:188)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:156)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:158)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:145)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateCollectionType(ServiceTestUtil.java:188)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:156)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)"><pre class="notranslate"><code class="notranslate">java.lang.StackOverflowError
	at java.util.regex.Pattern$CharProperty.match(Pattern.java:3789)
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4264)
	at java.util.regex.Pattern$Curly.match(Pattern.java:4248)
	at java.util.regex.Pattern$Slice.match(Pattern.java:3986)
	at java.util.regex.Pattern$Begin.match(Pattern.java:3539)
	at java.util.regex.Matcher.match(Matcher.java:1270)
	at java.util.regex.Matcher.matches(Matcher.java:604)
	at org.apache.dubbo.metadata.ServiceTestUtil.isMap(ServiceTestUtil.java:97)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:151)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:158)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:145)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateCollectionType(ServiceTestUtil.java:188)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:156)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:158)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:145)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateCollectionType(ServiceTestUtil.java:188)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateType(ServiceTestUtil.java:156)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateEnclosedType(ServiceTestUtil.java:200)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:82)
	at org.apache.dubbo.metadata.ServiceTestUtil.generateComplexType(ServiceTestUtil.java:89)
</code></pre></div>