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 Robin Fernandes [back 5th Oct], 1 year ago
Incorrect result size: expected 1, actual 2
via Atlassian JIRA by Robin Fernandes [Atlassian], 1 year ago
Incorrect result size: expected 1, actual 2
via Ecosystem JIRA by Penny Wyatt, 1 year ago
via Atlassian JIRA by Michael Wiedemann, 1 year ago
Incorrect result size: expected 1, actual 2
via Google Groups by Rhian Resnick, 1 year ago
via Atlassian JIRA by Michael Wiedemann, 1 year ago
Incorrect result size: expected 1, actual 2
org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 2	at org.springframework.dao.support.DataAccessUtils.singleResult(DataAccessUtils.java:53)	at com.atlassian.confluence.security.persistence.dao.hibernate.HibernateTrustedApplicationDao.findByKeyAlias(HibernateTrustedApplicationDao.java:25)	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:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)	at undefined.$Proxy47.findByKeyAlias(Unknown Source)	at com.atlassian.confluence.security.trust.DefaultTrustedApplicationsManager.getTrustedApplicationByAlias(DefaultTrustedApplicationsManager.java:56)	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:597)	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:149)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at undefined.$Proxy48.getTrustedApplicationByAlias(Unknown Source)	at com.atlassian.confluence.security.trust.seraph.SeraphTrustedApplicationIntegration.getTrustedApplication(SeraphTrustedApplicationIntegration.java:29)	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:597)