Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
Description
Steps to reproduce:
This occurred to me on Windows when i hadn't yet established my session with the RIM Proxy [via opening a browser window]. The debugtokenrequest executable was failing due to this. When i ran the run script it did not inform me of any error; Instead it exited abruptly.
I assume this also occurs on Mac.
Actual result:
C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.36\app>.\cordova\run -k password
[INFO] Target default selected
[INFO] Generating debug token
Expected result:
Execution to continue or at least show a proper error.
After some digging, it looks like the issue occurs from lib/run. The callback for the waterfall that handles the debugToken creation/install [getValidatedTarget] does not handle errors of type "object". It only handles strings and numbers.