On Oct 29, 2012, at 8:30 AM, MarkDaniel <markdan...@avolites.com> wrote:
> I wondered if anyone had any hints where to look? 

> System.NullReferenceException: Object reference not set to an instance of an 
> object

This frequently means that the process has died, and the NRE is the last gasp 
of the runtime. You'd have to look at the surrounding logcat output for 
additional contextual information, e.g. Dalvik may be nuking you because you 
used too much memory.

Or mono asserted and killed your process for you, like here:

> 10-29 12:29:09.459 W/        ( 6363): _wapi_handle_ref: Attempting to ref 
> unused handle 0x443
> 10-29 12:29:09.459 F/        ( 6363): * Assertion at 
> /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.6-branch/632e6ddf/source/mono/mono/io-layer/wthreads.c:1365,
>  condition `ok' not met

This can happen if the executing thread can't be found:

        
https://github.com/mono/mono/blob/mono-2-10/mono/io-layer/wthreads.c#L1365

So either OpenThread() failed (returning an invalid thread_handle), or 
_wapi_lookup_handle() failed for some other reason; I don't know what, but this 
looks like a Shouldn't Happen™ scenario. I'd likewise wonder if there is any 
other relevant logcat messages from pid 6363 (in this case!) that would point 
to Dalvik nuking your process.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to