[jira] Closed: (CAY-1053) MapQueryCache.CacheEntry not serializable

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri May 09 2008 - 07:12:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Updated: (CAY-1048) Deprecate but preserve functionality of QueryMetadata.isRefreshingObjects()"

         [ 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.
    



    This archive was generated by hypermail 2.0.0 : Fri May 09 2008 - 07:13:13 EDT