net.sf.hibernate.NonUniqueResultException: query did not return a unique result: 18

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
query did not return a unique result: 18
via Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
query did not return a unique result: 18
via Atlassian JIRA by Ben Kuo, 1 year ago
query did not return a unique result: 3
via Atlassian JIRA by Ben Kuo, 1 year ago
query did not return a unique result: 3
via Atlassian JIRA by Robert Mathews, 1 year ago
query did not return a unique result: 2
via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
query did not return a unique result: 3
net.sf.hibernate.NonUniqueResultException: query did not return a unique result: 18
at net.sf.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:559)
at net.sf.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:385)
at com.atlassian.bamboo.author.AuthorHibernateDao.getAuthorByName(AuthorHibernateDao.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.atlassian.bamboo.author.HibernateAuthorManagerImpl.getAuthorByName(HibernateAuthorManagerImpl.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.