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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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 James Dumay [Atlassian], 1 year ago
query did not return a unique result: 3
via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
query did not return a unique result: 3
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
net.sf.hibernate.NonUniqueResultException: query did not return a unique result: 3
at net.sf.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:559)
at net.sf.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:385)
at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao.getBuildResultsSummaryByBuildKeyAndBuildNumber(BuildResultsSummaryHibernateDao.java:36)
at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getBuildResultsSummary(BuildResultsSummaryManagerImpl.java:112)
at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getBuildResultsSummary(BuildResultsSummaryManagerImpl.java:107)
at sun.reflect.GeneratedMethodAccessor383.invoke(Unknown Source)
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:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at com.atlassian.bamboo.results.BuildResultsImpl.getBuildResultsSummary(BuildResultsImpl.java:138)
at sun.reflect.GeneratedMethodAccessor382.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:271)
at freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Assignment.accept(Assignment.java:90)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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