Wednesday, June 30, 2010

Re: [android-developers] crashing map

Have you ensured you're calling ItemizedOverlay.populate() before adding the overlay to the map view?

Steve

On Tue, Jun 29, 2010 at 5:42 PM, Pedro Teixeira <pedroteixeira07@gmail.com> wrote:
Hey there...

My application using google maps was working just fine.. I left it for
a while.. and suddenly out of the blue.. it crashes by just touching
on the map... the only change I've done was to change a .png file for
another image..
Anyway.. I get a NullPointerException.. on the debugger.. nd the
logcat writes this errors:

06-30 01:39:16.756: ERROR/ActivityThread(619): Failed to find provider
info for android.server.checkin
06-30 01:39:16.856: ERROR/ActivityThread(619): Failed to find provider
info for android.server.checkin
06-30 01:39:23.546: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:23.566: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:23.606: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings

and more

06-30 01:39:23.606: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:27.527: ERROR/MapActivity(738): Couldn't get connection
factory client
06-30 01:39:56.476: ERROR/AndroidRuntime(738): Uncaught handler:
thread main exiting due to uncaught exception
06-30 01:39:56.627: ERROR/AndroidRuntime(738):
java.lang.NullPointerException
06-30 01:39:56.627: ERROR/AndroidRuntime(738):     at
com.google.android.maps.ItemizedOverlay.getItemsAtLocation(ItemizedOverlay.java:
617)
06-30 01:39:56.627: ERROR/AndroidRuntime(738):     at
com.google.android.maps.ItemizedOverlay.getItemAtLocation(ItemizedOverlay.java:
586)
06-30 01:39:56.627: ERROR/AndroidRuntime(738):     at
com.google.android.maps.ItemizedOverlay.handleMotionEvent(ItemizedOverlay.java:
498)
06-30 01:39:56.627: ERROR/AndroidRuntime(738):     at
com.google.android.maps.ItemizedOverlay.onTouchEvent(ItemizedOverlay.java:
572)
06-30 01:39:56.627: ERROR/AndroidRuntime(738):     at
com.google.android.maps.OverlayBundle.onTouchEvent(OverlayBundle.java:
63)

there's much more.. but i guess its something to do with the maps
itself.. any help please?

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

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