I had an issue with my Confluence where the service kept stopping itself and, although I contacted support, we decided that just reinstalling it would be to our benefit. Unfortunately now , right after a fresh reinstall (where I restarted the server prior) I've gotten an error page with this as the cause:
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(ASTMethod.java:337)
caused by: java.lang.NullPointerException: Application cannot be null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)
I'm sure it's a java issue, but I don't understand what is going on.