thanks for your reply

I started the adb command line in the Windows XP shell:

C:\xxx\tools\adb logcat

and ran my "HelloGoogleMaps" project.The maps showed up within the
emulator with the androidmarker icon as ususal, I clicked on it and
encountered the error message mentionned earlier.

The log gave me the following "traces":

D/dalvikvm(  191): GC freed 875 objects / 121384 bytes in 214ms
D/AndroidRuntime(  191): Shutting down VM
W/dalvikvm(  191): threadid=3: thread exiting with uncaught exception
(group=0x4001b188)
E/AndroidRuntime(  191): Uncaught handler: thread main exiting due to
uncaught exception
D/dalvikvm(  191): GC freed 945 objects / 464808 bytes in 181ms
E/AndroidRuntime(  191): java.lang.NullPointerException
E/AndroidRuntime(  191):        at
com.android.internal.app.AlertController
$AlertParams.<init>(AlertController.java:753)
E/AndroidRuntime(  191):        at android.app.AlertDialog
$Builder.<init>(AlertDialog.java:273)
E/AndroidRuntime(  191):        at
com.tests.HelloItemizedOverlay.onTap(HelloItemizedOverlay.java:45)
E/AndroidRuntime(  191):        at
com.google.android.maps.ItemizedOverlay.onTap(ItemizedOverlay.java:
453)
E/AndroidRuntime(  191):        at
com.google.android.maps.OverlayBundle.onTap(OverlayBundle.java:83)
E/AndroidRuntime(  191):        at com.google.android.maps.MapView
$1.onSingleTapUp(MapView.java:346)
E/AndroidRuntime(  191):        at
android.view.GestureDetector.onTouchEvent(GestureDetector.java:506)
E/AndroidRuntime(  191):        at
com.google.android.maps.MapView.onTouchEvent(MapView.java:628)
E/AndroidRuntime(  191):        at
android.view.View.dispatchTouchEvent(View.java:3709)
E/AndroidRuntime(  191):        at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:852)
E/AndroidRuntime(  191):        at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime(  191):        at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime(  191):        at
com.android.internal.policy.impl.PhoneWindow$
DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
E/AndroidRuntime(  191):        at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
1107)
E/AndroidRuntime(  191):        at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
E/AndroidRuntime(  191):        at
com.android.internal.policy.impl.PhoneWindow$
DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
E/AndroidRuntime(  191):        at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
E/AndroidRuntime(  191):        at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  191):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  191):        at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(  191):        at
java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime(  191):        at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  191):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(  191):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(  191):        at
dalvik.system.NativeStart.main(Native Method)
I/Process (   57): Sending signal. PID: 191 SIG: 3
I/dalvikvm(  191): threadid=7: reacting to signal 3
I/dalvikvm(  191): Wrote stack trace to '/data/anr/traces.txt'

It seems like something happens with AlertDialog.Builder...
Help would be appreciated

On 24 fév, 22:15, TreKing <[email protected]> wrote:
> On Wed, Feb 24, 2010 at 9:23 AM, yodaa <[email protected]> wrote:
> > I suspect something gone wrong within the "onTap" method of
> > "HelloItemizedOverlay"...
>
> > Could anyone give me a clue on that?
>
> What's the stack trace at the point of the exception? That's your best bet.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to