It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

System Error on Startup caused by StackOverflowError

Hello everyone!

I've installed Confluence on a CentOS server on top of SQL Server. Unfortunately, it doesn't seem to start due to a StackOverflowError. Just wondering if anyone encountered this type of issue before and if anyone knows a solution? The specific error is below:

Cause

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'i18NBean' defined in class path resource [setupContext.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.util.i18n.I18NBean]: Factory method 'getI18NBean' threw exception; nested exception is java.lang.StackOverflowError
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)

caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.util.i18n.I18NBean]: Factory method 'getI18NBean' threw exception; nested exception is java.lang.StackOverflowError
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)

caused by: java.lang.StackOverflowError
    at sun.util.locale.LocaleObjectCache.get(LocaleObjectCache.java:55)

Thanks a bunch all!
Michael

1 answer

1 accepted

0 votes
Answer accepted
Zak_Laughton Atlassian Team Jan 15, 2020

Sorry to hear you're running into issues starting Confluence! I haven't run into this specific error myself, but I found another Community post of someone else getting a similar "I18NBean" error. The post and answers run through some troubleshooting steps that may help:

Installation/Configuration Issue Confluence - Installing on Windows using SQL Server

Thanks for the help! The issue, as pointed out in the issue Zak linked, seems to have been permissions for the user created in SQL Server. I recreated the user and made sure it had permissions to the confluence database, then deleted the confluence home directory to restart the setup wizard (following the procedure here). Setup completed successfully this time and Confluence is now operating normally!

 

Thanks again, I really appreciate it!

Like Zak_Laughton likes this
Zak_Laughton Atlassian Team Jan 16, 2020

Awesome! Glad I could help, and thanks a lot for sharing your solution!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

278 views 9 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you