Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException in new Confluence Installation

Myron L. Cramer April 28, 2020

New Confluence Server on CentOS 8.1 Postgres .

Installed license but did not complete database configuration.

Can't get http://my-hostname:8090 to open. Errors out to:

A system error has occurred — our apologies!

Cause

java.lang.NullPointerException
    at com.atlassian.confluence.setup.actions.SetupPathsAction.execute(SetupPathsAction.java:48)

followed by Stack Trace

Referer URL

http://my-hostname:8090/setup/setuppaths.action

1 answer

1 accepted

0 votes
Answer accepted
Gonchik Tsymzhitov
Community Champion
April 28, 2020

Hi! 

As I see the other thread mostly making the reinstall. Looks like it's problem with permission of directories, caches 

https://community.atlassian.com/t5/Confluence-questions/Getting-system-error-after-installing-Confluence-server/qaq-p/620294

Myron L. Cramer April 30, 2020

Thank you. I was able to resolve this and other problems including connectors, permissions, and policies for ProgreSQL database, network port bindings, firewalld, java

Manually editing Config Files

/var/atlassian/application-data/confluence/confluence.cfg.xml

    to add connector properties for postgresql

/opt/atlassian/confluence/conf/server.xml

   to add IP access from LAN          

   to add 443 connector and install JKS

Set Java NonRootPortBinding

setcap cap_net_bind_service+ep /opt/atlassian/confluence/jre/bin/java
echo $(dirname $(find /opt/atlassian/confluence/ -name libjli.so)) >> /etc/ld.so.conf.d/java-libjli.conf
ldconfig -v

Open firewalld ports

firewall-cmd --zone=public --add-port=443/tcp --permanent

firewall-cmd --zone=public --add-port=8090/tcp --permanent

firewall-cmd --reload

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.3.4
TAGS
AUG Leaders

Atlassian Community Events