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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openejb-users by Alexander Saint Croix, 1 year ago
via openejb-users by Alexander Saint Croix, 1 year ago
org.apache.openjpa.persistence.PersistenceException: no-saved-fields
at org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:799)
at org.apache.openjpa.kernel.BrokerImpl$ManagedCache.dirtyCheck(BrokerImpl.java:4620)
at org.apache.openjpa.kernel.BrokerImpl$ManagedCache.access$000(BrokerImpl.java:4360)
at org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java:3739)
at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3856)
at org.apache.openjpa.kernel.StateManagerImpl.setPCState(StateManagerImpl.java:207)
at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1532)
at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1471)
at org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:808)
at org.apache.openjpa.kernel.BrokerImpl$ManagedCache.dirtyCheck(BrokerImpl.java:4620)
at org.apache.openjpa.kernel.BrokerImpl$ManagedCache.access$000(BrokerImpl.java:4360)
at org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java:3739)
at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3856)
at org.apache.openjpa.kernel.StateManagerImpl.setPCState(StateManagerImpl.java:205)
at org.apache.openjpa.kernel.StateManagerImpl.delete(StateManagerImpl.java:1070)
at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2518)
at org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:387)
at org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:373)
at org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:330)
at org.apache.openjpa.kernel.SingleFieldManager.delete(SingleFieldManager.java:284)
at org.apache.openjpa.kernel.StateManagerImpl.cascadeDelete(StateManagerImpl.java:2817)
at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2517)
at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2482)
at org.apache.openjpa.kernel.QueryImpl.deleteInMemory(QueryImpl.java:1020)
at org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:684)
at org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1008)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:801)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:866)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:862)
at org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:541)
at org.eremite.corm.party.BeanManagerImpl.clear(BeanManagerImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:210)
at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:188)
at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:165)
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.