<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: <code class="notranslate">2.7.5</code></li>
<li>Operating System version:<code class="notranslate"> Mac OS 10.15.3 (19D76)</code></li>
<li>Java version: java version <code class="notranslate">"1.8.0_181"/ Java(TM) SE Runtime Environment (build 1.8.0_181-b13)/ Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)</code></li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>use default <code class="notranslate">start.sh</code> shell to start</li>
<li>logger with <code class="notranslate">debug</code> level configuration</li>
<li>throws exception:  java.lang.StackOverflowError</li>
</ol>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[15/02/20 07:32:40:040 CST] main  WARN support.DefaultListableBeanFactory: FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet
java.lang.StackOverflowError
	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
	at java.io.File.exists(File.java:819)
	at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1282)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:239)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:365)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.dubbo.config.ReferenceConfigBase.getInterfaceClass(ReferenceConfigBase.java:183)
	at org.apache.dubbo.config.spring.ReferenceBean.getObjectType(ReferenceBean.java:73)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBeanRegistrySupport.java:65)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1375)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:750)
	at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:529)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:359)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:322)
	at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1174)
	at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:144)
	at com.alibaba.spring.util.BeanFactoryUtils.getBeans(BeanFactoryUtils.java:80)
	at com.alibaba.spring.util.BeanFactoryUtils.getOptionalBean(BeanFactoryUtils.java:59)
	at org.apache.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:69)
	at org.apache.dubbo.common.extension.factory.AdaptiveExtensionFactory.getExtension(AdaptiveExtensionFactory.java:47)
	at org.apache.dubbo.common.extension.ExtensionLoader.injectExtension(ExtensionLoader.java:642)
	at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:599)
	at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:392)
	at org.apache.dubbo.rpc.model.ApplicationModel.getConfigManager(ApplicationModel.java:92)
	at org.apache.dubbo.config.AbstractConfig.addIntoConfigManager(AbstractConfig.java:582)
	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
......"><pre class="notranslate">[<span class="pl-c1">15</span>/<span class="pl-c1">02</span>/<span class="pl-c1">20</span> <span class="pl-c1">07</span>:<span class="pl-c1">32</span>:<span class="pl-c1">40</span>:<span class="pl-c1">040</span> <span class="pl-c1">CST</span>] <span class="pl-smi">main</span>  <span class="pl-c1">WARN</span> <span class="pl-smi">support</span>.<span class="pl-smi">DefaultListableBeanFactory</span>: <span class="pl-s1">FactoryBean</span> <span class="pl-s1">threw</span> <span class="pl-s1">exception</span> <span class="pl-s1">from</span> <span class="pl-s1">getObjectType</span>, <span class="pl-s1">despite</span> <span class="pl-smi">the</span> <span class="pl-s1">contract</span> <span class="pl-smi">saying</span> <span class="pl-s1">that</span> <span class="pl-smi">it</span> <span class="pl-s1">should</span> <span class="pl-k">return</span> <span class="pl-c1">null</span> <span class="pl-s1">if</span> <span class="pl-s1">the</span> <span class="pl-s1">type</span> <span class="pl-s1">of</span> <span class="pl-s1">its</span> <span class="pl-smi">object</span> <span class="pl-s1">cannot</span> <span class="pl-smi">be</span> <span class="pl-s1">determined</span> <span class="pl-smi">yet</span>
<span class="pl-smi">java</span>.<span class="pl-smi">lang</span>.<span class="pl-smi">StackOverflowError</span>
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">io</span>.<span class="pl-s1">UnixFileSystem</span>.<span class="pl-en">getBooleanAttributes0</span>(<span class="pl-smi">Native</span> <span class="pl-s1">Method</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">io</span>.<span class="pl-s1">UnixFileSystem</span>.<span class="pl-en">getBooleanAttributes</span>(<span class="pl-smi">UnixFileSystem</span>.<span class="pl-smi">java</span>:<span class="pl-c1">242</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">io</span>.<span class="pl-s1">File</span>.<span class="pl-en">exists</span>(<span class="pl-smi">File</span>.<span class="pl-smi">java</span>:<span class="pl-c1">819</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">misc</span>.<span class="pl-s1">URLClassPath$FileLoader</span>.<span class="pl-en">getResource</span>(<span class="pl-smi">URLClassPath</span>.<span class="pl-smi">java</span>:<span class="pl-c1">1282</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">misc</span>.<span class="pl-s1">URLClassPath</span>.<span class="pl-en">getResource</span>(<span class="pl-smi">URLClassPath</span>.<span class="pl-smi">java</span>:<span class="pl-c1">239</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">net</span>.<span class="pl-s1">URLClassLoader$1</span>.<span class="pl-en">run</span>(<span class="pl-smi">URLClassLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">365</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">net</span>.<span class="pl-s1">URLClassLoader$1</span>.<span class="pl-en">run</span>(<span class="pl-smi">URLClassLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">362</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">security</span>.<span class="pl-s1">AccessController</span>.<span class="pl-en">doPrivileged</span>(<span class="pl-smi">Native</span> <span class="pl-s1">Method</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">net</span>.<span class="pl-s1">URLClassLoader</span>.<span class="pl-en">findClass</span>(<span class="pl-smi">URLClassLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">361</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">ClassLoader</span>.<span class="pl-en">loadClass</span>(<span class="pl-smi">ClassLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">424</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">misc</span>.<span class="pl-s1">Launcher$AppClassLoader</span>.<span class="pl-en">loadClass</span>(<span class="pl-smi">Launcher</span>.<span class="pl-smi">java</span>:<span class="pl-c1">349</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">ClassLoader</span>.<span class="pl-en">loadClass</span>(<span class="pl-smi">ClassLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">357</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">Class</span>.<span class="pl-en">forName0</span>(<span class="pl-smi">Native</span> <span class="pl-s1">Method</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">Class</span>.<span class="pl-en">forName</span>(<span class="pl-smi">Class</span>.<span class="pl-smi">java</span>:<span class="pl-c1">348</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">config</span>.<span class="pl-s1">ReferenceConfigBase</span>.<span class="pl-en">getInterfaceClass</span>(<span class="pl-smi">ReferenceConfigBase</span>.<span class="pl-smi">java</span>:<span class="pl-c1">183</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">config</span>.<span class="pl-s1">spring</span>.<span class="pl-s1">ReferenceBean</span>.<span class="pl-en">getObjectType</span>(<span class="pl-smi">ReferenceBean</span>.<span class="pl-smi">java</span>:<span class="pl-c1">73</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">FactoryBeanRegistrySupport</span>.<span class="pl-en">getTypeForFactoryBean</span>(<span class="pl-smi">FactoryBeanRegistrySupport</span>.<span class="pl-smi">java</span>:<span class="pl-c1">65</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">AbstractBeanFactory</span>.<span class="pl-en">getTypeForFactoryBean</span>(<span class="pl-smi">AbstractBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">1375</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">AbstractAutowireCapableBeanFactory</span>.<span class="pl-en">getTypeForFactoryBean</span>(<span class="pl-smi">AbstractAutowireCapableBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">750</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">AbstractBeanFactory</span>.<span class="pl-en">isTypeMatch</span>(<span class="pl-smi">AbstractBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">529</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">DefaultListableBeanFactory</span>.<span class="pl-en">doGetBeanNamesForType</span>(<span class="pl-smi">DefaultListableBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">359</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">DefaultListableBeanFactory</span>.<span class="pl-en">getBeanNamesForType</span>(<span class="pl-smi">DefaultListableBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">335</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">support</span>.<span class="pl-s1">DefaultListableBeanFactory</span>.<span class="pl-en">getBeanNamesForType</span>(<span class="pl-smi">DefaultListableBeanFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">322</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">context</span>.<span class="pl-s1">support</span>.<span class="pl-s1">AbstractApplicationContext</span>.<span class="pl-en">getBeanNamesForType</span>(<span class="pl-smi">AbstractApplicationContext</span>.<span class="pl-smi">java</span>:<span class="pl-c1">1174</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">springframework</span>.<span class="pl-s1">beans</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">BeanFactoryUtils</span>.<span class="pl-en">beanNamesForTypeIncludingAncestors</span>(<span class="pl-smi">BeanFactoryUtils</span>.<span class="pl-smi">java</span>:<span class="pl-c1">144</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">alibaba</span>.<span class="pl-s1">spring</span>.<span class="pl-s1">util</span>.<span class="pl-s1">BeanFactoryUtils</span>.<span class="pl-en">getBeans</span>(<span class="pl-smi">BeanFactoryUtils</span>.<span class="pl-smi">java</span>:<span class="pl-c1">80</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">alibaba</span>.<span class="pl-s1">spring</span>.<span class="pl-s1">util</span>.<span class="pl-s1">BeanFactoryUtils</span>.<span class="pl-en">getOptionalBean</span>(<span class="pl-smi">BeanFactoryUtils</span>.<span class="pl-smi">java</span>:<span class="pl-c1">59</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">config</span>.<span class="pl-s1">spring</span>.<span class="pl-s1">extension</span>.<span class="pl-s1">SpringExtensionFactory</span>.<span class="pl-en">getExtension</span>(<span class="pl-smi">SpringExtensionFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">69</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">common</span>.<span class="pl-s1">extension</span>.<span class="pl-s1">factory</span>.<span class="pl-s1">AdaptiveExtensionFactory</span>.<span class="pl-en">getExtension</span>(<span class="pl-smi">AdaptiveExtensionFactory</span>.<span class="pl-smi">java</span>:<span class="pl-c1">47</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">common</span>.<span class="pl-s1">extension</span>.<span class="pl-s1">ExtensionLoader</span>.<span class="pl-en">injectExtension</span>(<span class="pl-smi">ExtensionLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">642</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">common</span>.<span class="pl-s1">extension</span>.<span class="pl-s1">ExtensionLoader</span>.<span class="pl-en">createExtension</span>(<span class="pl-smi">ExtensionLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">599</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">common</span>.<span class="pl-s1">extension</span>.<span class="pl-s1">ExtensionLoader</span>.<span class="pl-en">getExtension</span>(<span class="pl-smi">ExtensionLoader</span>.<span class="pl-smi">java</span>:<span class="pl-c1">392</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">rpc</span>.<span class="pl-s1">model</span>.<span class="pl-s1">ApplicationModel</span>.<span class="pl-en">getConfigManager</span>(<span class="pl-smi">ApplicationModel</span>.<span class="pl-smi">java</span>:<span class="pl-c1">92</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">dubbo</span>.<span class="pl-s1">config</span>.<span class="pl-s1">AbstractConfig</span>.<span class="pl-en">addIntoConfigManager</span>(<span class="pl-smi">AbstractConfig</span>.<span class="pl-smi">java</span>:<span class="pl-c1">582</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">GeneratedMethodAccessor12</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">DelegatingMethodAccessorImpl</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">DelegatingMethodAccessorImpl</span>.<span class="pl-smi">java</span>:<span class="pl-c1">43</span>)
	<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">Method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Method</span>.<span class="pl-smi">java</span>:<span class="pl-c1">498</span>)
......</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[15/02/20 07:32:40:040 CST] Thread-1  WARN support.ClassPathXmlApplicationContext: Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
	at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:170)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049)
	at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:980)
[15/02/20 07:32:40:040 CST] Thread-1  WARN support.ClassPathXmlApplicationContext: Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.context.support.ClassPathXmlApplicationContext@2aa3cd93: startup date [Sat Feb 15 19:32:36 CST 2020]; root of context hierarchy
	at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)
	at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:980)"><pre class="notranslate"><code class="notranslate">[15/02/20 07:32:40:040 CST] Thread-1  WARN support.ClassPathXmlApplicationContext: Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
	at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:170)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049)
	at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:980)
[15/02/20 07:32:40:040 CST] Thread-1  WARN support.ClassPathXmlApplicationContext: Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.context.support.ClassPathXmlApplicationContext@2aa3cd93: startup date [Sat Feb 15 19:32:36 CST 2020]; root of context hierarchy
	at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)
	at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:980)
</code></pre></div>
<p dir="auto">Solve by the steps:</p>
<ol dir="auto">
<li>copy the <code class="notranslate">start.sh</code> from dubbo to a individual place</li>
<li>change the <code class="notranslate">-Xss</code> to 512K in start.sh</li>
<li>start the system and it seems ok</li>
</ol>
<p dir="auto">Does the <code class="notranslate">-Xss=256K</code> is too small ? So not all the Beans can be loaded by the JVM?<br>
So I wonder if <code class="notranslate">-Xss</code> is a configurable option?</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/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.4</li>
<li>Operating System version: win10</li>
<li>Java version: 1.7</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread &quot;main&quot; com.alibaba.dubbo.rpc.RpcException: Failed to invoke remote method: uniqueIdbyPost, provider: dubbo://192.168.15.74:15401/com.uniqueId.api.IdServerService?anyhost=true&amp;application=IDClient&amp;check=false&amp;cluster=broadcast&amp;connections=100&amp;dubbo=2.8.4&amp;generic=false&amp;interface=com.uniqueId.api.IdServerService&amp;methods=uniqueIdbyGet,uniqueIdbyPost&amp;organization=com&amp;owner=qq&amp;pid=6984&amp;register.ip=192.168.14.8&amp;remote.timestamp=1541551569434&amp;revision=1.0&amp;side=consumer&amp;timeout=10000&amp;timestamp=1542096112073&amp;validation=true, cause: Fail to decode request due to: RpcInvocation [methodName=uniqueIdbyPost, parameterTypes=null, arguments=null, attachments={dubbo=2.0.2, input=282, path=com.uniqueId.api.IdServerService, version=0.0.0}]
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:100)
	at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:154)
	at com.alibaba.dubbo.validation.filter.ValidationFilter.invoke(ValidationFilter.java:58)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:49)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
	at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
	at com.alibaba.dubbo.rpc.cluster.support.BroadcastClusterInvoker.doInvoke(BroadcastClusterInvoker.java:52)
	at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:244)
	at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
	at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
	at com.alibaba.dubbo.common.bytecode.proxy0.uniqueIdbyPost(proxy0.java)
	at com.test.ClientTest.main(ClientTest.java:21)
Caused by: com.alibaba.dubbo.remoting.RemotingException: Fail to decode request due to: RpcInvocation [methodName=uniqueIdbyPost, parameterTypes=null, arguments=null, attachments={dubbo=2.0.2, input=282, path=com.uniqueId.api.IdServerService, version=0.0.0}]
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:245)
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:162)
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:135)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
	... 17 more"><pre class="notranslate"><code class="notranslate">Exception in thread "main" com.alibaba.dubbo.rpc.RpcException: Failed to invoke remote method: uniqueIdbyPost, provider: dubbo://192.168.15.74:15401/com.uniqueId.api.IdServerService?anyhost=true&amp;application=IDClient&amp;check=false&amp;cluster=broadcast&amp;connections=100&amp;dubbo=2.8.4&amp;generic=false&amp;interface=com.uniqueId.api.IdServerService&amp;methods=uniqueIdbyGet,uniqueIdbyPost&amp;organization=com&amp;owner=qq&amp;pid=6984&amp;register.ip=192.168.14.8&amp;remote.timestamp=1541551569434&amp;revision=1.0&amp;side=consumer&amp;timeout=10000&amp;timestamp=1542096112073&amp;validation=true, cause: Fail to decode request due to: RpcInvocation [methodName=uniqueIdbyPost, parameterTypes=null, arguments=null, attachments={dubbo=2.0.2, input=282, path=com.uniqueId.api.IdServerService, version=0.0.0}]
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:100)
	at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:154)
	at com.alibaba.dubbo.validation.filter.ValidationFilter.invoke(ValidationFilter.java:58)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:49)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
	at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
	at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
	at com.alibaba.dubbo.rpc.cluster.support.BroadcastClusterInvoker.doInvoke(BroadcastClusterInvoker.java:52)
	at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:244)
	at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
	at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
	at com.alibaba.dubbo.common.bytecode.proxy0.uniqueIdbyPost(proxy0.java)
	at com.test.ClientTest.main(ClientTest.java:21)
Caused by: com.alibaba.dubbo.remoting.RemotingException: Fail to decode request due to: RpcInvocation [methodName=uniqueIdbyPost, parameterTypes=null, arguments=null, attachments={dubbo=2.0.2, input=282, path=com.uniqueId.api.IdServerService, version=0.0.0}]
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:245)
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:162)
	at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:135)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
	... 17 more
</code></pre></div>