commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #10383] Deserialization of an empty TreeMap fails


From: Ilya Perminov
Subject: [commit-cp] [bugs #10383] Deserialization of an empty TreeMap fails
Date: Tue, 14 Sep 2004 15:54:46 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040809 Firefox/0.9.3

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #10383] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10383>
Project: classpath
Submitted by: Ilya Perminov
On: Tue 09/14/2004 at 19:49

Category:  inetlib
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Deserialization of an empty TreeMap fails

Original Submission:  Deserialization of an empty java.util.TreeMap fails with 
a 
NullPointerException. It happens because transient field 
"root" is not initialized during deserialization. To fix:
add root = nil; to the beginning of readObject method.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10383>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]