<?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 Mapped Statements collection does not contain value for... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mapped-statements-collection-does-not-contain-value-for/m-p/68915#M44251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i just use activiti5.7 + mybatis 3.04,and wen i run tests by&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maven,i got errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.persistence.selectJobsByConfiguration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.persistence.selectJobsByConfiguration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:72)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:182)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.persistence.entity.JobManager.findJobsByConfiguration(JobManager.java:122)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.removeObsoleteTimers(BpmnDeployer.java:169)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:132)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.taobao.ad.ido.process.engine.impl.ProcessRuntimeImpl.deployProcess(ProcessRuntimeImpl.java:111)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at $Proxy26.deployProcess(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i found someone also encounter such problem : viewtopic.php?f=6&amp;amp;t=1852&amp;amp;start=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i check the mapper and sources ,found:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JobManager:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public List&amp;lt;Job&amp;gt; findJobsByConfiguration(String jobHandlerType, String jobHandlerConfiguration) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, String&amp;gt; params = new HashMap&amp;lt;String, String&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.put("handlerType", jobHandlerType);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.put("handlerConfiguration", jobHandlerConfiguration);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return getDbSqlSession().selectList("org.activiti.persistence.selectJobsByConfiguration", params);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but our Job.xml :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;mapper namespace="&lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;org.activiti.engine.impl.persistence.entity.JobEntity&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt; ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so ,i think this is the key point. hope this issue can be fix in future release. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and i modify the Job.xml ,and found it is ok,no errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an sample project show this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The maven project you can find in the attachment. You should run mvn test in your cmd. Then you can get the error. But when import the project into eclispe and run the test SampleProcessTest.testBDUnAppealUnfreeze() ,the test will success.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 04:44:16 GMT</pubDate>
    <dc:creator>esteem</dc:creator>
    <dc:date>2011-09-16T04:44:16Z</dc:date>
    <item>
      <title>Mapped Statements collection does not contain value for...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mapped-statements-collection-does-not-contain-value-for/m-p/68915#M44251</link>
      <description>i just use activiti5.7 + mybatis 3.04,and wen i run tests bymaven,i got errors:### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.persistence.selectJobsByConfiguration### Cause: java.lang.IllegalArgumentExcepti</description>
      <pubDate>Fri, 16 Sep 2011 04:44:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mapped-statements-collection-does-not-contain-value-for/m-p/68915#M44251</guid>
      <dc:creator>esteem</dc:creator>
      <dc:date>2011-09-16T04:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mapped Statements collection does not contain value for...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mapped-statements-collection-does-not-contain-value-for/m-p/68916#M44252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe other people on the forum have already had this problem and able to fix it by changing the ibatis version. Please use the search.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:42:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mapped-statements-collection-does-not-contain-value-for/m-p/68916#M44252</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-09-20T08:42:19Z</dc:date>
    </item>
  </channel>
</rss>

