Hi,
I have a fatal error with my application demo. My application is a
simple MapView that shows a track. In this track I have add proximity
alerts at interesting points. When an alert is launched it shows a
Toast with information of this interesting point.
The application works correctly the first time that I run it, but if I
go to the home screen and run the application or I run another time
the application from Eclipse, the emulator is restarted. In DDMS
perspective I see these errors when this happen:
.
.
.
DEBUG/dalvikvm(515): Exception Ljava/util/
ConcurrentModificationException; from HashMap.java:108 not caught
locally
WARN/dalvikvm(515): threadid=15: thread exiting with uncaught
exception (group=0x4000fdf8)
ERROR/AndroidRuntime(515): Uncaught handler: thread
android.server.ServerThread exiting due to uncaught exception
ERROR/AndroidRuntime(515): *** EXCEPTION IN SYSTEM PROCESS. System
will crash.
DEBUG/LocationManagerService(515): addProximityAlert: latitude =
37.9773, longitude = -1.13959, expiration = 43200000, intent = Intent
{ action=umem.uab.action.PROXIMITY_ALERT
categories={android.intent.category.DEFAULT}
extras=Bundle[{umem.uab.latitud=37.9773, umem.uab.descripcion=Avenida
de los Pinos, umem.uab.alerta_lanzada=false,
umem.uab.longitud=-1.13959, umem.uab.indice_alert=6}] }
DEBUG/LocationManagerService(515): loadProviders
DEBUG/LocationManagerService(515): loadProviders: already loaded
ERROR/AndroidRuntime(515): java.util.ConcurrentModificationException
ERROR/AndroidRuntime(515): at java.util.HashMap
$HashMapIterator.checkConcurrentMod(HashMap.java:108)
ERROR/AndroidRuntime(515): at java.util.HashMap
$HashMapIterator.next(HashMap.java:113)
ERROR/AndroidRuntime(515): at
android.server.LocationManagerService.handleLocationChanged(LocationManagerService.java:
821)
ERROR/AndroidRuntime(515): at android.server.LocationManagerService
$LocationWorkerHandler.handleMessage(LocationManagerService.java:860)
ERROR/AndroidRuntime(515): at
android.os.Handler.dispatchMessage(Handler.java:80)
ERROR/AndroidRuntime(515): at android.os.Looper.loop(Looper.java:
91)
ERROR/AndroidRuntime(515): at
android.server.ServerThread.run(SystemServer.java:259)
.
.
.
I see that occurs a ConcurrentModificationException but I don't know
where is the cause of the problem.
There is somebody that knows when / why this exception happens?.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---