{ "id": "82686", "key": "TIMOB-6166", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-08-01T01:04:43.000+0000", "created": "2011-11-14T12:19:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "module_simulator", "qe-S20111114", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "13859", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "82684", "key": "TISTUD-796", "fields": { "summary": "Titanium Studio: tiapp.xml - Bad ti.android.runtime value throws an exception when launching to Android emulator", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "17936", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "82684", "key": "TISTUD-796", "fields": { "summary": "Titanium Studio: tiapp.xml - Bad ti.android.runtime value throws an exception when launching to Android emulator", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-13T22:30:28.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": "1. Create a new TiMob project \r\n2. Navigate to TiApp Editor \r\n3. Next, click on the tiapp.xml tab \r\n4. Find the ti.android.runtime property and change the value to any value e.g. dsdif, dfj d234, $$^#@#$ etc \r\n5. Save changes \r\n6. Right-click on project and go to Run As > Android Emulator \r\n\r\nResult: Build exception is thrown. See attachment.\r\nExpected: Should be able to launch Android emulator and install to Android device even with bad Android property value\r\n\r\nNote: Same exception occurs when installing to Galaxy Tab 10.1, sdk 3.1", "attachment": [], "flagged": false, "summary": "Android: Tooling: tiapp.xml - Bad ti.android.runtime value throws an exception when launching to Android emulator", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.7.201111111956, TiMobile sdk: 1.8.0.1.v20111114093059, Mac OS X Lion", "comment": { "comments": [ { "id": "175607", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112080131\r\n
Ti Mob SDK 1.8.0.1.v20111209102124\r\n
OSX Lion\r\nAndroid emulator 2.2\r\n\r\nExpected behavior of application not crashing with bad runtime property is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T15:12:41.000+0000", "updated": "2011-12-09T15:12:41.000+0000" }, { "id": "178221", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to add label\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T15:20:22.000+0000", "updated": "2012-01-05T15:20:22.000+0000" }, { "id": "180578", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Expected Error when running on emulator:\r\n[ERROR] invalid runtime \"$$^#@#$o\" requested, must be 'v8' or 'rhino' \r\n\r\nWhen Running on Device Still get this error:\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.1.v20120124200134/android/builder.py\", line 2045, in \r\n[ERROR] s.build_and_run(True, avd_id, device_args=device_args)\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.1.v20120124200134/android/builder.py\", line 1804, in build_and_run\r\n[ERROR] include_all_modules=include_all_ti_modules)\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.1.v20120124200134/android/compiler.py\", line 57, in __init__\r\n[ERROR] for runtime_jar in self.depends_map['runtimes'][runtime]:\r\n[ERROR] KeyError: u'$$^#@#$o'\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-25T12:09:59.000+0000", "updated": "2012-01-25T12:09:59.000+0000" }, { "id": "181088", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should be fixed in both master and 1_8_X branches. Can you please verify against a recent CI build.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-30T12:34:02.000+0000", "updated": "2012-01-30T12:34:02.000+0000" }, { "id": "181487", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120202083136 on Mac 10.6.8", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T10:49:36.000+0000", "updated": "2012-02-02T10:49:36.000+0000" }, { "id": "199652", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-21T14:45:43.000+0000", "updated": "2012-06-21T14:45:43.000+0000" }, { "id": "199665", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This still occurs in SDK 2.1 when you use this tag:\r\n\r\n{code}\r\nvSFIAJ FISDJFIOS F\r\n{code}\r\n\r\nSDK: 2.1.0.v20120621132259\r\nOS: Snow Leopard\r\nStudio: 2.1.0.201206200844\r\nDevices Tested: Android Emulator 2.3.3", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-21T15:55:25.000+0000", "updated": "2012-06-21T15:55:25.000+0000" }, { "id": "264348", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "We no longer support the Rhino runtime and only support the v8 runtime, thus ti.android.runtime is no longer needed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-01T01:04:43.000+0000", "updated": "2013-08-01T01:04:43.000+0000" }, { "id": "266331", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as won't fix", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T22:30:28.000+0000", "updated": "2013-08-13T22:30:28.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }