org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Hot problem!
This exception has a lot of traffic. You can help 16 users by writing a short tip.

Solutions on the web

Solution icon of github
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of github
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of github
via GitHub by mpostelnicu
, 11 months ago
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of stackoverflow
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of stackoverflow
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of stackoverflow
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

Solution icon of github
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.util.ConcurrentModificationException

Solution icon of github
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.util.ConcurrentModificationException

Solution icon of github
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

Solution icon of stackoverflow
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

Stack trace

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:176)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:852)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)[servlet-api.jar:3.1.FR]
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)[catalina.jar:8.0.30]
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)[catalina.jar:8.0.30]
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)[catalina.jar:8.0.30]
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4997)[catalina.jar:8.0.30]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)[catalina.jar:8.0.30]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.30]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.30]
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.30]
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)[catalina.jar:8.0.30]
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1675)[catalina.jar:8.0.30]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
	at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)[tomcat-coyote.jar:8.0.30]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[na:1.8.0_65]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)[na:1.8.0_65]
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:465)[catalina.jar:8.0.30]
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:415)[catalina.jar:8.0.30]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
	at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)[tomcat-coyote.jar:8.0.30]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[na:1.8.0_65]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)[na:1.8.0_65]
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)[na:1.8.0_65]
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)[na:1.8.0_65]
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)[na:1.8.0_65]
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)[na:1.8.0_65]
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)[na:1.8.0_65]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
	at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)[na:1.8.0_65]
	at sun.rmi.transport.Transport$1.run(Transport.java:200)[na:1.8.0_65]
	at sun.rmi.transport.Transport$1.run(Transport.java:197)[na:1.8.0_65]
	at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_65]
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)[na:1.8.0_65]
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)[na:1.8.0_65]
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)[na:1.8.0_65]
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)[na:1.8.0_65]
	at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_65]
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)[na:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2205)[guava-19.0.jar:na]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3953)[guava-19.0.jar:na]
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)[guava-19.0.jar:na]
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)[guava-19.0.jar:na]
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4881)[guava-19.0.jar:na]
	at springfox.documentation.spring.web.scanners.CachingOperationReader.read(CachingOperationReader.java:57)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.scanners.ApiDescriptionReader.read(ApiDescriptionReader.java:66)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.scanners.ApiListingScanner.scan(ApiListingScanner.java:89)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.scanners.ApiDocumentationScanner.scan(ApiDocumentationScanner.java:70)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper.scanDocumentation(DocumentationPluginsBootstrapper.java:85)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper.start(DocumentationPluginsBootstrapper.java:127)[springfox-spring-web-2.6.1.jar:2.6.1]
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	... 61 more
Caused by: java.lang.StackOverflowError: null
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3797)[na:1.8.0_65]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)[na:1.8.0_65]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604)[na:1.8.0_65]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4602)[na:1.8.0_65]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4602)[na:1.8.0_65]
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)[na:1.8.0_65]
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)[na:1.8.0_65]
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4279)[na:1.8.0_65]
	at java.util.regex.Pattern$Curly.match(Pattern.java:4234)[na:1.8.0_65]
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)[na:1.8.0_65]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604)[na:1.8.0_65]
	at java.util.regex.Pattern$Branch.match(Pattern.java:4602)[na:1.8.0_65]
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)[na:1.8.0_65]
	at java.util.regex.Pattern$Start.match(Pattern.java:3461)[na:1.8.0_65]
	at java.util.regex.Matcher.search(Matcher.java:1248)[na:1.8.0_65]
	at java.util.regex.Matcher.find(Matcher.java:664)[na:1.8.0_65]
	at java.util.Formatter.parse(Formatter.java:2549)[na:1.8.0_65]
	at java.util.Formatter.format(Formatter.java:2501)[na:1.8.0_65]
	at java.util.Formatter.format(Formatter.java:2455)[na:1.8.0_65]
	at java.lang.String.format(String.java:2940)[na:1.8.0_65]
	at springfox.documentation.spring.web.readers.parameter.ExpandedParameterBuilder.apply(ExpandedParameterBuilder.java:64)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.plugins.DocumentationPluginsManager.expandParameter(DocumentationPluginsManager.java:116)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.simpleFields(ModelAttributeParameterExpander.java:156)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.expand(ModelAttributeParameterExpander.java:119)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.expand(ModelAttributeParameterExpander.java:94)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.expand(ModelAttributeParameterExpander.java:94)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.expand(ModelAttributeParameterExpander.java:110)[springfox-spring-web-2.6.1.jar:2.6.1]
	at springfox.documentation.spring.web.readers.parameter.ModelAttributeParameterExpander.expand(ModelAttributeParameterExpander.java:110)[springfox-spring-web-2.6.1.jar:2.6.1]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago