org.apache.openjpa.util.InvalidStateException

Operation attempted on a deleted instance.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Coderanch by Padma Prasad, 7 months ago
    Operation attempted on a deleted instance.
  • via Oracle Community by 666705, 11 months ago
    Operation attempted on a deleted instance.
  • Stack trace

    • org.apache.openjpa.util.InvalidStateException: Operation attempted on a deleted instance. at org.apache.openjpa.kernel.PCState.error(PCState.java:443) at org.apache.openjpa.kernel.PDeletedState.beforeOptimisticWrite(PDeletedState.java:76) at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1445) at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1384) at org.apache.openjpa.util.Proxies.dirty(Proxies.java:68) at org.apache.openjpa.util.java$sql$Timestamp$proxy.setNanos(Unknown Source) at org.apache.openjpa.jdbc.sql.DBDictionary.setTimestamp(DBDictionary.java:1054) at org.apache.openjpa.jdbc.sql.DBDictionary.setTyped(DBDictionary.java:1194) at org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:883) at org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:843) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:93) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:71) at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flushPrimaryRow(OperationOrderUpdateManager.java:162) at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flush(OperationOrderUpdateManager.java:89) 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:514) at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.