[AC-3058] Android Tableview open & close back to back launch NullPointerException
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-08-06T10:09:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | 1.7.0, Android, close, exception, nullpointer, open, tableview |
Reporter | Abbdoul |
Assignee | Tony Guntharp |
Created | 2011-06-15T00:26:47.000+0000 |
Updated | 2016-03-08T07:48:06.000+0000 |
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..
I have a window which contains a tableView with one single tableViewRow (with a label...)
On 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.
Here is how I open the window :
var viewListWindow = Ti.UI.createWindow(
{
url : 'listView.js',
title : 'list',
backgroundColor : '#75587E'
});
var openListButton = Ti.UI.createButton(
{
title : 'open list Window',
width : 200,
height : 50,
top : 100
});
openListButton.addEventListener("click", function(e)
{
viewListWindow.open();
});
And I close it using the *"physical"* back button in Android.
Here are the pasties for the code I used (window with the table view) : [listView.js](http://pastie.org/private/puwygigdqdczraznhvegq)
Here is the Stack trace for the exception : [NullPointer Stacktrace](http://pastie.org/private/uhjtvxzz8i8mpseqvtekw)
TIMOB bug, but cannot create an issue choosing Titanium Mobile as project ?!...
Abbdoul In 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)). The guidelines for creating tickets can be found at [Submitting Bug Reports](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports). Thanks
No response from user.
Closing due to inactivity.