Exception on deleting historic entries with history level 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 07:26 AM
I have changed the history level to 3 (full).
Now when I delete a historic process instance with:
actHistoryService.deleteHistoricProcessInstance(process.getWfeProcessId());
I get the following error:
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.engine.impl.persistence.entity.HistoricDetailEntity.selectByteArrayById_postgres
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77
)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69
…
Is there anything I can do about this?
The used version is activiti 5.5
cheers,
Maarten
Now when I delete a historic process instance with:
actHistoryService.deleteHistoricProcessInstance(process.getWfeProcessId());
I get the following error:
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.engine.impl.persistence.entity.HistoricDetailEntity.selectByteArrayById_postgres
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77
)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69
…
Is there anything I can do about this?
The used version is activiti 5.5
cheers,
Maarten
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 07:27 AM
What version of activiti are you using? I remember fixing such a bug in 5.5…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 07:30 AM
Ah, I just added the version in my previous post. It's 5.5.
So I should check 5.6?
So I should check 5.6?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 07:47 AM
Found the commit:
So indeed, use the 5.6 release
*2768 5/18/11 9:43 AM 1 frederikheremans Fixing error when full history is enabled on postgres
So indeed, use the 5.6 release


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 09:51 AM
Sounds good. I'll give it a try.
