stack overflow error during initial configuration
Asked by Michael Kondratov:

Hello,

I am getting a following error during the initial configuration:

HTTP Status 500 -- Internal Server Error {#toc-hId-1822019479}
--------------------------------------------------------------

*** ** * ** ***

**Type** Exception Report

**Message** Method "update" failed for object com.atlassian.crowd.console.action.setup.Database@49d26ace

**Description** The server encountered an unexpected condition that prevented it from fulfilling the request.

**Exception**

```
ognl.MethodFailedException: Method "update" failed for object com.atlassian.crowd.console.action.setup.Database@49d26ace [java.lang.StackOverflowError: operating system stack overflow]	ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1556)	ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)	com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98)	com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90)	ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1620)	ognl.ASTMethod.getValueBody(ASTMethod.java:91)	ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)	ognl.SimpleNode.getValue(SimpleNode.java:258)	ognl.Ognl.getValue(Ognl.java:470)	ognl.Ognl.getValue(Ognl.java:434)	com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:374)	com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:426)	com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:372)	com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438)	com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:293)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:137)	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:160)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.atlassian.crowd.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:52)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	com.atlassian.crowd.console.interceptor.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:24)	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)	org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:48)	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:574)	org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)	org.apache.struts2.dispatcher.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:86)	com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:125)	com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:76)	com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)	com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter(CrowdDelegatingFilterProxy.java:38)	org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:92)	com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)	com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter(CrowdDelegatingFilterProxy.java:38)	com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:67)	com.atlassian.crowd.console.filter.CrowdOpenSessionInViewFilter.doFilterInternal(CrowdOpenSessionInViewFilter.java:25)	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	com.atlassian.crowd.plugin.web.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:27)	com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)	com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)	com.atlassian.crowd.security.BlockOpenSocialRequestFilter.doFilter(BlockOpenSocialRequestFilter.java:39)	com.atlassian.crowd.console.filter.CrowdCachingFilter.doFilter(CrowdCachingFilter.java:25)	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter(CrowdDelegatingFilterProxy.java:38)	com.atlassian.crowd.webapp.filter.CrowdSecurityHeadersFilter.doFilter(CrowdSecurityHeadersFilter.java:38)	com.atlassian.crowd.plugin.web.filter.HttpRequestLoggingFilter.doFilter(HttpRequestLoggingFilter.java:30)	com.atlassian.crowd.plugin.web.filter.HttpContextFilter.doFilter(HttpContextFilter.java:30)
```

**Root Cause**

```
java.lang.StackOverflowError: operating system stack overflow	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)	java.net.URL.getURLStreamHandler(URL.java:1154)	java.net.URL.<init>(URL.java:611)	java.net.URL.<init>(URL.java:502)	java.net.URL.<init>(URL.java:451)	sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:188)	sun.net.www.protocol.jar.Handler.parseURL(Handler.java:163)	java.net.URL.<init>(URL.java:634)	com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:289)	com.ibm.oti.vm.AbstractClassLoader.access$200(AbstractClassLoader.java:43)	com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:259)	java.security.AccessController.doPrivileged(AccessController.java:640)	com.ibm.oti.vm.AbstractClassLoader.findResource(AbstractClassLoader.java:256)	java.lang.ClassLoader.getResource(ClassLoader.java:574)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1194)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)	java.net.URL.getURLStreamHandler(URL.java:1154)	java.net.URL.<init>(URL.java:611)	java.net.URL.<init>(URL.java:502)	java.net.URL.<init>(URL.java:451)	sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:188)	sun.net.www.protocol.jar.Handler.parseURL(Handler.java:163)	java.net.URL.<init>(URL.java:634)	com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:289)	com.ibm.oti.vm.AbstractClassLoader.access$200(AbstractClassLoader.java:43)	com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:259)	java.security.AccessController.doPrivileged(AccessController.java:640)	com.ibm.oti.vm.AbstractClassLoader.findResource(AbstractClassLoader.java:256)	java.lang.ClassLoader.getResource(ClassLoader.java:574)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1194)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)	java.net.URL.getURLStreamHandler(URL.java:1154)	java.net.URL.<init>(URL.java:611)	java.net.URL.<init>(URL.java:502)	java.net.URL.<init>(URL.java:451)	sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:188)	sun.net.www.protocol.jar.Handler.parseURL(Handler.java:163)	java.net.URL.<init>(URL.java:634)	com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:289)	com.ibm.oti.vm.AbstractClassLoader.access$200(AbstractClassLoader.java:43)	com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:259)	java.security.AccessController.doPrivileged(AccessController.java:640)	com.ibm.oti.vm.AbstractClassLoader.findResource(AbstractClassLoader.java:256)	java.lang.ClassLoader.getResource(ClassLoader.java:574)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1194)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)	java.net.URL.getURLStreamHandler(URL.java:1154)	java.net.URL.<init>(URL.java:611)	java.net.URL.<init>(URL.java:502)	java.net.URL.<init>(URL.java:451)	sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:188)	sun.net.www.protocol.jar.Handler.parseURL(Handler.java:163)	java.net.URL.<init>(URL.java:634)	com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:289)	com.ibm.oti.vm.AbstractClassLoader.access$200(AbstractClassLoader.java:43)	com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:259)	java.security.AccessController.doPrivileged(AccessController.java:640)	com.ibm.oti.vm.AbstractClassLoader.findResource(AbstractClassLoader.java:256)	java.lang.ClassLoader.getResource(ClassLoader.java:574)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1194)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)	java.net.URL.getURLStreamHandler(URL.java:1154)	java.net.URL.<init>(URL.java:611)	java.net.URL.<init>(URL.java:502)	java.net.URL.<init>(URL.java:451)	sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:188)	sun.net.www.protocol.jar.Handler.parseURL(Handler.java:163)	java.net.URL.<init>(URL.java:634)	com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:289)	com.ibm.oti.vm.AbstractClassLoader.access$200(AbstractClassLoader.java:43)	com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:259)	java.security.AccessController.doPrivileged(AccessController.java:640)	com.ibm.oti.vm.AbstractClassLoader.findResource(AbstractClassLoader.java:256)	java.lang.ClassLoader.getResource(ClassLoader.java:574)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1194)	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)	org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHan
```


Answers:
author: Bruno Vincent
body: Hi [@Michael Kondratov](/t5/user/viewprofilepage/user-id/1751737)

What are your JDK vendor and version? I'm under the impression you're running IBM JDK which is not supported by Crowd. Crowd actually requires Oracle JDK / OpenJDK 1.8: <https://confluence.atlassian.com/crowd/supported-platforms-191851.html>