Wednesday, January 23, 2013

[android-developers] Re: End user ANR stack trace has no line number

Yes "force close", thank you.

On Wednesday, January 23, 2013 1:27:02 PM UTC-8, Piren wrote:
FYI, that is a Force Close, not an ANR.  :)

On Wednesday, January 23, 2013 12:58:55 AM UTC+2, Peri Hartman wrote:

I have received an ANR from an end user, but the top line (in my code) has no line number. Why is that, and how am I supposed to identify the error? The code is obfuscated using progaurd.

More specifically, the first few lines of my stack trace are:
 
java.lang.NullPointerException
at com.perinote.perinote.main.MainActivity.onOptionsItemSelected(Unknown Source)
at android.app.Activity.onMenuItemSelected(Activity.java:2502)
at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:950)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment