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

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 Erik van Zijst [Atlassian], 1 year ago
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
via Atlassian JIRA by Erik van Zijst [Atlassian], 1 year ago
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
via activemq-issues by David Jencks (JIRA), 1 year ago
java.lang.RuntimeException: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
via Stack Overflow by infranoise
, 2 years ago
javax.persistence.PersistenceException: org.hibernate.InstantiationException: Could not instantiate entity: : com.singularityfx.cashelyok.entities.CashFlow
via Atlassian JIRA by Paavo Nugin, 1 year ago
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
via Atlassian JIRA by Paavo Nugin, 1 year ago
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
javax.el.ELException: org.hibernate.NonUniqueResultException: query did not return a unique result: 2
at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
at com.sun.el.parser.AstDynamicExpression.getValue(AstDynamicExpression.java:59)
at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:64)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
at org.apache.jsp.tag.web.review.frxControls_tag._jspx_meth_c_set_9(frxControls_tag.java:924)
at org.apache.jsp.tag.web.review.frxControls_tag._jspx_meth_c_if_14(frxControls_tag.java:898)
at org.apache.jsp.tag.web.review.frxControls_tag._jspx_meth_c_if_13(frxControls_tag.java:867)
at org.apache.jsp.tag.web.review.frxControls_tag.doTag(frxControls_tag.java:178)
at org.apache.jsp.tag.web.review.frx.frxOuter_tag._jspx_meth_rev_frxControls_0(frxOuter_tag.java:165)
at org.apache.jsp.tag.web.review.frx.frxOuter_tag.doTag(frxOuter_tag.java:119)
at org.apache.jsp.tag.web.review.reviewPage_tag._jspx_meth_frx_frxOuter_0(reviewPage_tag.java:4501)
at org.apache.jsp.tag.web.review.reviewPage_tag._jspx_meth_c_forEach_32(reviewPage_tag.java:4467)
at org.apache.jsp.tag.web.review.reviewPage_tag._jspx_meth_c_when_9(reviewPage_tag.java:4436)
at org.apache.jsp.tag.web.review.reviewPage_tag._jspx_meth_c_choose_6(reviewPage_tag.java:4405)
at org.apache.jsp.tag.web.review.reviewPage_tag.doTag(reviewPage_tag.java:722)
at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.review_jsp._jspx_meth_rev_reviewPage_0(review_jsp.java:147)
at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.review_jsp._jspService(review_jsp.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41)
at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:118)
at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:159)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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