Error when launching login page after xml migration

We completed the migration of our Confluence instance to a new server. We exported the confluence xml and successfully loaded it onto the new instance (on CentOS and MySQL).

After completing the import process through the Setup Wizard, when trying to launch and go to the Login page, we get the following error:


org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.NullPointerException: Application cannot be null at /login.vm[line 6, column 28]
    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(

caused by: java.lang.NullPointerException: Application cannot be null


As a note, it is worth to mention that the original instance was integrated with Crowd, but the new instance/server will not. I am not sure if that may be related to this error, but it is another variable to consider

I am new to the administration aspect of Confluence, so I will appreciate if someone could please steer me in the right direction to find the cause of the problem.

Thanking you for your help.


2 answers

0 votes

Hey there,

It looks like you have some Null value or a misleading information in your cwd_app_dir_mapping table. Check this documentation of how to fix that.

Hope this will help you smile.


Had the same Issue but the Resolution didn't work.

0 votes

Hi Idelso,

It could be the case that, since you used Crowd before, the internal directory is not working after the upgrade. You could try the following article:

Unable to log in due to disabled Internal Directory (Confluence 3.5 and later)



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,037 views 15 13
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