It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot log into confluence due to IncorrectResultSizeDataAccessException

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]
    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(


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,


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

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...

5,966 views 4 6
Join discussion

Community Events

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

Events near you