{ "id": "82495", "key": "TIMOB-6087", "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": "12088", "description": "", "name": "Sprint 2011-48", "archived": true, "released": true, "releaseDate": "2011-12-05" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-30T15:33:25.000+0000", "created": "2011-11-08T11:36:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "branch-v8" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "14007", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "82114", "key": "TIMOB-5905", "fields": { "summary": "Android: Integrate latest official Facebook Android SDK", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-06-19T12:43:15.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": "Description:\r\nThis test crashes for me reliably on the Galaxy Tab 10.1. On the Nexus S, it crashed once out of 3 times. Console output:\r\n\r\nE/TiApplication( 2399): (KrollRuntimeThread) [1362,50228] Sending event: exception on thread: KrollRuntimeThread msg:android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40a5e5b0 is not valid; is your activity running?; Titanium 1.8.0.1,2011/11/08 10:56,31f6a70\r\nE/TiApplication( 2399): android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40a5e5b0 is not valid; is your activity running?\r\nE/TiApplication( 2399): \tat android.view.ViewRoot.setView(ViewRoot.java:448)\r\nE/TiApplication( 2399): \tat android.view.WindowManagerImpl.addView(WindowManagerImpl.java:181)\r\nE/TiApplication( 2399): \tat android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95)\r\nE/TiApplication( 2399): \tat android.view.Window$LocalWindowManager.addView(Window.java:526)\r\nE/TiApplication( 2399): \tat android.app.Dialog.show(Dialog.java:269)\r\nE/TiApplication( 2399): \tat com.facebook.android.FbDialog$FbWebViewClient.onPageStarted(FbDialog.java:196)\r\nE/TiApplication( 2399): \tat android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:267)\r\nE/TiApplication( 2399): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\nE/TiApplication( 2399): \tat android.os.Looper.loop(Looper.java:132)\r\nE/TiApplication( 2399): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(Unknown Source)\r\nW/WindowManager( 291): Attempted to add application window with unknown token ActivityRecord{418f1900 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity}. Aborting.\r\nE/AndroidRuntime( 2399): FATAL EXCEPTION: KrollRuntimeThread\r\nE/AndroidRuntime( 2399): android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40a5e5b0 is not valid; is your activity running?\r\nE/AndroidRuntime( 2399): \tat android.view.ViewRoot.setView(ViewRoot.java:448)\r\nE/AndroidRuntime( 2399): \tat android.view.WindowManagerImpl.addView(WindowManagerImpl.java:181)\r\nE/AndroidRuntime( 2399): \tat android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95)\r\nE/AndroidRuntime( 2399): \tat android.view.Window$LocalWindowManager.addView(Window.java:526)\r\nE/AndroidRuntime( 2399): \tat android.app.Dialog.show(Dialog.java:269)\r\nE/AndroidRuntime( 2399): \tat com.facebook.android.FbDialog$FbWebViewClient.onPageStarted(FbDialog.java:196)\r\nE/AndroidRuntime( 2399): \tat android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:267)\r\nE/AndroidRuntime( 2399): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\nE/AndroidRuntime( 2399): \tat android.os.Looper.loop(Looper.java:132)\r\nE/AndroidRuntime( 2399): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(Unknown Source)\r\nW/ActivityManager( 291): Force finishing activity com.appcelerator.titanium/org.appcelerator.titanium.TiActivity\r\nE/android.os.Debug( 291): Dumpstate > /data/log/dumpstate_app_error\r\n\r\nSteps to reproduce:\r\n1) Install KS on device\r\n2) Navigate to Mashups>Facebook>Publish stream\r\n3) Click \"Publish wall post with dialog\"\r\n\r\nResult:\r\nApp crashes\r\n\r\nExpected:\r\nDialog with post details displayed\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Facebook: v8 only: Publish stream, wall post with dialog sometimes crashes ", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 1.8.0.1.v20111108105548, Titanium Studio, build: 1.0.7.201111061615, Nexus S (2.3.6), Galaxy 10.1 Tab (3.1) v8 compiler", "comment": { "comments": [ { "id": "174211", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/782", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-11-29T13:21:28.000+0000", "updated": "2011-11-29T13:21:28.000+0000" }, { "id": "175308", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111207090257\r\nXoom (3.2.1) - v8\r\nSamsung Tab 10.1 (3.1) - rhino", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T17:13:42.000+0000", "updated": "2011-12-07T17:13:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }