I have switched my Confluence instance from one LDAP connector to another one by adding the second connector, syncing it and then removing the old connector. It worked for 3 hours but then, suddenly the Confluence stopped showing the login form. Instead, every time a person wants to open the login page, it shows an oops error with this message:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.CompletionException: org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 3 at /login.vm[line 6, column 28]
I have checked the login.vm file and line 6 looks like this:
#set($showSignup = $action.isShowSignUp())
So the problem is with the invocation of the isShowSignUp() method but I don't understand why Confluence would find 3 results instead of one ...
How can I unlock this?
I was thinking about hardcoding a 'true' value to remove the call to the isShowSignUp() to prevent the database lookup.
I have checked the knowledge base about Confluence thrown a null pointer exception and fixing the order of connector in the database, but this is not my case.
All help will be appreciated! =)
Thanks in advance,
Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events