org.hibernate.NonUniqueResultException

query did not return a unique result: 2

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web55

  • via Atlassian JIRA by James Gorman, 1 year 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
  • via Atlassian JIRA by Paavo Nugin, 10 months 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.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:616) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:603) at org.lamsfoundation.lams.tool.wiki.dao.hibernate.WikiPageDAO.getByWikiAndTitle(WikiPageDAO.java:28) at org.lamsfoundation.lams.tool.wiki.service.WikiService.getWikiPageByWikiAndTitle(WikiService.java:752)

    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

    Unknown user
    2 times, 6 months ago