{ "id": "127189", "key": "TIMOB-16553", "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": "15931", "description": "2014 Sprint 05", "name": "2014 Sprint 05", "archived": true, "released": true, "releaseDate": "2014-03-14" }, { "id": "15934", "description": "2014 Sprint 05 Tooling", "name": "2014 Sprint 05 Tooling", "archived": true, "released": true, "releaseDate": "2014-03-14" }, { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-05T19:32:05.000+0000", "created": "2014-03-05T18:33:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.2", "qe-testadded" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-26T14:37:44.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" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nUpdating to the latest Android tool set causes the 'ti info' command to fail\r\n\r\nh5.Steps To Reproduce\r\n1. Install the latest Android tool set (SDK Tools, build-tools, platform-tools)\r\n2. Run 'ti info'\r\n\r\nh5.Expected Result\r\nShould display all information without throwing an error\r\n\r\nh5.Actual Error\r\n{code}\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Cannot call method 'join' of undefined\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:82:77\r\n at Array.forEach (native)\r\n at exports.render (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:64:29)\r\n at /usr/local/lib/node_modules/titanium/lib/commands/info.js:613:14\r\n at Array.forEach (native)\r\n at /usr/local/lib/node_modules/titanium/lib/commands/info.js:607:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:232:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17\r\n---------------------------------------------\r\n at Readable.on (_stream_readable.js:689:33)\r\n at Connection.exec (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/adb.js:114:9)\r\n at ADB.devices (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/adb.js:362:23)\r\n at Object.detectDevices (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/detect.js:60:18)\r\n at Section. (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/android/cli/lib/info.js:25:7)\r\n at finalize (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:313:4)\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:681:5\r\n at ChildProcess. (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:60:3)\r\n---------------------------------------------\r\n at run (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:453:4\r\n at getRealName (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:124:10)\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/android.js:450:3\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:533:17\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:119:25\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:24:16\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:530:21\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Android build-tools v19.0.3 causes 'ti info' to throw an error", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.2\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK, build: 3.2.2.v20140221161255\r\nCLI: 3.2.1\r\nAlloy: 1.3.1\r\nAndroid SDK Tools: 22.6\r\nAndroid Platform Tools: 19.0.1\r\nAndroid Build Tools: 19.0.3", "comment": { "comments": [ { "id": "295787", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5430\n3_2_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5431\n3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5432", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-05T19:12:06.000+0000", "updated": "2014-03-05T19:12:06.000+0000" }, { "id": "295853", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9.2\nAppcelerator Studio, build: 3.2.1.201402061120\nTitanium SDK, build: 3.2.2.v20140305122111\nCLI: 3.2.1\nAlloy: 1.3.1\nAndroid SDK Tools: 22.6\nAndroid Platform Tools: 19.0.1\nAndroid Build Tools: 19.0.3\n\nti info displays correctly\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-06T00:33:46.000+0000", "updated": "2014-03-06T00:33:46.000+0000" }, { "id": "320356", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm getting the same error in CLI 3.3.0. Perhaps I'm using an incompatible combination of tools/platform tools/build tools?\r\n\r\nMac OSX 10.8.5\r\nTitanium SDK, build: 3.3.0.GA\r\nCLI: 3.3.0 \r\nAlloy: 1.4.1 \r\nAndroid SDK Tools: 23.0.2\r\nAndroid Platform Tools: 20 \r\nAndroid Build Tools: 19.1", "updateAuthor": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-26T14:37:44.000+0000", "updated": "2014-08-26T14:37:44.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }