Server not available
Asked by Mike Tarsia:

**type** Exception report

**message** ++Javascript lang.NullPointerException++

**description** ++The server encountered an internal error that prevented it from fulfilling this request.++

**exception**

```
com.atlassian.util.concurrent.LazyReference$InitializationException: Javascript lang.NullPointerException	com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.Javascript 149)	com.atlassian.util.concurrent.LazyReference.get(LazyReference.Javascript 112)	com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.Javascript 47)	com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.Javascript 37)	com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.Javascript 29)	com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.Javascript 38)	com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.Javascript 31)	com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.Javascript 44)	com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.Javascript 65)	com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.Javascript 50)	com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.Javascript 31)
```


Answers:
author: Diego
body: Hello there!

Mike, can you clarify some points for us? Here they are:
> 1. Which version of Confluence are you running?
> 2. Is CPU usage high?
> 3. When did you first face this issue?
> 4. Does your application come up and then shuts down automatically?

Let us know Mike!

comments: author: Mike Tarsia
body: 5.5 version

CPU is not High

PRoblem started 5 days ago

The application does not come up


author: Diego
body: Hey there Mike!

So, alright. This issue could be caused by incorrect permissions being set on a Confluence folder. I would start by checking the permissions on the **Felix** folder, under **\<confluence-home\>/osgi-plugins-cache/** . Be sure that the user who is running Confluence has enough permissions on this folder. The needed permissions are**read/write/execute.**

Just so we are sure, also check permissions in \<confluence-home\> as a whole and also \<confluence-install\> folder.

Thanks for sharing your Connie version, this is very important as of today. With this information I can recommend you to upgrade your instance to at least 6.6.13. This is due to these two CVEs:

**[Confluence Security Advisory - 2019-03-20 \| March 2019 Confluence Server Advisory - WebDAV and Widget Connector vulnerabilities](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html)**

**[Confluence Security Advisory - 2019-04-17 \| Confluence - Path traversal vulnerability - CVE-2019-3398](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-10-968660855.html)**

**Before upgrading:**

* backup \<confluence-home\> folder
* backup \<confluence-install\> folder
* database

More information on these folders here:

**[Confluence Home and other important directories](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)**

Let us know from you Mike!


author: Mike Tarsia
body: I have done all of that

Nothing has changed

Are you able to do a remote session with me?