{ "id": "117152", "key": "TIMOB-14547", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-26T03:39:36.000+0000", "created": "2013-07-12T22:06:08.000+0000", "priority": null, "labels": [ "blackberry", "build", "error", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-01T21:37:26.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" } ], "description": "h6.Issue\r\nAn error is encountered while building a BlackBerry app (which I downloaded from kitchensink for blackberry 10).\r\n\r\n\r\nh6.Logs\r\n{code:title=Bar.java|borderStyle=solid}\r\nC:\\DEV2\\ti-ws\\myFirstApp>titanium build --platform blackberry -T simulator -A 192.168.58.128 -N c:\\bbndk\r\n \r\n... output not show ...\r\n \r\nC:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:181\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'value' of undefined\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:185:23\r\n at iterate (C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:108:13)\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:119:25\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:187:17\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:491:34\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\cli.js:112:8\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\blackberry\\cli\\common\\blackberryndk.js:195:4\r\n at C:\\Users\\Apollo\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\blackberry\\cli\\common\\blackberryndk.js:62:3\r\n at exithandler (child_process.js:641:7)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:691:9)\r\n at exports.exec (child_process.js:578:18)\r\n at runCommandFromArray (C:\\Users\\Apollo\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\blackberry\\cli\\common\\blackberryndk.js:60:2)\r\n at getAppLog (C:\\Users\\Apollo\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\blackberry\\cli\\common\\blackberryndk.js:168:2)\r\n at wrapper (timers.js:252:14)\r\n at listOnTimeout (timers.js:110:15)\r\n \r\nc:\\DEV2\\ti-ws\\myFirstApp>\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Can't build TypeError: Cannot read property 'value' of undefined", "creator": { "name": "tang.apollo@gmail.com", "key": "tang.apollo@gmail.com", "displayName": "ApolloTang", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "tang.apollo@gmail.com", "key": "tang.apollo@gmail.com", "displayName": "ApolloTang", "active": true, "timeZone": "America/New_York" }, "environment": "*Titanium SDK*: CLI version 3.1.1, Titanium SDK version 3.1.1.GA & 3.2 CI builds\r\n\r\n*Platform & version*: BlackBerry 10.1\r\n\r\n*Device*: BlackBerry10Simulator-BB10_2_0X-339\r\n\r\n*Host Operating System*: on Windows 7\r\n\r\n*Titanium Studio: build*: 3.1.1.201306112235 (Build: jenkins-titanium-rcp-master-466 (origin/master);\r\n", "comment": { "comments": [ { "id": "262087", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may have been caused by changes I made to support the loading of native modules will test and confirm.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-16T19:41:24.000+0000", "updated": "2013-07-16T19:41:24.000+0000" }, { "id": "263347", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is not a bug. When the app is killed, either by the user killing it manually or due to a crash in the app, the node.js process ends and that stack trace appears. The problem here is not that an app cannot be built with Titanium Studio, the problem is somewhere inside the app being ran making the app crash and the node.js process end.\r\n\r\nTested with a \"Hello World\" app and I only see the problem when I will the app.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T03:39:36.000+0000", "updated": "2013-07-26T03:39:36.000+0000" }, { "id": "266104", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing the ticket after verifying running kitchensink.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308082014\r\nTi SDK : 3.1.2.v20130809141556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T23:11:37.000+0000", "updated": "2013-08-12T23:11:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }