{ "id": "88949", "key": "TIMOB-8327", "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": "13417", "description": "Sprint 2012-13 API", "name": "Sprint 2012-13 API", "archived": true, "released": true, "releaseDate": "2012-07-01" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-26T16:40:04.000+0000", "created": "2012-03-27T11:00:22.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-and031912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-14T16:30:00.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": "Steps to reproduce:\r\n1. Import and install KS from 1_8_X branch or master branch\r\n2. Launch logcat\r\n3. Switch between the different tabs several times\r\n\r\nActual: \"Unable to release window reference.\" debug messages appear in logcat:\r\n{code:xml}\r\nI/TiAPI ( 4286): tab Controls prevTab = Phone\r\nI/TiAPI ( 4286): tab Base UI prevTab = Controls\r\nI/TiAPI ( 4286): tab blur - new index 0 old index 1\r\nW/dalvikvm( 4286): JNI: DeleteGlobalRef(0xda95e987) failed to find entry (valid=0)\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nI/TiAPI ( 4286): tab blur - new index 1 old index 0\r\nW/dalvikvm( 4286): JNI: DeleteGlobalRef(0xda9d339f) failed to find entry (valid=0)\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nD/Window ( 4286): Unable to release window reference.\r\nI/TiAPI ( 4286): tab Controls prevTab = Base UI\r\nI/TiAPI ( 4286): tab Platform prevTab = Controls\r\n{code}\r\n\r\nExpected: Should not generate debug messages.\r\n\r\nNote: Bug still appears in 1.8.2 build.\r\n", "attachment": [], "flagged": false, "summary": "Android: KS - Switching between tabs in KS generates the debug message \"Unable to release window reference.\" ", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK build: 1.8.2, 2.0.0.v20120326211803\r\nRuntime: v8, rhino\r\nTitanium Studio, build: 2.0.0.201203270923\r\nDevice: Droid 1 (2.2.3)", "comment": { "comments": [ { "id": "194179", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also exists window closure issues that seem related\r\n\r\nI/TiAPI ( 326): tab blur - new index 0 old index 1\r\nD/Window ( 326): unable to open, window is not closed\r\nI/TiAPI ( 326): tab Base UI prevTab = Controls\r\nI/TiAPI ( 326): tab Phone prevTab = Base UI\r\nD/Window ( 326): Unable to release window reference.\r\nD/Window ( 326): Unable to release window reference.\r\nD/Window ( 326): Unable to release window reference.\r\nD/Window ( 326): Unable to release window reference.\r\nD/Window ( 326): Unable to release window reference.\r\nD/Window ( 326): unable to close, window is not opened", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-08T14:17:25.000+0000", "updated": "2012-05-08T14:17:25.000+0000" }, { "id": "198759", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Got a solution for this pending. Will have a PR to resolve this once TIMOB-9487 is fixed.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-15T14:20:41.000+0000", "updated": "2012-06-15T14:20:41.000+0000" }, { "id": "199843", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please check for memory leak regressions with the test cases from TIMOB-7409.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-22T16:04:24.000+0000", "updated": "2012-06-22T16:04:24.000+0000" }, { "id": "199844", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created [PR #2459|https://github.com/appcelerator/titanium_mobile/pull/2459] to resolve issue.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-22T16:07:10.000+0000", "updated": "2012-06-22T16:07:10.000+0000" }, { "id": "214483", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with :\r\nMobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\nGalaxy S III Android version 4.0.4\r\n", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T16:28:48.000+0000", "updated": "2012-08-14T16:28:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }