{ "id": "60647", "key": "TIMOB-15", "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": "11210", "name": "Release 0.6.0", "archived": true, "released": true, "releaseDate": "2009-08-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:50:07.000+0000", "created": "2011-04-15T02:22:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "tabbed" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:50:07.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}

Assigned to \nTender issue #14. Showing an AlertDialog in a tabbed container\nis failing due to not selecting the correct context.

\n

E/AndroidRuntime( 472): Uncaught handler: thread\nWebViewCoreThread exiting due to uncaught exception
\nE/AndroidRuntime( 472):\nandroid.view.WindowManager$BadTokenException: Unable to add window\n-- token\nandroid.app.LocalActivityManager$LocalActivityRecord@43540398 is\nnot valid; is your activity running?
\nE/AndroidRuntime( 472): at\nandroid.view.ViewRoot.setView(ViewRoot.java:425)
\nE/AndroidRuntime( 472): at\nandroid.view.WindowManagerImpl.addView(WindowManagerImpl.java:178)
\nE/AndroidRuntime( 472): at\nandroid.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
\nE/AndroidRuntime( 472): at\nandroid.view.Window$LocalWindowManager.addView(Window.java:392)
\nE/AndroidRuntime( 472): at\nandroid.app.Dialog.show(Dialog.java:231)
\nE/AndroidRuntime( 472): at\norg.appcelerator.titanium.module.ui.TitaniumDialog.show(TitaniumDialog.java:107)
\nE/AndroidRuntime( 472): at\nandroid.webkit.WebViewCore.nativeTouchUp(Native Method)
\nE/AndroidRuntime( 472): at\nandroid.webkit.WebViewCore.nativeTouchUp(Native Method)
\nE/AndroidRuntime( 472): at\nandroid.webkit.WebViewCore.access$2400(WebViewCore.java:42)
\nE/AndroidRuntime( 472): at\nandroid.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:850)
\nE/AndroidRuntime( 472): at\nandroid.os.Handler.dispatchMessage(Handler.java:99)
\nE/AndroidRuntime( 472): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/AndroidRuntime( 472): at\nandroid.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:462)
\nE/AndroidRuntime( 472): at\njava.lang.Thread.run(Thread.java:1058)

{html}", "attachment": [], "flagged": false, "summary": "Via Tender: Force close on Android with simple dialogue", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }