[Mono-bugs] [Bug 70554][Cri] New - XML Serialization problem
Tue, 14 Dec 2004 11:32:54 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/70554 2004-12-14 11:32:54.000000000 -0500
+++ shadow/70554.tmp.26786 2004-12-14 11:32:54.000000000 -0500
@@ -0,0 +1,58 @@
+Product: Mono: Runtime
+Summary: XML Serialization problem
+Description of Problem:
+I have two objects: Fase and Semaphore.
+As in my app I'm going to have an undefined number of Fase and Semaphore
+instances, I've created two other objects derived from ArrayList: FaseList
+FaseList has Fase objects
+Each Fase has a SemaphoreList object
+SemaphoreList has Semaphore objects
+So what I want is to serialize FaseList to a XML file. I've created a
+XmlData class which is responsible for writing/loading data to/from a XML file.
+After a successful compilation, I run it returning this:
+Unhandled Exception: System.ArgumentException: Key duplication when adding:
+in [0x00159] (at
+in [0x00004] (at
+(... and so on!!)
+Full working serialization
+How often does this happen?
+I've spoken to eno @ #mono @ irc.gnome.org , who has compiled and ran my
+app successfully with svn mono version and MS .NET. I'm running mono-1.0.5
+compiled from source.