org.apache.openjpa.persistence.PersistenceException: A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE= ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte[]) [B@52c3eb11, (Timestamp) 2015-05-12 12:53:30.968, (long) 309033, (long) 304]} [code=20000, state=22001] FailedObject: org.apache.ode.dao.jpa.ProcessInstanceDAOImpl-org.apache.ode.dao.jpa.ProcessInstanceDAOImpl-304

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A truncation error was encountered
    via by Jitendra Kharche,
  • A truncation error was encountered
    via by Jitendra Kharche,
  • A truncation error was encountered
    via by Jitendra Kharche,
  • OpenJPA Database Performance - the JPA Benchmark
    via by Unknown author,
    • org.apache.openjpa.persistence.PersistenceException: A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE= ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte[]) [B@52c3eb11, (Timestamp) 2015-05-12 12:53:30.968, (long) 309033, (long) 304]} [code=20000, state=22001] FailedObject: org.apache.ode.dao.jpa.ProcessInstanceDAOImpl-org.apache.ode.dao.jpa.ProcessInstanceDAOImpl-304 at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4230) at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:72) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:131) at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:82) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72) at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:543) at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:106) at org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:59) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:89) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717) at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE = ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte[]) [B@52c3eb11, (Timestamp) 2015-05-12 12:53:30.968, (long) 309033, (long) 304]} [code=20000, state=22001] at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:57) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:866) at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:269) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1586) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:151) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:120) ... 15 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    WoodenDoors
    WoodenDoors60 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    3 more bugmates