[TIMOB-6247] Android UI/ UI drillbit tests fail when on tablet when screen is off
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-07T02:17:37.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-49, Release 1.8.0.1 |
Components | Android |
Labels | branch-v8 |
Reporter | Allen Yeung |
Assignee | Ping Wang |
Created | 2011-11-21T00:13:55.000+0000 |
Updated | 2011-12-19T11:28:40.000+0000 |
Description
UI / Android UI drillbit tests are failing in Rhino when the screen is off. The following error shows up:
E/TiApplication(20896): (main) [2166,4798] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 1.8.0.1,2011/11/20 22:58,673fe51
E/TiApplication(20896): java.lang.NullPointerException
E/TiApplication(20896): at android.view.ViewConfiguration.get(ViewConfiguration.java:262)
E/TiApplication(20896): at android.view.View.<init>(View.java:2380)
E/TiApplication(20896): at android.view.View.<init>(View.java:2423)
E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:474)
E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:467)
E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:462)
E/TiApplication(20896): at ti.modules.titanium.ui.widget.TiUILabel.<init>(TiUILabel.java:39)
E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.refreshOldStyleRow(TiTableViewRowProxyItem.java:181)
E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:282)
E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:84)
E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:210)
E/TiApplication(20896): at android.widget.AbsListView.obtainView(AbsListView.java:2146)
E/TiApplication(20896): at android.widget.ListView.makeAndAddView(ListView.java:1791)
E/TiApplication(20896): at android.widget.ListView.fillDown(ListView.java:689)
E/TiApplication(20896): at android.widget.ListView.fillSpecific(ListView.java:1347)
E/TiApplication(20896): at android.widget.ListView.layoutChildren(ListView.java:1620)
E/TiApplication(20896): at android.widget.AbsListView.onLayout(AbsListView.java:1976)
E/TiApplication(20896): at android.view.View.layout(View.java:9593)
E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/TiApplication(20896): at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/TiApplication(20896): at android.view.View.layout(View.java:9593)
E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390)
E/TiApplication(20896): at android.view.View.layout(View.java:9593)
E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390)
E/TiApplication(20896): at android.view.View.layout(View.java:9593)
The two UI tests, appendRowWithHeader_as_async and appendRowAsArray, crash on both rhino and v8 when screen is off. The error stack is:
Tested with version=1.8.0.1 timestamp=12/07/11 13:33 githash=7954783 v8/rhino Samsung Galaxy Tab 10.1 (3.1)