{ "id": "130821", "key": "AC-1554", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-06-11T16:50:52.000+0000", "created": "2014-05-23T10:17:25.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:38:01.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Hello,\r\n\r\nWe are encountering an issue while building our application with Titanium. I tried to re-install, remove/install titanium and alloy but nothing works for me. I'm pasting the error message below, please see:\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'length' of undefined\r\n at /Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:349:23\r\n at findTargetDevices (/Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:189:5)\r\n at callback.options.device-id.validate (/Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:343:10)\r\n at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:622:14)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145: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---------------------------------------------\r\n at run (/Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at /Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/lib/detect.js:410:9\r\n at /Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:511:21\r\n at /Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:227:13\r\n at /Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:111:13\r\n at Array.forEach (native)\r\n at _each (/Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:32:24)\r\n at async.each (/Users/xxx/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:110:9)\r\n\r\n\r\n\r\n\r\nAnd the command line utility gives the follwing error:\r\n\r\n[INFO] Focusing the iOS Simulator\r\n[ERROR] Project failed to build after 2s 934ms", "attachment": [ { "id": "48312", "filename": "app.js", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:35:51.000+0000", "size": 1164, "mimeType": "text/javascript" }, { "id": "48311", "filename": "app.js", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:35:16.000+0000", "size": 1164, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Can not build my app due to some errors.", "creator": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "MacOS, Titanium SDK 3.2.3, 3.2.2, 3.2.1 tried with all.", "comment": { "comments": [ { "id": "306244", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please attach the output of the following commands from the terminal to investigate further\r\n\r\n1. Titanium info\r\n2. Titanium sdk\r\n3. Titanium config", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T16:27:39.000+0000", "updated": "2014-05-23T16:27:39.000+0000" }, { "id": "306273", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:06:45.000+0000", "updated": "2014-05-23T18:06:45.000+0000" }, { "id": "306274", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:07:20.000+0000", "updated": "2014-05-23T18:07:20.000+0000" }, { "id": "306277", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Ajanss-Mac:~ ajansrota$ titanium config\r\napp.workspace = \"\"\r\ncli.colors = true\r\ncli.completion = false\r\ncli.failOnWrongSDK = false\r\ncli.httpProxyServer = \"\"\r\ncli.ignoreDirs = \"^(\\\\.svn|_svn|\\\\.git|\\\\.hg|\\\\.?[Cc][Vv][Ss]|\\\\.bzr|\\\\$RECYCLE\\\\.BIN)$\"\r\ncli.ignoreFiles = \"^(\\\\.gitignore|\\\\.npmignore|\\\\.cvsignore|\\\\.DS_Store|\\\\._.*|[Tt]humbs.db|\\\\.vspscc|\\\\.vssscc|\\\\.sublime-project|\\\\.sublime-workspace|\\\\.project|\\\\.tmproj)$\"\r\ncli.logLevel = \"trace\"\r\ncli.progressBars = true\r\ncli.prompt = true\r\ncli.rejectUnauthorized = true\r\ncli.width = 100\r\npaths.commands = []\r\npaths.hooks = []\r\npaths.modules = []\r\npaths.plugins = []\r\npaths.sdks = [\"/Users/ajansrota/Library/Application Support/Titanium\"]\r\nsdk.defaultInstallLocation = \"/Users/ajansrota/Library/Application Support/Titanium/\"\r\nsdk.selected = \"3.2.3.GA\"\r\nuser.locale = \"en_US\"\r\n", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:07:55.000+0000", "updated": "2014-05-23T18:07:55.000+0000" }, { "id": "306281", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for providing the requested information. The setup looks fine. Can you please attach the test case as well so that I can run it and see the issue?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T18:15:48.000+0000", "updated": "2014-05-23T18:15:48.000+0000" }, { "id": "306282", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Please let me know how can I attach the test case?\r\n\r\nThanks.", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:17:24.000+0000", "updated": "2014-05-23T18:17:24.000+0000" }, { "id": "306285", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can go to Button More ==> drop down list (Attach files) and can attach the files.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T18:21:20.000+0000", "updated": "2014-05-23T18:21:20.000+0000" }, { "id": "306286", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "I'm sorry that I was not clear.\r\n\r\nWhat files do you want me to upload? My application files or what?\r\n\r\nMany thanks for the fast response!", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:23:39.000+0000", "updated": "2014-05-23T18:23:39.000+0000" }, { "id": "306288", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, your application file (app.js) file please.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T18:29:06.000+0000", "updated": "2014-05-23T18:29:06.000+0000" }, { "id": "306290", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Here it's sir.", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T18:35:51.000+0000", "updated": "2014-05-23T18:35:51.000+0000" }, { "id": "306305", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Sorry, I don't see any file attached to the message.\r\n\r\nCan you please confirm if you got it or not?\r\n\r\nThanks.", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-23T19:33:26.000+0000", "updated": "2014-05-23T19:33:26.000+0000" }, { "id": "306376", "author": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Hi,\r\n\r\nDo you have any update for me?\r\n\r\nThanks.", "updateAuthor": { "name": "snngny", "key": "snngny", "displayName": "Sinan Gunay", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-24T06:38:13.000+0000", "updated": "2014-05-24T06:38:13.000+0000" }, { "id": "306420", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I would suggest you to update your tiapp.xml file to use 3.2.3 SDK version and see if it helps resolve this issue. It would help us to diagnose this issue further.\r\n\r\n3.2.3.GA", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T05:13:21.000+0000", "updated": "2014-05-27T05:13:21.000+0000" }, { "id": "308295", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does updating the tiapp.xml file to use 3.2.3 GA helped?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-10T17:57:29.000+0000", "updated": "2014-06-10T17:57:29.000+0000" }, { "id": "308478", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving the ticket as we have not heard back from the reporter and we have not been able to reproduce the issue locally.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-11T16:50:42.000+0000", "updated": "2014-06-11T16:50:42.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }