You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/05/09 13:12:52 UTC
[jira] Closed: (CAY-1053) MapQueryCache.CacheEntry not serializable
[ https://issues.apache.org/cayenne/browse/CAY-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1053.
--------------------------------
Resolution: Fixed
> 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.