Project: titanium
Issue TIMOB-20376: Windows Phone: Cannot read property 'split' of undefined
Whe i try to build for Windows Phone the sdk can't complete the build and dies with exit code 1, the only error i can see is part (i think) of the sdk for windows phone {code:java} [INFO] : Alloy compiled in 12.28829s [INFO] : Alloy compiler completed successfully TypeError: Cannot read property 'split' of undefined at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\windowslib\lib\certs.js:142:52 at ChildProcess.exithandler (child_process.js:742:7) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Socket. (child_process.js:1183:11) at Socket.emit (events.js:107:17) at Pipe.close (net.js:485:12) --------------------------------------------- at Object.exports.execFile (child_process.js:821:9) at exports.exec (child_process.js:649:18) at Object.thumbprint (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\windowslib\lib\certs.js:134:2) at cli.on.post (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\windows\cli\hooks\ws-package.js:39:22) at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:235:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:689:13 at iterate (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:275:35 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:44:16 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:694:17 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:173:37 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:239:9 at cli.on.post (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\windows\cli\hooks\ws-run.js:34:72) at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:235:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:689:13 at iterate (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:265:13) --------------------------------------------- at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:275:35 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:44:16 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:694:17 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:173:37 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:239:9 at cli.on.post (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\windows\cli\hooks\wp-run.js:38:85) at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:235:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:689:13 at iterate (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:265:13) --------------------------------------------- at C:\Users\erika\Documents\Appcelerator_Studio_Workspace\gacApp\plugins\ti.alloy\hooks\alloy.js:171:11 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\node-appc\lib\async.js:46:6 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:697:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:52:16 at done (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:248:21) at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:44:16 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:694:17 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:173:37 at C:\Users\erika\Documents\Appcelerator_Studio_Workspace\gacApp\plugins\ti.alloy\hooks\alloy.js:102:9 --------------------------------------------- at Object.exports.execFile (child_process.js:821:9) at exports.exec (child_process.js:649:18) at C:\Users\erika\Documents\Appcelerator_Studio_Workspace\gacApp\plugins\ti.alloy\hooks\alloy.js:99:7 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:689:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:239:13 at _arrayEach (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:91:13) at _each (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:82:13) at async.forEachOf.async.eachOf (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:238:9) at _parallel (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:688:9) --------------------------------------------- at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:275:35 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:44:16 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:694:17 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:173:37 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:239:9 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\mobileweb\cli\hooks\windows.js:380:4 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\lib\hook.js:235:13 at C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:689:13 at iterate (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\async\lib\async.js:265:13) --------------------------------------------- at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:275:35 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:44:16 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:694:17 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:173:37 at WindowsBuilder.checkIfNeedToRecompile (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\windows\cli\commands\_build\checks.js:214:2) at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:689:13 at iterate (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:275:35 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:44:16 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:694:17 at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:173:37 at WindowsBuilder.readBuildManifest (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\windows\cli\commands\_build\read.js:39:2) at C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:689:13 at iterate (C:\ProgramData\Titanium\mobilesdk\win32\5.0.2.GA\node_modules\async\lib\async.js:265:13) at process._tickCallback (node.js:355:11) 2015-12-17T09:42:50.769Z | TRACE | titanium exited with exit code 1 2015-12-17T09:42:50.770Z | ERROR | Error: ti run exited with error code 1 at ChildProcess. (C:\Users\erika\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\plugins\run.js:92:66) at ChildProcess.emit (events.js:110:17) at Process.ChildProcess._handle.onexit (child_process.js:1074:12) 2015-12-17T09:42:50.771Z | TRACE | Sending exit signal to titanium process: 6964 {code}
Story points: 5