Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activiti6.0.0 module activiti5-engine: Could not set property 'lockOwner' of 'class org.activiti5.engine.impl.persistence.entity.TimerJobEntity' #4619

Open
marius56-discovery opened this issue Mar 25, 2024 · 0 comments

Comments

@marius56-discovery
Copy link

marius56-discovery commented Mar 25, 2024

Class org.activiti5.engine.impl.persistence.entity.TimerJobEntity doesn't define below properties listed in
modules\activiti5-engine\src\main\resources\org\activiti5\db\mapping\entity\TimerJob.xml

<result property="lockOwner" column="LOCK_OWNER_" jdbcType="VARCHAR" />
<result property="lockExpirationTime" column="LOCK_EXP_TIME_" jdbcType="TIMESTAMP" />

This results in below error:


2024-03-22 22:31:36 ERROR org.activiti.engine.impl.interceptor.CommandContext - masked exception in command context. for root cause, see below as it will be rethrown later.: org.apache.ibatis.exceptions.PersistenceException: 
### Error querying database.  Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'lockOwner' of 'class org.activiti5.engine.impl.persistence.entity.TimerJobEntity' with value 'edd3be11-afa0-4c0b-a458-361107b109a6' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'lockOwner' in 'class org.activiti5.engine.impl.persistence.entity.TimerJobEntity'
### The error may exist in org/activiti5/db/mapping/entity/TimerJob.xml
### The error may involve org.activiti5.engine.impl.persistence.entity.TimerJobEntity.selectTimerJobsByExecutionId
### The error occurred while handling results
### SQL: select *   from ACT_RU_TIMER_JOB J   where J.EXECUTION_ID_ = ?
### Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'lockOwner' of 'class org.activiti5.engine.impl.persistence.entity.TimerJobEntity' with value 'edd3be11-afa0-4c0b-a458-361107b109a6' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'lockOwner' in 'class org.activiti5.engine.impl.persistence.entity.TimerJobEntity'
	at deployment.frontline-transfers.war//org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
	at deployment.frontline-transfers.war//org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150)
	at deployment.frontline-transfers.war//org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
	at deployment.frontline-transfers.war//org.activiti5.engine.impl.db.DbSqlSession.selectListWithRawParameter(DbSqlSession.java:397)
	at deployment.frontline-transfers.war//org.activiti5.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:388)
	at deployment.frontline-transfers.war//org.activiti5.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:383)
	at deployment.frontline-transfers.war//org.activiti5.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:360)
	at deployment.frontline-transfers.war//org.activiti5.engine.impl.persistence.entity.TimerJobEntityManager.findTimerJobsByExecutionId(TimerJobEntityManager.java:62)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant