Hi All, I have the following exception that occurs I don't really know in which circumstances.
I'm just trying to add an overlay to may viewMap, and I don't have anything special in my classes. The most strange thing is that it worked for a while, then it broken again when I changed my image!!! 07-06 14:32:12.338: WARN/dalvikvm(799): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 07-06 14:32:12.358: ERROR/AndroidRuntime(799): Uncaught handler: thread main exiting due to uncaught exception 07-06 14:32:12.408: ERROR/AndroidRuntime(799): java.lang.NullPointerException 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.ItemizedOverlay.getItemsAtLocation (ItemizedOverlay.java:617) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.ItemizedOverlay.getItemAtLocation (ItemizedOverlay.java:586) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.ItemizedOverlay.onTap(ItemizedOverlay.java: 443) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.OverlayBundle.onTap(OverlayBundle.java:83) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.MapView$1.onSingleTapUp(MapView.java:346) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.GestureDetector.onTouchEvent(GestureDetector.java:503) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.google.android.maps.MapView.onTouchEvent(MapView.java:623) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.View.dispatchTouchEvent(View.java:3368) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1707) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1197) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.app.Activity.dispatchTouchEvent(Activity.java:1993) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1691) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.view.ViewRoot.handleMessage(ViewRoot.java:1525) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.os.Handler.dispatchMessage(Handler.java:99) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.os.Looper.loop(Looper.java:123) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at android.app.ActivityThread.main(ActivityThread.java:3948) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at java.lang.reflect.Method.invokeNative(Native Method) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at java.lang.reflect.Method.invoke(Method.java:521) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 07-06 14:32:12.408: ERROR/AndroidRuntime(799): at dalvik.system.NativeStart.main(Native Method) Any help is really welcome (I've attempted to take a look the sources, but it seams so complicated to get them...) Regards, Zied --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

