no reply? I assumed it was c# not mono-droid? Did you have a lot of things
you were initializing statically? I wanna blog this so others can find it
but tell me what happened. I won't use your name I'll just say, if you get
a nullrefexp and you are using a lot of static stuff, and your static
objec
switch all your code to using this
http://msdn.microsoft.com/en-us/library/k9x6w0hc%28v=vs.80%29.aspx
and then see if the problem persists.
On Mon, Jun 18, 2012 at 4:20 PM, Sayed Arian Kooshesh wrote:
> fuck i know what it is.
>
> See static in c# is a bit.. tricky.
>
> Switch to using a static
On Jun 18, 2012, at 11:35 AM, Jonathan Chapman wrote:
> The reason the null reference is happening is that the object is gone.
Are you sure it's the same process?
Each line in the Android Debug Log contains a process id (pid):
http://docs.xamarin.com/android/advanced_topics/android_debu
Hi Sayed,
You mentioned in your last line that you had this problem. Did you
determine any work arounds or preventative steps?
Thanks,
Jonathan
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Crash-on-HTC-tp5710360p5710405.html
Sent from the Mono for Android maili
The reason the null reference is happening is that the object is gone. On
the HTC when returning from the other application it looks like the garbage
collector has removed my static objects even though the application is still
running. While on the Samsung there is no such issue. All subsequent
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
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.