org.hibernate.NonUniqueResultException

query did not return a unique result: 2

Solutions on the web55

  • via Atlassian JIRA by James Gorman, 1 year ago
    query did not return a unique result: 2
  • via Atlassian JIRA by Paavo Nugin, 10 months ago
    query did not return a unique result: 2
  • via JIRA by Martin Boulanger, 1 year ago
    query did not return a unique result: 2
  • Stack trace

    • org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:918) at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396) at com.atlassian.crowd.dao.membership.MembershipDAOHibernate.findInternalMembership(MembershipDAOHibernate.java:370) at com.atlassian.crowd.dao.membership.MembershipDAOHibernate.isUserDirectMember(MembershipDAOHibernate.java:213) at com.atlassian.crowd.directory.AbstractInternalDirectory.isUserDirectGroupMember(AbstractInternalDirectory.java:893) at com.atlassian.crowd.directory.AbstractInternalDirectory.removeUserFromGroup(AbstractInternalDirectory.java:945) at com.atlassian.crowd.directory.DbCachingRemoteChangeOperations.removeUserMembershipsForGroup(DbCachingRemoteChangeOperations.java:812) at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    24 times, 1 week ago
    3 times, 1 week ago
    3 times, 1 month ago
    Unknown user
    Once, 10 months ago