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 futuremark.com by Unknown author, 1 year ago
query did not return a unique result: 2
via Atlassian JIRA by Geoff Crain [Atlassian], 1 year ago
via Atlassian JIRA by Geoff Crain [Atlassian], 2 years ago
via Atlassian JIRA by Erik van Zijst [Atlassian], 2 years ago
via Atlassian JIRA by Erik van Zijst [Atlassian], 1 year ago
via Atlassian JIRA by Renan Battaglin, 1 year ago
org.hibernate.NonUniqueResultException: query did not return a unique result: 2	at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:899)	at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)	at com.futuremark.result.repositories.hibernate.UserRepositoryHibernate.login(UserRepositoryHibernate.java:76)	at com.futuremark.proxycon.web.LoginController.login(LoginController.java:61)	at sun.reflect.GeneratedMethodAccessor1163.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)	at org.mortbay.jetty.Server.handle(Server.java:326)	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)