[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] Created: (LUCENE-785) RAMDirectory not Serializable
From:       "Matthias Seidel (JIRA)" <jira () apache ! org>
Date:       2007-01-26 13:51:49
Message-ID: 22689892.1169819509059.JavaMail.jira () brutus
[Download RAW message or body]

RAMDirectory not Serializable
-----------------------------

                 Key: LUCENE-785
                 URL: https://issues.apache.org/jira/browse/LUCENE-785
             Project: Lucene - Java
          Issue Type: Bug
          Components: Store
    Affects Versions: 2.1
            Reporter: Matthias Seidel
            Priority: Minor


The current implementation of RAMDirectory throws a NotSerializableException when \
trying to serialize, due to the inner class KeySet of HashMap not being serializable \
(god knows why)

java.io.NotSerializableException: java.util.HashMap$KeySet
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)

Caused by line 43:

private Set fileNames = fileMap.keySet();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic