[ 
https://issues.apache.org/jira/browse/CB-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins closed CB-5182.
-----------------------------

    Resolution: Fixed

> cordova/run sometimes fails to report error when DebugToken creation fails
> --------------------------------------------------------------------------
>
>                 Key: CB-5182
>                 URL: https://issues.apache.org/jira/browse/CB-5182
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 3.1.0
>            Reporter: Jeffrey Heifetz
>            Assignee: Jeffrey Heifetz
>             Fix For: 3.2.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to