{ "id": "62176", "key": "TIMOB-1544", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11226", "name": "Release 1.5.0 M01", "archived": true, "released": true, "releaseDate": "2010-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:28.000+0000", "created": "2011-04-15T02:55:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:56:28.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
See also helpdesk ticket 35861. Appears to be concurrency\nproblem in TiContext's lifecycleListeners
list.\nRelevant portion of trace:
\nE/TiUncaughtHandler( 2291): (main) [11,1437] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to pause activity {com.xxxx.XxxxMobile/com.xxxx.XxxxMobile.GetxxxxActivity}: java.util.ConcurrentModificationException\nE/TiUncaughtHandler( 2291): java.lang.RuntimeException: Unable to pause activity {com.xxxx.XxxxMobile/com.xxxx.XxxxMobile.GetxxxxActivity}: java.util.ConcurrentModificationException\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3567)\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3524)\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3507)\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread.access$2500(ActivityThread.java:135)\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2143)\nE/TiUncaughtHandler( 2291): at android.os.Handler.dispatchMessage(Handler.java:99)\nE/TiUncaughtHandler( 2291): at android.os.Looper.loop(Looper.java:144)\nE/TiUncaughtHandler( 2291): at android.app.ActivityThread.main(ActivityThread.java:4937)\nE/TiUncaughtHandler( 2291): at java.lang.reflect.Method.invokeNative(Native Method)\nE/TiUncaughtHandler( 2291): at java.lang.reflect.Method.invoke(Method.java:521)\nE/TiUncaughtHandler( 2291): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)\nE/TiUncaughtHandler( 2291): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)\nE/TiUncaughtHandler( 2291): at dalvik.system.NativeStart.main(Native Method)\nE/TiUncaughtHandler( 2291): Caused by: java.util.ConcurrentModificationException\nE/TiUncaughtHandler( 2291): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
\n
(from [dcf2e8e31524d85c8a75045b31bcd30262304ccf])\n[#1544 state:open] Try to avoid concurrency\nproblem with lifecycleListener list by synchronizing. \nhttp://github.com/appcelerator/titanium_mobile/commit/dcf2e8e31524d...
Bump, checking to see if we can mark this as fixed?
Closing as resolved because ...
\na) We couldn't reproduce it at will here;
\nb) I modified lifecycleListeners (made it a synchronized list) to\nhelp avoid concurrency issues;
\nc) The bigger underlying problem was conquered in #1545.