{ "id": "61336", "key": "TIMOB-704", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11222", "name": "Release 1.2.0", "archived": true, "released": true, "releaseDate": "2010-04-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:58.000+0000", "created": "2011-04-15T02:34:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:58.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

KS layout_2
\nSDK - head pull from a couple of days ago - Tue Mar 30

\n

As layout_2 example gets drawn you get a stopped responding -\nforce close error.

\n

I also get this in my app - in fact I get a force close with an\nexplicit height set, when the orientation changes from

{html}", "attachment": [], "flagged": false, "summary": "Android TableView Crashes with height 'auto'", "creator": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123856", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I just ran Views > Table View > Table View (Layout 2)\nlocally, it seems to be running (albeit a bit slowly). Do you have\na trace that you can attach?

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123857", "author": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Ah, did you set height: 'auto'

\n

the crash is clear, sorry didnt think to check the trace....

\n

[TRACE] E/TiUncaughtHandler( 237): (main)\n[5,31321] Sending event: exception on thread: main\nmsg:java.lang.NumberFormatException: unable to parse 'auto' as\ninteger

\n

in...
\nTiTableViewRowProxyItem
\nline 124

{html}", "updateAuthor": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123858", "author": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I cant get the trace when my app stops on orientation change can\nI?

{html}", "updateAuthor": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123859", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

You can use adb [-d | -e] logcat it'll dump the\nlatest stuff.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123860", "author": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

of course - the orientation change crash is seperate from this\ndefect - I'll raise another defect for that

{html}", "updateAuthor": { "name": "danmullineux", "key": "danmullineux", "displayName": "Dan Mullineux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123861", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

See this \nQ&A too.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:51.000+0000", "updated": "2011-04-15T02:34:51.000+0000" }, { "id": "123862", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [f99ae3e57158d849d17ab62b3e03dddd5ab35dcd])\nfallback to default for row \"auto\" height [#704\nstate:resolved] \nhttp://github.com/appcelerator/titanium_mobile/commit/f99ae3e57158d...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:52.000+0000", "updated": "2011-04-15T02:34:52.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }