This is the cause as shown in the stack crawl:

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(


On Tue, Jan 20, 2009 at 6:51 PM, Faber Fedor <[email protected]> wrote:

>
>
> On Tue, Jan 20, 2009 at 9:11 PM, Mark Murphy <[email protected]>wrote:
>
>> That is probably the bottom of the stack trace. I'm interested in the top.
>
>
> I've pasted the output of logcat, trimmed beneath my sig.  Unfortunately,
> the top of the  stack trace reads:
>
> E/AndroidRuntime(  583):    at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.ja
> va:1122)
> E/AndroidRuntime(  583):    at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.jav
> a:2103)
> E/AndroidRuntime(  583):    ... 11 more
>
>
> which I take to mean we're not going to find out. :-)
>
> So I'm going to try doing this all over again, more methodically, tomorrow
> on my Linux box.
>
> --
>
> Faber Fedor
> Cloud Computing New Jersey
> http://cloudcomputingnj.com
>
>
> ----------- BEGIN LOGCAT OUTPUT ------------
>
> D/AndroidRuntime(  583): Shutting down VM
> W/dalvikvm(  583): threadid=3: thread exiting with uncaught exception
> (group=0x40010e28)
> E/AndroidRuntime(  583): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime(  583): java.lang.RuntimeException: Unable to start
> activity
> ComponentInfo{com.faberfedor.tagyourworld/com.faberfedor.tagyourworld.MainMap}:
> java.lang.NullPointerException
> E/AndroidRuntime(  583):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
> E/AndroidRuntime(  583):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2156)
> E/AndroidRuntime(  583):     at
> android.app.ActivityThread.access$1800(ActivityThread.java:112)
> E/AndroidRuntime(  583):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580)
> E/AndroidRuntime(  583):     at
> android.os.Handler.dispatchMessage(Handler.java:88)
> E/AndroidRuntime(  583):     at android.os.Looper.loop(Looper.java:123)
> E/AndroidRuntime(  583):     at
> android.app.ActivityThread.main(ActivityThread.java:3742)
> E/AndroidRuntime(  583):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime(  583):     at
> java.lang.reflect.Method.invoke(Method.java:515)
> E/AndroidRuntime(  583):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
> E/AndroidRuntime(  583):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> E/AndroidRuntime(  583):     at dalvik.system.NativeStart.main(Native
> Method)
> 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(ActivityThread.java:2103)
> E/AndroidRuntime(  583):     ... 11 more
> I/Process (   54): Sending signal. PID: 583 SIG: 3
> I/dalvikvm(  583): threadid=7: reacting to signal 3
> I/dalvikvm(  583): Wrote stack trace to '/data/anr/traces.txt'
> I/Process (  583): Sending signal. PID: 583 SIG: 9
> I/ActivityManager(   54): Process com.faberfedor.tagyourworld (pid 583) has
> died.
> ----------- END LOGCAT OUTPUT ------------
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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