posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

App Crashes When Loading Hundreds of Edits #47

Closed hallahan closed 9 years ago

hallahan commented 9 years ago

Probably a thread problem. Probably somewhere in OSMMapBuilder.java

hallahan commented 9 years ago

Finding exceptions being thrown:

03-26 01:27:45.018  24095-25391/org.redcross.openmapkit W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
03-26 01:27:45.018  24095-25391/org.redcross.openmapkit W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
03-26 01:27:45.018  24095-25393/org.redcross.openmapkit W/System.err﹕ java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
03-26 01:27:45.018  24095-25393/org.redcross.openmapkit W/System.err﹕ at com.spatialdev.osm.model.JTSModel.mergeEditedOSMDataSet(JTSModel.java:49)
03-26 01:27:45.018  24095-25393/org.redcross.openmapkit W/System.err﹕ at org.redcross.openmapkit.OSMMapBuilder.doInBackground(OSMMapBuilder.java:125)
03-26 01:27:45.018  24095-25393/org.redcross.openmapkit W/System.err﹕ at org.redcross.openmapkit.OSMMapBuilder.doInBackground(OSMMapBuilder.java:35)

Something funky with threads removing old ways from existing data set.

hallahan commented 9 years ago

Progress bar sometimes halts and is saying "Parsing 141 of 1 OSM XML files."

hallahan commented 9 years ago

Still getting this sometimes:

wrong