{ "id": "126104", "key": "TIMOB-16425", "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": "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-25T18:06:29.000+0000", "created": "2014-02-08T00:14:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_build", "qe-3.2.1", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-27T00:22:21.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nBuilding a blackberry project will fail using the command 'ti build -p blackberry -b'\r\n\r\nh5.Steps To Reproduce\r\n1) Create a blackberry project\r\n2) Run 'ti build -p blackberry -b'\r\n\r\nh5.Expected Result\r\nBlackberry project should build succesfully\r\n\r\nh5.Actual Result\r\nBlackBerry project fails to run build command\r\n\r\n+Extra Information+\r\n{code}\r\n[ERROR] Failed to run command \"build\"\r\n[ERROR] TypeError: Cannot read property '0' of undefined\r\n at BlackberryNDK.self.build (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/blackberry/cli/common/blackberryndk.js:408:62)\r\n at build. (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/blackberry/cli/commands/_build.js:140:15)\r\n at CLI._fireHookCallback (/usr/local/lib/node_modules/titanium/lib/hook.js:245:12)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:224:10\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:142:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:215:9\r\n at cli.addHook.post (/Applications/Appcelerator Studio 3.2.1/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1391713432/node_modules/liveview/hook/lvhook.js:116:5)\r\n---------------------------------------------\r\n at run (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/iphone/cli/lib/detect.js:356:9\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/async/lib/async.js:511:21\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/async/lib/async.js:227:13\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/async/lib/async.js:111:13\r\n at Array.forEach (native)\r\n at _each (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/async/lib/async.js:32:24)\r\n at async.each (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140206170116/node_modules/async/lib/async.js:110:9)\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Blackberry throws error while building", "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.1\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK, build: 3.2.1.v20140206170116\r\nCLI: 3.2.1-beta5\r\nAlloy: 1.3.1-cr2\r\nXcode: 5.0.2", "comment": { "comments": [ { "id": "292026", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since not directly achievable via Studio, deferring to post-3.2.1", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-08T00:53:55.000+0000", "updated": "2014-02-08T00:53:55.000+0000" }, { "id": "292030", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "As a workaround, explicitly pass in the --target.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-08T01:41:06.000+0000", "updated": "2014-02-08T01:41:06.000+0000" }, { "id": "294666", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/205", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T21:08:20.000+0000", "updated": "2014-02-25T21:08:20.000+0000" }, { "id": "302288", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix, running command\r\n{code}\r\nti build -p blackberry --ip-address 192.168.45.129\r\n{code}\r\nin my case it is a simulator IP address\r\n \r\nAppcelerator Studio, build: 3.3.0.201404221437\r\nTitanium SDK, build 3.3.0.v20140418162516\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.4.0-dev\r\n├── node-appc@0.2.0\r\n├── npm@1.3.2\r\n├── titanium@3.3.0-dev\r\n└── titanium-code-processor@1.1.1-beta1\r\nnpm -g ls titanium: /usr/local/lib\r\n└── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422)\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T21:28:15.000+0000", "updated": "2014-04-23T21:28:15.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }