Confluence is offline
Asked by Bj?rn Eitmann:

This ist the message we get:

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.   
The SystemInformationService could not be retrieved due to the following error: java.lang.NullPointerException

### Cause {#toc-hId-1476846969}

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)

caused by: java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)

#### Stack Trace:\[hide\] {#toc-hId--1271823497}

```
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)	at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)	at com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:45)	at com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:35)	at com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:27)	at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Unknown Source)Caused by: java.lang.NullPointerException	at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)	at com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:44)	at com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:88)	at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)	... 25 more
```


Answers:
author: William Zanchet [Atlassian]
body: Hey,

There's a few steps to check this problem:

1. Could you please check if your database is up and running?
2. Your database is reachable from the Confluence server?
3. Your authentication details are correct, you can check this via \<conf-home\>/confluence.cfg.xml ?
4. Your traffic to the database server is not being blocked by a firewall/proxy server?

I hope this helps.  

Cheers,   

WZ


author: Nic Brough -Adaptavist-
body: There's several things this could be, but the most common culprit is that the database connection has been severed for some reason.

What happens if you stop and restart the service?

Can you check that the database server is accessible from the Confluence server? Check ip address and by DNS name.

If a restart doesn't help, and the database is fine, then it gets complicated, but check the database and a restart first. The restart itself may tell us a lot more, so you need to do it no matter what.