Faber Fedor wrote:
> Assume I'm a idio^H^H^H^Hn00b and explain it to me, please.  I don't see
> what you do.

Sorry, I forgot to elaborate this point in my earlier post.

In Android, in effect, a stack trace contains two separate traces, and
you want the second one. The second one is flagged as "Caused by: " and
the exception:

>     E/AndroidRuntime(  583): Caused by: java.lang.NullPointerException

followed by the stack trace corresponding to that exception:

>     E/AndroidRuntime(  583): Caused by: java.lang.NullPointerException
>     E/AndroidRuntime(  583):     at org.apache.harmony.luni.util.
>     FloatingPointParser.parseDouble(FloatingPointParser.java:254)
>     E/AndroidRuntime(  583):     at
>     java.lang.Double.parseDouble(Double.java:332)
>     E/AndroidRuntime(  583):     at
>
com.faberfedor.tagyourworld.MainMap$SitesOverlay.<init>(MainMap.java:275)
>     E/AndroidRuntime(  583):     at
>     com.faberfedor.tagyourworld.MainMap.onCreate(MainMap.java:141)
>     E/AndroidRuntime(  583):     at
>
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122)
>     E/AndroidRuntime(  583):     at
>     android.app.ActivityThread.performLaunchActivity(

The upper stack trace is internal to Android itself and, at least for
me, offers no meaningful information.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

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

Reply via email to