• Community
  • Products
  • Confluence
  • Questions
  • I am getting this error for Confluence : The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set Cause com.atlassian.util.concurrent.LazyReference$Initia

I am getting this error for Confluence : The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set Cause com.atlassian.util.concurrent.LazyReference$Initia

I have setup JIRA already. Next confluence in same box. It's was trying to integrate with same login and got this below issue.

 

The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

Cause

 

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set

    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

 

caused by: java.lang.IllegalStateException: Spring Application context has not been set

    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)

3 answers

Hi there,

This is probably happening due to lack of permissions to write on the Confluence Home-Directory.

Please refer to this documentation for instructions on how to set write permissions for the home folder on both Linux and Windows. This should to the trick. smile

Regards,
LM 

1 vote

In addition to Luiz's answer: If the permissions are not related to the case, it would be worth to check the database connection parameters with Confluence, in the confluence.cfg.xml file, from the Home folder. smile

 

Cheers, 

Giu

In my case it was an error during last step of installation, the part you do in browser, so I

  1. stopped confluence with `# serivce confluence stop`
  2. removed all files from conflunce home dir (defaut /var/atlassian/application-data/confluence)
  3. double checked install dir and home dir user & group is confluence `# ls -slah`
  4. logged in as user confluence `# su - confluence`
  5. started conflunce again `$ service confluence start`
  6. proceeded to xxx.yyy.www.zzzz:8090 in browser to finished installation

ps. finally (it's not a part of answer to this question but I had to do it to accomplish mission) I had to increase amount of RAM from 2Gb to 4Gb to run both Bitbucket and Conflunce on same server

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

692 views 21 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you