{ "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:

\n
\nTi.UI.createTableView({top:0});\n
\n

Exception 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
{html}", "attachment": [], "flagged": false, "summary": "Android: org.mozilla.javascript.UniqueTag Exception crashes app", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128208", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

I'm in the middle of looking at #2065\n(tableview .setData prob) so I'll have a stab at this\nimmediately.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:17:10.000+0000", "updated": "2011-04-15T03:17:10.000+0000" }, { "id": "128209", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:17:10.000+0000", "updated": "2011-04-15T03:17:10.000+0000" }, { "id": "128210", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

pass verify android sim 1.6/2.1 Titanium SDK version: 1.5.0\n(11/27/10 10:50 aeb004c)

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:17:11.000+0000", "updated": "2011-04-15T03:17:11.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }