[TIMOB-4485] Android: Tabbed windows with backgroundColor property crash app with NPE
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-06-22T17:16:57.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Sprint 2011-25, Release 1.7.2, Release 1.8.0 |
Components | Android |
Labels | n/a |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-06-22T16:14:03.000+0000 |
Updated | 2011-07-06T09:49:41.000+0000 |
Description
Caused by commits for TIMOB-1529. This app.js will crash:
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
tabGroup.addTab(tab1);
tabGroup.open();
Reviewed, tested, merged.
merged onto 1_7_X
merged onto 1_7_X
Tested with Nexus S 2.3.4 and Nexus One 2.2.2 with 1.7.2.v20110630161836