Exception when using HistoricVariables of type ByteArray on Postgres

Description

org.apache.ibatis.exceptions.PersistenceException:

  1.  

    1.  

      1. Error querying database. Cause: org.postgresql.util.PSQLException: Bad value for type long : \xaced0005737200246f72672e616c66726573636f2e736572766963652e6e616d6573706163652e514e616d65373133373839323002000449000868617368436f64654c00096c6f63616c4e616d657400124c6a6176612f6c616e672f537472696e673b4c000c6e616d65737061636555524971007e00014c000670726566697871007e000178700000000074000d7265766965774f7574636f6d6574002a687474703a2f2f7777772e616c66726573636f2e6f72672f6d6f64656c2f776f726b666c6f772f312e3070

      2. The error may involve org.activiti.persistence.selectByteArrayById-Inline

      3. The error occurred while setting parameters

      4. Cause: org.postgresql.util.PSQLException: Bad value for type long : \xaced0005737200246f72672e616c66726573636f2e736572766963652e6e616d6573706163652e514e616d65373133373839323002000449000868617368436f64654c00096c6f63616c4e616d657400124c6a6176612f6c616e672f537472696e673b4c000c6e616d65737061636555524971007e00014c000670726566697871007e000178700000000074000d7265766965774f7574636f6d6574002a687474703a2f2f7777772e616c66726573636f2e6f72672f6d6f64656c2f776f726b666c6f772f312e3070
        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.selectList(DbSqlSession.java:171)
        at org.activiti.engine.impl.db.DbHistorySession.findHistoricDetailsByQueryCriteria(DbHistorySession.java:113)
        at org.activiti.engine.impl.HistoricDetailQueryImpl.executeList(HistoricDetailQueryImpl.java:82)

Environment

None

Assignee

Frederik Heremans

Reporter

Frederik Heremans

Labels

None

Fix versions

Priority

Major
Configure