зеркало из https://github.com/mono/mail-archives.git
201 строка
6.2 KiB
HTML
201 строка
6.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 645553] New: Empty ArrayList returned from WCF fails to deserialize, fixed in Mono need fix applied to MonoTouch
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20645553%5D%20New%3A%20Empty%20ArrayList%20returned%20from%20WCF%0A%20fails%20to%20deserialize%2C%20fixed%20in%20Mono%20need%20fix%20applied%20to%20MonoTouch&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="104750.html">
|
|
<LINK REL="Next" HREF="105548.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 645553] New: Empty ArrayList returned from WCF fails to deserialize, fixed in Mono need fix applied to MonoTouch</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20645553%5D%20New%3A%20Empty%20ArrayList%20returned%20from%20WCF%0A%20fails%20to%20deserialize%2C%20fixed%20in%20Mono%20need%20fix%20applied%20to%20MonoTouch&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 645553] New: Empty ArrayList returned from WCF fails to deserialize, fixed in Mono need fix applied to MonoTouch">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Mon Oct 11 16:21:49 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="104750.html">[Mono-bugs] [Bug 562150] abort in compute_class_bitmap while JITting a verified method
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105548.html">[Mono-bugs] [Bug 645553] Empty ArrayList returned from WCF fails to deserialize, fixed in Mono need fix applied to MonoTouch
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#104751">[ date ]</a>
|
|
<a href="thread.html#104751">[ thread ]</a>
|
|
<a href="subject.html#104751">[ subject ]</a>
|
|
<a href="author.html#104751">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=645553">https://bugzilla.novell.com/show_bug.cgi?id=645553</A>
|
|
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=645553#c0">https://bugzilla.novell.com/show_bug.cgi?id=645553#c0</A>
|
|
|
|
|
|
Summary: Empty ArrayList returned from WCF fails to
|
|
deserialize, fixed in Mono need fix applied to
|
|
MonoTouch
|
|
Classification: Mono
|
|
Product: MonoTouch
|
|
Version: unspecified
|
|
Platform: x86
|
|
OS/Version: Other
|
|
Status: NEW
|
|
Severity: Major
|
|
Priority: P5 - None
|
|
Component: Class Libraries
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dsandor at mdsiinc.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: Customer
|
|
Blocker: ---
|
|
|
|
|
|
Description of Problem:
|
|
|
|
Atsushi Eno fixed this error in the Mono svc. The bug still exists in
|
|
MonoTouch SDK version 3.2.
|
|
|
|
<A HREF="http://go-mono.com/forums/#nabble-td1576794">http://go-mono.com/forums/#nabble-td1576794</A>
|
|
|
|
---Summary from forum---
|
|
I am using a basicHttpBinding to communicate with an IIS 7 hosted WCF service
|
|
from a WinForms ported application (running on Mono 2.6.1).
|
|
|
|
If the WCF Service returns an empty array or an object containing an empty
|
|
array the call results in the following exception:
|
|
|
|
Exception in async operation: System.InvalidOperationException: Failed to set
|
|
va
|
|
lue of type System.Collections.ArrayList for property
|
|
MonoTest.SearchService.DAS
|
|
earchField[] Fields ---> System.ArgumentException: failed to convert parameters
|
|
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
|
|
invoke
|
|
Attr, System.Reflection.Binder binder, System.Object[] parameters,
|
|
System.Global
|
|
ization.CultureInfo culture) [0x00000] in <filename unknown>:0
|
|
..
|
|
|
|
The error goes away if I return null instead of the empty array.
|
|
|
|
Patch to mono was applied here:
|
|
<A HREF="http://lists.ximian.com/pipermail/mono-patches/2010-March/167770.html">http://lists.ximian.com/pipermail/mono-patches/2010-March/167770.html</A>
|
|
|
|
|
|
Steps to reproduce the problem:
|
|
1. Return an EMPTY ArrayList from WCF.
|
|
2. Consume WCF in MonoTouch by exporting WSDL to Proxy using SL3 SDK.
|
|
|
|
|
|
Actual Results:
|
|
xception in async operation: System.InvalidOperationException: Failed to set va
|
|
lue of type System.Collections.ArrayList for property
|
|
MonoTest.SearchService.DAS
|
|
earchField[] Fields ---> System.ArgumentException: failed to convert parameters
|
|
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
|
|
invoke
|
|
Attr, System.Reflection.Binder binder, System.Object[] parameters,
|
|
System.Global
|
|
ization.CultureInfo culture) [0x00000] in <filename unknown>:0
|
|
|
|
Expected Results:
|
|
Array that is empty should have been initialized.
|
|
|
|
How often does this happen?
|
|
Always
|
|
|
|
Additional Information:
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="104750.html">[Mono-bugs] [Bug 562150] abort in compute_class_bitmap while JITting a verified method
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105548.html">[Mono-bugs] [Bug 645553] Empty ArrayList returned from WCF fails to deserialize, fixed in Mono need fix applied to MonoTouch
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#104751">[ date ]</a>
|
|
<a href="thread.html#104751">[ thread ]</a>
|
|
<a href="subject.html#104751">[ subject ]</a>
|
|
<a href="author.html#104751">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|