AnsweredAssumed Answered

Problems executing twice exclusive gateway

Question asked by carls127 on Feb 26, 2014
Latest reply on Mar 3, 2014 by carls127
Hello,

I'm trying execute twice a task with exclusive gateway but I recieved next error:


25 feb 2014 - 21:47:15 [ERROR] interceptor.CommandContext - Error while closing command context
org.apache.ibatis.exceptions.IbatisException:
### Error querying database.  Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'byteArrayRef' of 'VariableInstanceEntity[id=3825, name=input, type=string]' with value 'ByteArrayRef[id=null, name=null, entity=null]' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'byteArrayRef' in 'class org.activiti.engine.impl.persistence.entity.VariableInstanceEntity'
### The error may involve org.activiti.engine.impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId-Inline
### The error occurred while setting parameters
### Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'byteArrayRef' of 'VariableInstanceEntity[id=3825, name=input, type=string]' with value 'ByteArrayRef[id=null, name=null, entity=null]' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'byteArrayRef' in 'class org.activiti.engine.impl.persistence.entity.VariableInstanceEntity'
   at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
   at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:61)
   at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:53)
   at org.activiti.engine.impl.db.DbSqlSession.selectListWithRawParameter(DbSqlSession.java:286)
   at org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:277)

…..

The first execution(reject with input value == NO) was successfully but when I tried execute second execution(aceptance with input value == SI) to complete task again the last error was triggered

I add the bpm file and java class, can any help me please?

Outcomes