Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14547] BlackBerry: Can't build TypeError: Cannot read property 'value' of undefined

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-07-26T03:39:36.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsblackberry, build, error, qe-testadded
ReporterApolloTang
AssigneePedro Enrique
Created2013-07-12T22:06:08.000+0000
Updated2013-10-01T21:37:26.000+0000

Description

Issue

An error is encountered while building a BlackBerry app (which I downloaded from kitchensink for blackberry 10).

Logs

C:\DEV2\ti-ws\myFirstApp>titanium build --platform blackberry -T simulator -A 192.168.58.128 -N c:\bbndk
 
... output not show ...
 
C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:181
        throw e;
              ^
TypeError: Cannot read property 'value' of undefined
    at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:185:23
    at iterate (C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:108:13)
    at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:119:25
    at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:187:17
    at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:491:34
    at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:112:8
    at C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:195:4
    at C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:62:3
    at exithandler (child_process.js:641:7)
---------------------------------------------
    at exports.execFile (child_process.js:691:9)
    at exports.exec (child_process.js:578:18)
    at runCommandFromArray (C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:60:2)
    at getAppLog (C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:168:2)
    at wrapper (timers.js:252:14)
    at listOnTimeout (timers.js:110:15)
 
c:\DEV2\ti-ws\myFirstApp>

Comments

  1. Russell McMahon 2013-07-16

    This may have been caused by changes I made to support the loading of native modules will test and confirm.
  2. Pedro Enrique 2013-07-26

    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. Tested with a "Hello World" app and I only see the problem when I will the app.
  3. Lokesh Choudhary 2013-08-12

    Closing the ticket after verifying running kitchensink. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130809141556 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138

JSON Source