java.util.ConcurrentModificationException

Appcelerator JIRA | Andrew Royce | 4 years ago
  1. 0

    I am tracking a user running and updating a map with a route. After a certain amount of points are added to the route I get the below error: {code} W/dalvikvm(12413): threadid=1: thread exiting with uncaught exception (group=0x4001d560) E/TiApplication(12413): (main) [169428,177873] Sending event: exception on thread: main msg:java.util.ConcurrentModificationException; Titanium 2.1.0,2012/06/28 12:16,6e3cab6 E/TiApplication(12413): java.util.ConcurrentModificationException E/TiApplication(12413): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576) E/TiApplication(12413): at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41) E/TiApplication(12413): at com.google.android.maps.MapView.onDraw(MapView.java:530) E/TiApplication(12413): at android.view.View.draw(View.java:6902) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/TiApplication(12413): at android.view.ViewRoot.draw(ViewRoot.java:1554) E/TiApplication(12413): at android.view.ViewRoot.performTraversals(ViewRoot.java:1263) E/TiApplication(12413): at android.view.ViewRoot.handleMessage(ViewRoot.java:1892) E/TiApplication(12413): at android.os.Handler.dispatchMessage(Handler.java:99) E/TiApplication(12413): at android.os.Looper.loop(Looper.java:130) E/TiApplication(12413): at android.app.ActivityThread.main(ActivityThread.java:3835) E/TiApplication(12413): at java.lang.reflect.Method.invokeNative(Native Method) E/TiApplication(12413): at java.lang.reflect.Method.invoke(Method.java:507) E/TiApplication(12413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) E/TiApplication(12413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) E/TiApplication(12413): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(12413): FATAL EXCEPTION: main E/AndroidRuntime(12413): java.util.ConcurrentModificationException E/AndroidRuntime(12413): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576) E/AndroidRuntime(12413): at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41) E/AndroidRuntime(12413): at com.google.android.maps.MapView.onDraw(MapView.java:530) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6902) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/AndroidRuntime(12413): at android.view.ViewRoot.draw(ViewRoot.java:1554) E/AndroidRuntime(12413): at android.view.ViewRoot.performTraversals(ViewRoot.java:1263) E/AndroidRuntime(12413): at android.view.ViewRoot.handleMessage(ViewRoot.java:1892) E/AndroidRuntime(12413): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(12413): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime(12413): at android.app.ActivityThread.main(ActivityThread.java:3835) E/AndroidRuntime(12413): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(12413): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime(12413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) E/AndroidRuntime(12413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) E/AndroidRuntime(12413): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 1646): Force finishing activity com.libertastechnologies.stelizabeth/ti.modules.titanium.ui.TiTabActivity {code} 1. Run this code, interact with screen, and you should be able to see this in ~5 seconds. {code} var win = Ti.UI.createWindow({ backgroundColor : '#00f' }); var maproute = { name : 'runtrackerroute', points : [{ latitude : 42.3353, longitude : -71.1715 }, { latitude : 42.3355, longitude : -71.1725 }, { latitude : 42.3359, longitude : -71.1735 }], color : 'blue', width : 4 }; var map = Titanium.Map.createView({ mapType : Titanium.Map.STANDARD_TYPE, region : { latitude : 42.3366, longitude : -71.1689, latitudeDelta : 0.01, longitudeDelta : 0.01 } }); map.addRoute(maproute); function UpdateMapRoute(lat, lon) { //remove route map.removeRoute(maproute); //add new points maproute.points.push({ 'latitude' : lat, 'longitude' : lon }); //add route map.addRoute(maproute); map.setLocation({ latitude : lat, longitude : lon, animate : true, latitudeDelta : 0.001, longitudeDelta : 0.004 }); } var lat = 42.3359; var lon = -71.1735; setInterval(function(){ UpdateMapRoute(lat,lon); lat = lat + .002; lon = lon + .002; },500); win.add(map); win.open(); {code}

    Appcelerator JIRA | 4 years ago | Andrew Royce
    java.util.ConcurrentModificationException
  2. 0

    I am tracking a user running and updating a map with a route. After a certain amount of points are added to the route I get the below error: {code} W/dalvikvm(12413): threadid=1: thread exiting with uncaught exception (group=0x4001d560) E/TiApplication(12413): (main) [169428,177873] Sending event: exception on thread: main msg:java.util.ConcurrentModificationException; Titanium 2.1.0,2012/06/28 12:16,6e3cab6 E/TiApplication(12413): java.util.ConcurrentModificationException E/TiApplication(12413): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576) E/TiApplication(12413): at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41) E/TiApplication(12413): at com.google.android.maps.MapView.onDraw(MapView.java:530) E/TiApplication(12413): at android.view.View.draw(View.java:6902) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/TiApplication(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/TiApplication(12413): at android.view.View.draw(View.java:6905) E/TiApplication(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/TiApplication(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/TiApplication(12413): at android.view.ViewRoot.draw(ViewRoot.java:1554) E/TiApplication(12413): at android.view.ViewRoot.performTraversals(ViewRoot.java:1263) E/TiApplication(12413): at android.view.ViewRoot.handleMessage(ViewRoot.java:1892) E/TiApplication(12413): at android.os.Handler.dispatchMessage(Handler.java:99) E/TiApplication(12413): at android.os.Looper.loop(Looper.java:130) E/TiApplication(12413): at android.app.ActivityThread.main(ActivityThread.java:3835) E/TiApplication(12413): at java.lang.reflect.Method.invokeNative(Native Method) E/TiApplication(12413): at java.lang.reflect.Method.invoke(Method.java:507) E/TiApplication(12413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) E/TiApplication(12413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) E/TiApplication(12413): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(12413): FATAL EXCEPTION: main E/AndroidRuntime(12413): java.util.ConcurrentModificationException E/AndroidRuntime(12413): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576) E/AndroidRuntime(12413): at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41) E/AndroidRuntime(12413): at com.google.android.maps.MapView.onDraw(MapView.java:530) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6902) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1644) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at android.view.ViewGroup.drawChild(ViewGroup.java:1646) E/AndroidRuntime(12413): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) E/AndroidRuntime(12413): at android.view.View.draw(View.java:6905) E/AndroidRuntime(12413): at android.widget.FrameLayout.draw(FrameLayout.java:357) E/AndroidRuntime(12413): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957) E/AndroidRuntime(12413): at android.view.ViewRoot.draw(ViewRoot.java:1554) E/AndroidRuntime(12413): at android.view.ViewRoot.performTraversals(ViewRoot.java:1263) E/AndroidRuntime(12413): at android.view.ViewRoot.handleMessage(ViewRoot.java:1892) E/AndroidRuntime(12413): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(12413): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime(12413): at android.app.ActivityThread.main(ActivityThread.java:3835) E/AndroidRuntime(12413): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(12413): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime(12413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) E/AndroidRuntime(12413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) E/AndroidRuntime(12413): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 1646): Force finishing activity com.libertastechnologies.stelizabeth/ti.modules.titanium.ui.TiTabActivity {code} 1. Run this code, interact with screen, and you should be able to see this in ~5 seconds. {code} var win = Ti.UI.createWindow({ backgroundColor : '#00f' }); var maproute = { name : 'runtrackerroute', points : [{ latitude : 42.3353, longitude : -71.1715 }, { latitude : 42.3355, longitude : -71.1725 }, { latitude : 42.3359, longitude : -71.1735 }], color : 'blue', width : 4 }; var map = Titanium.Map.createView({ mapType : Titanium.Map.STANDARD_TYPE, region : { latitude : 42.3366, longitude : -71.1689, latitudeDelta : 0.01, longitudeDelta : 0.01 } }); map.addRoute(maproute); function UpdateMapRoute(lat, lon) { //remove route map.removeRoute(maproute); //add new points maproute.points.push({ 'latitude' : lat, 'longitude' : lon }); //add route map.addRoute(maproute); map.setLocation({ latitude : lat, longitude : lon, animate : true, latitudeDelta : 0.001, longitudeDelta : 0.004 }); } var lat = 42.3359; var lon = -71.1735; setInterval(function(){ UpdateMapRoute(lat,lon); lat = lat + .002; lon = lon + .002; },500); win.add(map); win.open(); {code}

    Appcelerator JIRA | 4 years ago | Andrew Royce
    java.util.ConcurrentModificationException
  3. 0

    Concurrent Modification Exception in map overlays

    Stack Overflow | 4 years ago | ayansinha
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android MapView JSON Array Adding Array of points

    Stack Overflow | 5 years ago | Brandon Wilson
    java.util.ConcurrentModificationException
  6. 0

    java.util.ConcurrentModificationException On MapView

    Stack Overflow | 5 years ago | CapDroid
    java.util.ConcurrentModificationException

  1. franky li 1 times, last 1 month ago
  2. Benny 2 times, last 4 months ago
  3. asvid 20 times, last 4 months ago
  4. Stefan Braune 2 times, last 4 months ago
  5. Ranjana Dangol 2 times, last 5 months ago
3 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ConcurrentModificationException

    No message provided

    at java.util.ArrayList$ArrayListIterator.next()
  2. Java RT
    ArrayList$ArrayListIterator.next
    1. java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576)
    1 frame
  3. Robolectric
    MapView.onDraw
    1. com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41)
    2. com.google.android.maps.MapView.onDraw(MapView.java:530)
    2 frames
  4. Android Platform
    ViewGroup.dispatchDraw
    1. android.view.View.draw(View.java:6902)
    2. android.view.ViewGroup.drawChild(ViewGroup.java:1646)
    3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    3 frames
  5. org.appcelerator.titanium
    TiCompositeLayout.dispatchDraw
    1. org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655)
    1 frame
  6. Android Platform
    ViewGroup.dispatchDraw
    1. android.view.View.draw(View.java:6905)
    2. android.view.ViewGroup.drawChild(ViewGroup.java:1646)
    3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    3 frames
  7. org.appcelerator.titanium
    TiCompositeLayout.dispatchDraw
    1. org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655)
    1 frame
  8. Android Platform
    FrameLayout.draw
    1. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    2. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    3. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    4. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    5. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    7. android.view.View.draw(View.java:6905)
    8. android.widget.FrameLayout.draw(FrameLayout.java:357)
    8 frames
  9. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957)
    1 frame
  10. Android Platform
    ViewGroup.dispatchDraw
    1. android.view.ViewGroup.drawChild(ViewGroup.java:1646)
    2. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    3. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    4. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    5. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    7. android.view.View.draw(View.java:6905)
    8. android.widget.FrameLayout.draw(FrameLayout.java:357)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:1646)
    10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    10 frames
  11. org.appcelerator.titanium
    TiCompositeLayout.dispatchDraw
    1. org.appcelerator.titanium.view.TiCompositeLayout.dispatchDraw(TiCompositeLayout.java:655)
    1 frame
  12. Android Platform
    FrameLayout.draw
    1. android.view.ViewGroup.drawChild(ViewGroup.java:1644)
    2. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    3. android.view.View.draw(View.java:6905)
    4. android.widget.FrameLayout.draw(FrameLayout.java:357)
    5. android.view.ViewGroup.drawChild(ViewGroup.java:1646)
    6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
    7. android.view.View.draw(View.java:6905)
    8. android.widget.FrameLayout.draw(FrameLayout.java:357)
    8 frames
  13. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1957)
    1 frame
  14. Android Platform
    ActivityThread.main
    1. android.view.ViewRoot.draw(ViewRoot.java:1554)
    2. android.view.ViewRoot.performTraversals(ViewRoot.java:1263)
    3. android.view.ViewRoot.handleMessage(ViewRoot.java:1892)
    4. android.os.Handler.dispatchMessage(Handler.java:99)
    5. android.os.Looper.loop(Looper.java:130)
    6. android.app.ActivityThread.main(ActivityThread.java:3835)
    6 frames
  15. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  16. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
    2 frames
  17. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame