[Mono-bugs] [Bug 549926] Problem with exception handling with async (Web) Service calls

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 3 20:29:35 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=549926

User gnorton at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=549926#c3


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #3 from Geoff Norton <gnorton at novell.com>  2009-11-03 18:29:32 MST ---
I did some more debugging on this, and I was wrong and mis-directed by the
Console.WriteLines.

christian,

  Your callback is getting invoked as expected, we just have some old
Console.WriteLines that also put the exceptions ont he console.  The issue here
is you have:

var av = new UIAlertView ("Error", "Cannot talk to Media service.", null, "OK",
null);
av.Show ();

on a callback thread, wrap that in a InvokeOnMainThread (delegate {...}); and
your sample works as expected.

I will remove the Console.WriteLines from a future release.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list