Forums

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

Getting system error with java null pointer exception

Sachin Narayana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2020

I've been trying to set-up Confluence Server and am getting a java null pointe exception. This issue started during setup when trying to configure the database connection. Given my database is MySQL, I tried downloading the driver but when I stopped the service, dropped the driver in the location requested and restarted the service, Confluence started giving the error.

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

Stack Trace:[hide]

java.lang.NullPointerException
	at com.atlassian.confluence.setup.actions.SetupPathsAction.execute(SetupPathsAction.java:48)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:120)..........

 

1 answer

1 accepted

0 votes
Answer accepted
Joshua Sneed Contegix
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2020

Hi Sachin,

There isn't enough information in your post to determine exactly what is happening, but I'll take a guess. Confluence thinks the database is configured because it sees those line in <jira_home>/confluence.cfg.xml, but Confluence isn't able to reach the database for an unknown reason. E.g. bad config, networking, etc.

I propose that you rename or delete <jira_home>/confluence.cfg.xml and restart Confluence. This should restart the setup wizard. You may encounter an error during the database step if the driver is wrong, the driver is in the wrong place, or if your configuration is incorrect. Cheers!

Sachin Narayana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2020

Thanks Joshua!

Suggest an answer

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

Atlassian Community Events