[TIMOB-704] Android TableView Crashes with height 'auto'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.2.0 |
Components | Android |
Labels | android, defect |
Reporter | Dan Mullineux |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:34:50.000+0000 |
Updated | 2011-04-17T01:53:58.000+0000 |
Description
KS layout_2
SDK - head pull from a couple of days ago - Tue Mar 30
As layout_2 example gets drawn you get a stopped responding - force close error.
I also get this in my app - in fact I get a force close with an explicit height set, when the orientation changes from
I just ran Views > Table View > Table View (Layout 2) locally, it seems to be running (albeit a bit slowly). Do you have a trace that you can attach?
Ah, did you set height: 'auto'
the crash is clear, sorry didnt think to check the trace....
[TRACE] E/TiUncaughtHandler( 237): (main) [5,31321] Sending event: exception on thread: main msg:java.lang.NumberFormatException: unable to parse 'auto' as integer
in...
TiTableViewRowProxyItem
line 124
I cant get the trace when my app stops on orientation change can I?
You can use
adb [-d | -e] logcat
it'll dump the latest stuff.of course - the orientation change crash is seperate from this defect - I'll raise another defect for that
See this http://developer.appcelerator.com/question/11231/auto-height-bug-in-113"> Q&A too.
(from [f99ae3e57158d849d17ab62b3e03dddd5ab35dcd]) fallback to default for row "auto" height [#704 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/f99ae3e57158d849d17ab62b3e03dddd5ab35dcd"> http://github.com/appcelerator/titanium_mobile/commit/f99ae3e57158d...