org.hibernate.NonUniqueResultException: query did not return a unique result: 2

Atlassian JIRA | James Gorman | 3 years ago
  1. 0

    Unable to sync crowd user directory - query did not return a unique result - Atlassian Documentation

    atlassian.com | 3 months ago
    org.hibernate.NonUniqueResultException: query did not return a unique result: 2
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Getting exception when opening Tracker Capture

    GitHub | 2 years ago | adam704a
    org.hibernate.NonUniqueResultException: query did not return a unique result: 2
  4. 0

    GitHub comment 229#167136122

    GitHub | 11 months ago | ppazos
    org.hibernate.NonUniqueResultException: query did not return a unique result: 2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.NonUniqueResultException

      query did not return a unique result: 2

      at org.hibernate.internal.AbstractQueryImpl.uniqueElement()
    2. Hibernate
      CriteriaImpl.uniqueResult
      1. org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:914)[hibernate-core-4.2.5.Final.jar:4.2.5.Final]
      2. org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)[hibernate-core-4.2.5.Final.jar:4.2.5.Final]
      2 frames
    3. com.atlassian.crowd
      MembershipDAOHibernate.isUserDirectMember
      1. com.atlassian.crowd.dao.membership.MembershipDAOHibernate.findInternalMembership(MembershipDAOHibernate.java:356)[crowd-persistence-hibernate4-2.7.1-rc.jar:na]
      2. com.atlassian.crowd.dao.membership.MembershipDAOHibernate.isUserDirectMember(MembershipDAOHibernate.java:211)[crowd-persistence-hibernate4-2.7.1-rc.jar:na]
      2 frames