org.apache.openjpa.persistence.PersistenceException: no-saved-fields

openejb-users | Alexander Saint Croix | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Nuking tables on tearDown() for CRUD tests

    openejb-users | 9 years ago | Alexander Saint Croix
    org.apache.openjpa.persistence.PersistenceException: no-saved-fields
  2. 0

    Nuking tables on tearDown() for CRUD tests

    openejb-users | 9 years ago | Alexander Saint Croix
    org.apache.openjpa.persistence.PersistenceException: no-saved-fields
  3. 0

    [OPENJPA-1001] java.lang.IndexOutOfBoundsException when executing attached test case - ASF JIRA

    apache.org | 1 year ago
    org.apache.openjpa.persistence.PersistenceException: Index: 1, Size: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.openjpa.persistence.PersistenceException

      no-saved-fields

      at org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck()
    2. OpenJPA Aggregate Jar
      QueryImpl.executeUpdate
      1. org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:799)
      2. org.apache.openjpa.kernel.BrokerImpl$ManagedCache.dirtyCheck(BrokerImpl.java:4620)
      3. org.apache.openjpa.kernel.BrokerImpl$ManagedCache.access$000(BrokerImpl.java:4360)
      4. org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java:3739)
      5. org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3856)
      6. org.apache.openjpa.kernel.StateManagerImpl.setPCState(StateManagerImpl.java:207)
      7. org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1532)
      8. org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1471)
      9. org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:808)
      10. org.apache.openjpa.kernel.BrokerImpl$ManagedCache.dirtyCheck(BrokerImpl.java:4620)
      11. org.apache.openjpa.kernel.BrokerImpl$ManagedCache.access$000(BrokerImpl.java:4360)
      12. org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java:3739)
      13. org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3856)
      14. org.apache.openjpa.kernel.StateManagerImpl.setPCState(StateManagerImpl.java:205)
      15. org.apache.openjpa.kernel.StateManagerImpl.delete(StateManagerImpl.java:1070)
      16. org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2518)
      17. org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:387)
      18. org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:373)
      19. org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:330)
      20. org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:284)
      21. org.apache.openjpa.kernel.StateManagerImpl.cascadeDelete(StateManagerImpl.java:2817)
      22. org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2517)
      23. org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2482)
      24. org.apache.openjpa.kernel.QueryImpl.deleteInMemory(QueryImpl.java:1020)
      25. org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:684)
      26. org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1008)
      27. org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:801)
      28. org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:866)
      29. org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:862)
      30. org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:541)
      31. org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:314)
      31 frames
    3. org.eremite.corm
      BeanManagerImpl.clear
      1. org.eremite.corm.party.BeanManagerImpl.clear(BeanManagerImpl.java:66)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:210)
      5. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:188)
      6. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:165)
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
      8. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
      9. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
      9 frames