{ "id": "63554", "key": "TIMOB-2922", "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": "11240", "name": "Release 1.6.0 M07", "archived": true, "released": true, "releaseDate": "2011-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:27.000+0000", "created": "2011-04-15T03:33:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "release-1.6.0", "reported-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T02:00:27.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}

Found in: #e1cb22a

\n
    \n
  1. Mashup > Facebook > Login/Logout
  2. \n
  3. Login
  4. \n
  5. Press back button
  6. \n
  7. Login/Logout
  8. \n
  9. Press Logout
  10. \n
\n
\nI/ActivityManager(   85): Displayed activity com.appcelerator.titanium/org.appcelerator.titanium.TiActivity: 234 ms (total 234 ms)\nD/KrollContext( 2004): (kroll$15) [1207,222604] Running evaluated script: app://examples/facebook_login_logout.js\nD/dalvikvm( 2004): GC_FOR_MALLOC freed 25979 objects / 4384184 bytes in 71ms\nD/LoginButtonProxy( 2004): (kroll$15) [99,222703] Second constructor called\nD/Facebook-Util( 2004): GET URL: https://api.facebook.com/restserver.php?access_token=134793934930%7C0e5b712c915b0558ffc8b434-712472015%7ClUYHI9lZmgT2491I1vvVrnXabL8&method=auth.expireSession&format=json\nE/TiUIView( 2004): (main) [991,223694] TAP, TAP, TAP on [Ti.TiFacebookModuleLoginButton]\nW/dalvikvm( 2004): threadid=28: thread exiting with uncaught exception (group=0x4001d7f0)\nE/TiUncaughtHandler( 2004): (Thread-61) [280,223974] Sending event: exception on thread: Thread-61 msg:java.lang.NullPointerException; Titanium 1.6.0,2011/01/24 09:44,1cb22a\nE/TiUncaughtHandler( 2004): java.lang.NullPointerException\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.LoginButton.updateButtonImage(LoginButton.java:94)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.LoginButton$4.logout(LoginButton.java:136)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.FacebookModule.fireLoginChange(FacebookModule.java:417)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.FacebookModule.completeLogout(FacebookModule.java:313)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.SessionListener.onLogoutFinish(SessionListener.java:37)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.SessionEvents.onLogoutFinish(SessionEvents.java:115)\nE/TiUncaughtHandler( 2004):   at ti.modules.titanium.facebook.FacebookModule$LogoutRequestListener.onComplete(FacebookModule.java:450)\nE/TiUncaughtHandler( 2004):   at com.facebook.android.AsyncFacebookRunner$1.run(AsyncFacebookRunner.java:82)\nD/TiApplication( 2004): (Thread-61) [13,223987] Analytics Event: type=\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Facebook Module NPE on Logout", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129719", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [5c05db961b8fb19e61f8a98f45e08ab0779dd6c3])\n[#2922 state:fixed-in-qa] Cleanup Facebook\nsession state listeners orphaned by a torn down login button so\nthey don't go all wild and start firin' outta turn and what not.\n\nhttps://github.com/appcelerator/titanium_mobile/commit/5c05db961b8f...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:33:00.000+0000", "updated": "2011-04-15T03:33:00.000+0000" }, { "id": "129720", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

verified working on Nexus S / 2.3.2

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:33:01.000+0000", "updated": "2011-04-15T03:33:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }