[MonoTouch] Did Threading change a lot in 5.2.latest?

Rolf Bjarne Kvinge rolf at xamarin.com
Fri Mar 16 11:14:54 UTC 2012


Hi,

On Fri, Mar 16, 2012 at 12:11 PM, Nic Wise <nicw at fastchicken.co.nz> wrote:

> ... and after some debugging...with a drumroll but NO surprise, it
> looks like the problem is.... ME.
>
> NullReferenceException in the ContinueWith section. Causes a segfault.
> Basically:
>
> foo.Property = value;
>
> foo is null (it's a derivative from MT.D's Element). bang. (Property
> does nothing except assignment)
>
> try/catch doesn't catch it tho. Which is ODD.
>

That's expected if you're using TestFlight's crash handling. TestFlight
detect the NullReferenceException as a crash and handles it accordingly,
mono is never given a chance to process it.

Rolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120316/ac27ff84/attachment.html>


More information about the MonoTouch mailing list