{ "id": "63233", "key": "TIMOB-2601", "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": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:34.000+0000", "created": "2011-04-15T03:24:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "kroll", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:34.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}

Reproduce

\n\n
\nE/KrollContext( 4552): (kroll$1) [11,317] ECMA Error evaluating source: TypeError: Cannot read property \"version\" from undefined (app://app.js#9)\nE/KrollContext( 4552): org.mozilla.javascript.EcmaError: TypeError: Cannot read property \"version\" from undefined (app://app.js#9)\nE/KrollContext( 4552):  at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)\nE/KrollContext( 4552):  at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)\nE/KrollContext( 4552):  at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)\n(etc)\n
\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Adding code that calls Titanium.Platform requires full rebuild", "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": "128932", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

cf #2475 as well -- user seems to have had same\nproblem and fixed by touching tiapp.xml.

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

cf http://developer.appcelerator.com/helpdesk/view/60961

\n

Customer is reporting that app built with \"Distribute\" (which, i\nbelieve, does a full rebuild), also exhibits this problem.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:24:08.000+0000", "updated": "2011-04-15T03:24:08.000+0000" }, { "id": "128934", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [681f5403fe6b5fe4a582fdc672882445f079cd96])\nrun android.create when a JS file is changed, in case new modules\nare detected and source needs to be generated in the App.java\n[#2601
\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/681f5403fe6b...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:08.000+0000", "updated": "2011-04-15T03:24:08.000+0000" }, { "id": "128935", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [6f51f9891c23e670591df1545bf4cdfb5e15f9a3])\nrun android.create when a JS file is changed, in case new modules\nare detected and source needs to be generated in the App.java\n[#2601
\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/6f51f9891c23...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:08.000+0000", "updated": "2011-04-15T03:24:08.000+0000" }, { "id": "128936", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (01/10/11\n08:25 3452f06)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:08.000+0000", "updated": "2011-04-15T03:24:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }