[Mono-bugs] [Bug 75536][Nor] Changed - Deserialization an array of
arrays fails
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 12 10:14:40 EDT 2005
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 roeie at mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75536
--- shadow/75536 2005-07-12 10:08:25.000000000 -0400
+++ shadow/75536.tmp.4088 2005-07-12 10:14:40.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 75536
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: roeie at mainsoft.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Deserialization an array of arrays fails
+
+Description of Problem:
+
+When trying to deserialize an object of type int[][], using the soap
+serialization, an exception is thrown and the process fails
+
+Steps to reproduce the problem:
+1. serialize an object of type int[][] to a file, using the SoapFormatter
+2. try to deserialize it using the SoapFormatter
+3.
+
+Actual Results:
+
+the process fails
+
+Expected Results:
+
+the deserialization should succeed
+
+How often does this happen?
+
+everytime
+
+Additional Information:
+
+------- Additional Comments From roeie at mainsoft.com 2005-07-12 10:04 -------
+Created an attachment (id=15455)
+a patch for the SoapReader
+
+
+------- Additional Comments From roeie at mainsoft.com 2005-07-12 10:08 -------
+I found that the problem is in the SoapReader.
+When a type of array is deserialized, the
+function 'DeserializeArray' is invoked.
+This function is wrongly trying to parse the type name, in order to
+find the number of dimensions.
+When the type is not jagged array, but an array of arrays like:
+int[][], it fails.
+The previous attachment is a possible solution.
+
+------- Additional Comments From roeie at mainsoft.com 2005-07-12 10:14 -------
+Created an attachment (id=15456)
+Use this patch instead of the previous
+
More information about the mono-bugs
mailing list