{ "id": "62972", "key": "TIMOB-2340", "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": "11226", "name": "Release 1.5.0 M01", "archived": true, "released": true, "releaseDate": "2010-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:49.000+0000", "created": "2011-04-15T03:17:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:58:49.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}
Can reproduce it by adding a tableview that only has its\ntop
property set (have to set at least one arg during\ncreation, but if you don't set data
then crash\nhappens). Simple app.js failcase:
\nTi.UI.createTableView({top:0});
\n
\nException snippet:
\n\nE/KrollContext( 316): Caused by: java.lang.ClassCastException: org.mozilla.javascript.UniqueTag\nE/KrollContext( 316): at ti.modules.titanium.ui.TableViewProxy.handleCreationDict(TableViewProxy.java:65)\nE/KrollContext( 316): at org.appcelerator.kroll.KrollProxy.handleCreationArgs(KrollProxy.java:401)\nE/KrollContext( 316): at org.appcelerator.kroll.util.KrollBindingUtils$1.invoke(KrollBindingUtils.java:75)
\n
I'm in the middle of looking at #2065\n(tableview .setData prob) so I'll have a stab at this\nimmediately.
(from [ef7ff3152518d73b83e4aa93c95e7ca231e65819])\n[#2340 state:fixed-in-qa] Check for 'data' key in\ndictionary before accessing it. \nhttps://github.com/appcelerator/titanium_mobile/commit/ef7ff3152518...
pass verify android sim 1.6/2.1 Titanium SDK version: 1.5.0\n(11/27/10 10:50 aeb004c)