MapQueryCache.CacheEntry not serializable
-----------------------------------------
Key: CAY-1053
URL: https://issues.apache.org/cayenne/browse/CAY-1053
Project: Cayenne
Issue Type: Bug
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Priority: Minor
Fix For: 3.0
As reported by the users, deserializaing DataContext causes the following
exception:
SEVERE: IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.cayenne.cache.MapQueryCache$CacheEntry
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.cayenne.cache.MapQueryCache$CacheEntry
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
This is caused by a local cache map holding entries that are not serializable.
I can easily reproduce it in a unit test
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.