Hi Zied Hamdi,

did you call the populate method after adding your Overlays?

thats what caused this exception for me,

Regards, Aracos

On Aug 10, 4:38 pm, Zied Hamdi <[email protected]> wrote:
> Hi,
>
> I'm realy frustrated to see this error without being able to see
> what's happening in sources. It happens sometimes I don't know in
> which conditions and politely shoots off my app.
>
> When will google release the maps API sources? Or am I doing sth wrong
> (I downloaded the cupcake image to avoid debugging in code that's
> potentially not accurate, are the maps api sources available in newer
> images?).
>
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):
> java.lang.ArrayIndexOutOfBoundsException
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.ItemizedOverlay.maskHelper
> (ItemizedOverlay.java:562)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.ItemizedOverlay.setFocus(ItemizedOverlay.java:
> 365)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.ItemizedOverlay.focus(ItemizedOverlay.java:
> 539)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.ItemizedOverlay.onTap(ItemizedOverlay.java:
> 455)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.OverlayBundle.onTap(OverlayBundle.java:83)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.MapView$1.onSingleTapUp(MapView.java:346)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.GestureDetector.onTouchEvent(GestureDetector.java:503)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.google.android.maps.MapView.onTouchEvent(MapView.java:623)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.View.dispatchTouchEvent(View.java:3368)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.android.internal.policy.impl.PhoneWindow
> $DecorView.superDispatchTouchEvent(PhoneWindow.java:1707)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
> (PhoneWindow.java:1197)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.app.Activity.dispatchTouchEvent(Activity.java:1993)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.android.internal.policy.impl.PhoneWindow
> $DecorView.dispatchTouchEvent(PhoneWindow.java:1691)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.view.ViewRoot.handleMessage(ViewRoot.java:1525)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.os.Looper.loop(Looper.java:123)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> android.app.ActivityThread.main(ActivityThread.java:3948)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> (ZygoteInit.java:782)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
> 08-10 16:30:44.318: ERROR/AndroidRuntime(1053):     at
> dalvik.system.NativeStart.main(Native Method)
>
> Best Regards,
> Zied Hamdihttp://nextstreet.eu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to