{ "id": "76397", "key": "AC-3058", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-08-06T10:09:36.000+0000", "created": "2011-06-15T00:26:47.000+0000", "labels": [ "1.7.0", "Android", "close", "exception", "nullpointer", "open", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:06.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "After that I updated the SDK to the final release 1.7.0 of monday (13th June), there is an issue with the tableView..\r\n\r\nI have a window which contains a tableView with one single tableViewRow (with a label...)\r\n\r\nOn Android (2.2) when I open this window, and close it afterwards, and I do this again (so back to back 2 open & close), and then I open the window for the 3rd time, the application gets a NullPointer Exception.\r\n\r\nHere is how I open the window : \r\n\r\n{code:title=in app.js|borderStyle=solid}\r\nvar viewListWindow = Ti.UI.createWindow(\r\n{\r\n url : 'listView.js',\r\n title : 'list',\r\n backgroundColor : '#75587E' \r\n});\r\n \r\n \r\nvar openListButton = Ti.UI.createButton(\r\n{\r\n title : 'open list Window',\r\n width : 200,\r\n height : 50,\r\n top : 100\r\n});\r\n \r\nopenListButton.addEventListener(\"click\", function(e)\r\n{\r\n viewListWindow.open();\r\n});\r\n{code}\r\n\r\nAnd I close it using the *\"physical\"* back button in Android.\r\n\r\nHere are the pasties for the code I used (window with the table view) : [listView.js|http://pastie.org/private/puwygigdqdczraznhvegq]\r\n\r\nHere is the Stack trace for the exception : [NullPointer Stacktrace|http://pastie.org/private/uhjtvxzz8i8mpseqvtekw]", "attachment": [], "flagged": false, "summary": "Android Tableview open & close back to back launch NullPointerException", "creator": { "name": "abbdoul", "key": "abbdoul", "displayName": "Abbdoul", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "abbdoul", "key": "abbdoul", "displayName": "Abbdoul", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X Snow Leopard (10.6.7), Mobile SDK 1.7.0 (final release of 13th June 2011), Android version 2.2", "comment": { "comments": [ { "id": "156787", "author": { "name": "abbdoul", "key": "abbdoul", "displayName": "Abbdoul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB bug, but cannot create an issue choosing Titanium Mobile as project ?!...", "updateAuthor": { "name": "abbdoul", "key": "abbdoul", "displayName": "Abbdoul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-15T02:58:53.000+0000", "updated": "2011-06-15T02:58:53.000+0000" }, { "id": "160402", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Abbdoul\r\n\r\nIn order for us to progress this issue, we need a usecase that runs without modification. Please correct your script and add it as a code block to the main body of this ticket. Also, please provide the build date and hash of the latest Titanium SDK you have tried (preferably 1.7.2, or the latest 1.7.X [continuous build|http://wiki.appcelerator.org/display/guides/Continuous+Builds]).\r\n\r\nThe guidelines for creating tickets can be found at [Submitting Bug Reports|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports].\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-23T07:50:23.000+0000", "updated": "2011-07-23T07:50:23.000+0000" }, { "id": "162076", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "No response from user.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-06T10:09:36.000+0000", "updated": "2011-08-06T10:09:36.000+0000" }, { "id": "168222", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-07T05:47:56.000+0000", "updated": "2011-10-07T05:47:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }