[mono-android] Crash on HTC

Sayed Arian Kooshesh kooshesh at gmail.com
Fri Jun 15 15:47:11 UTC 2012


seems like jon's eyes are used to scanning these. As you develop more, you
will too.


What I did, was write a program that goes through my project directory and
gets a list of file (cs) and removes the extension in a list.

Then, since I knew what all of my files were, it would be easy to identify
if in the crash my files were mentioned. Sometimes scanning them might lead
to a skip over from tired eyes.

Htc has a launcher that is default that is not the android launcher. I ran
into this problem, too. Has to do with a dialog or the like or something.
But it's the htc launcher giving you the null and that's why other phones
don't.



On Fri, Jun 15, 2012 at 9:26 AM, Jonathan Pryor <jonp at xamarin.com> wrote:

> On Jun 15, 2012, at 10:00 AM, Jonathan Chapman wrote:
> > However, on a HTC One X if I take a screenshot (Holding power and volume
> down) then leave my application and come back, the application will crash.
>
> You have a NullReferenceException within WorkOrders.Status.Load():
>
>        06-15 09:41:06.846 I/MonoDroid(11629): UNHANDLED EXCEPTION:
> System.NullReferenceException: Object reference not set to an instance of
> an object
>        06-15 09:41:06.846 I/MonoDroid(11629): at
> ApexSI.ApexWare.BusinessObjects.FieldService.WorkOrders.Status.Load ()
> <0x0007c>
>        06-15 09:41:06.846 I/MonoDroid(11629): at
> com.apexsi.apexware.WorkOrders.WorkOrderDetailsFragment.OnCreate
> (Android.OS.Bundle) <0x00057>
>
> Why do you have a NullReferenceException? I don' t know. :-)
>
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120615/214839b1/attachment-0001.html>


More information about the Monodroid mailing list