<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] when using store entity in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19785#M8746</link>
    <description>&lt;P&gt;When i am inserting data in mysql database using Store Entity Task, row gets inserted successfully but i get the error :&lt;/P&gt;&lt;P&gt;19-Oct-2019 19:31:36.919 SEVERE [http-nio-8080-exec-17] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; ne&lt;BR /&gt;sted exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] with root cause&lt;BR /&gt;org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0&lt;BR /&gt;at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:69)&lt;/P&gt;&lt;P&gt;and process gets stuck at that point, does not proceed further for next tasks.&lt;/P&gt;&lt;P&gt;please help me get out of this&lt;/P&gt;&lt;P&gt;Full log :&lt;/P&gt;&lt;P&gt;19-Oct-2019 21:19:27.287 SEVERE [http-nio-8080-exec-13] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; nested exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] with root cause&lt;BR /&gt;org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0&lt;BR /&gt;at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:69)&lt;BR /&gt;at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:801)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao.findOneBy(DataModelEntityDao.java:47)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao$$FastClassBySpringCGLIB$$b6012afa.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt;at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao$$EnhancerBySpringCGLIB$$ef3d9da5.findOneBy(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at com.activiti.service.runtime.AlfrescoRuntimeDataModelService.handleStoreEntityDefinitionForVariable(AlfrescoRuntimeDataModelService.java:205)&lt;BR /&gt;at com.activiti.variable.VariableDataEntityType.getValue(VariableDataEntityType.java:137)&lt;BR /&gt;at org.activiti.engine.impl.persistence.entity.HistoricVariableInstanceEntity.getValue(HistoricVariableInstanceEntity.java:129)&lt;BR /&gt;at org.activiti.engine.impl.HistoricVariableInstanceQueryImpl.executeList(HistoricVariableInstanceQueryImpl.java:233)&lt;BR /&gt;at org.activiti.engine.impl.AbstractQuery.execute(AbstractQuery.java:164)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)&lt;BR /&gt;at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)&lt;BR /&gt;at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)&lt;BR /&gt;at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)&lt;BR /&gt;at com.activiti.addon.cluster.interceptor.GatherMetricsCommandInterceptor.execute(GatherMetricsCommandInterceptor.java:57)&lt;BR /&gt;at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)&lt;BR /&gt;at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)&lt;BR /&gt;at org.activiti.engine.impl.AbstractQuery.list(AbstractQuery.java:138)&lt;BR /&gt;at com.activiti.service.runtime.AlfrescoProcessInstanceService.getProcessInstance(AlfrescoProcessInstanceService.java:201)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource.getProcessInstance(ProcessInstanceResource.java:45)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource$$FastClassBySpringCGLIB$$c82699e4.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt;at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:48)&lt;BR /&gt;at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:34)&lt;BR /&gt;at com.ryantenney.metrics.spring.AbstractMetricMethodInterceptor.invoke(AbstractMetricMethodInterceptor.java:59)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource$$EnhancerBySpringCGLIB$$a24c5f81.getProcessInstance(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at sun.reflect.GeneratedMethodAccessor3211.invoke(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)&lt;BR /&gt;at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInt&lt;/P&gt;</description>
    <pubDate>Sat, 19 Oct 2019 21:44:19 GMT</pubDate>
    <dc:creator>yadavlpsir</dc:creator>
    <dc:date>2019-10-19T21:44:19Z</dc:date>
    <item>
      <title>EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] when using store entity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19785#M8746</link>
      <description>&lt;P&gt;When i am inserting data in mysql database using Store Entity Task, row gets inserted successfully but i get the error :&lt;/P&gt;&lt;P&gt;19-Oct-2019 19:31:36.919 SEVERE [http-nio-8080-exec-17] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; ne&lt;BR /&gt;sted exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] with root cause&lt;BR /&gt;org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0&lt;BR /&gt;at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:69)&lt;/P&gt;&lt;P&gt;and process gets stuck at that point, does not proceed further for next tasks.&lt;/P&gt;&lt;P&gt;please help me get out of this&lt;/P&gt;&lt;P&gt;Full log :&lt;/P&gt;&lt;P&gt;19-Oct-2019 21:19:27.287 SEVERE [http-nio-8080-exec-13] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; nested exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] with root cause&lt;BR /&gt;org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0&lt;BR /&gt;at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:69)&lt;BR /&gt;at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:801)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao.findOneBy(DataModelEntityDao.java:47)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao$$FastClassBySpringCGLIB$$b6012afa.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt;at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)&lt;BR /&gt;at com.activiti.service.datamodel.DataModelEntityDao$$EnhancerBySpringCGLIB$$ef3d9da5.findOneBy(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at com.activiti.service.runtime.AlfrescoRuntimeDataModelService.handleStoreEntityDefinitionForVariable(AlfrescoRuntimeDataModelService.java:205)&lt;BR /&gt;at com.activiti.variable.VariableDataEntityType.getValue(VariableDataEntityType.java:137)&lt;BR /&gt;at org.activiti.engine.impl.persistence.entity.HistoricVariableInstanceEntity.getValue(HistoricVariableInstanceEntity.java:129)&lt;BR /&gt;at org.activiti.engine.impl.HistoricVariableInstanceQueryImpl.executeList(HistoricVariableInstanceQueryImpl.java:233)&lt;BR /&gt;at org.activiti.engine.impl.AbstractQuery.execute(AbstractQuery.java:164)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)&lt;BR /&gt;at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)&lt;BR /&gt;at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)&lt;BR /&gt;at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)&lt;BR /&gt;at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)&lt;BR /&gt;at com.activiti.addon.cluster.interceptor.GatherMetricsCommandInterceptor.execute(GatherMetricsCommandInterceptor.java:57)&lt;BR /&gt;at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)&lt;BR /&gt;at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)&lt;BR /&gt;at org.activiti.engine.impl.AbstractQuery.list(AbstractQuery.java:138)&lt;BR /&gt;at com.activiti.service.runtime.AlfrescoProcessInstanceService.getProcessInstance(AlfrescoProcessInstanceService.java:201)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource.getProcessInstance(ProcessInstanceResource.java:45)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource$$FastClassBySpringCGLIB$$c82699e4.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt;at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:48)&lt;BR /&gt;at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:34)&lt;BR /&gt;at com.ryantenney.metrics.spring.AbstractMetricMethodInterceptor.invoke(AbstractMetricMethodInterceptor.java:59)&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)&lt;BR /&gt;at com.activiti.rest.runtime.ProcessInstanceResource$$EnhancerBySpringCGLIB$$a24c5f81.getProcessInstance(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at sun.reflect.GeneratedMethodAccessor3211.invoke(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)&lt;BR /&gt;at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)&lt;BR /&gt;at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInt&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2019 21:44:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19785#M8746</guid>
      <dc:creator>yadavlpsir</dc:creator>
      <dc:date>2019-10-19T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] when using store en</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19786#M8747</link>
      <description>&lt;P&gt;Any&amp;nbsp; answer to this? Im experincing it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 01:49:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19786#M8747</guid>
      <dc:creator>james_miller</dc:creator>
      <dc:date>2020-02-06T01:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0] when using store en</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19787#M8748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there any answer to this? I'm also getting the same issue&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:14:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/emptyresultdataaccessexception-incorrect-result-size-expected-1/m-p/19787#M8748</guid>
      <dc:creator>mathewsmotta</dc:creator>
      <dc:date>2020-07-21T14:14:55Z</dc:date>
    </item>
  </channel>
</rss>

