[ 
https://issues.apache.org/jira/browse/CB-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028341#comment-14028341
 ] 

ASF GitHub Bot commented on CB-6925:
------------------------------------

GitHub user jsoref opened a pull request:

    https://github.com/apache/cordova-blackberry/pull/161

    CB-6925 simulator detection: fail gracefully w/ no DHCP leases

    r? @bryanhiggins 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blackberry/cordova-blackberry cb_6925

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-blackberry/pull/161.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #161
    
----
commit 8ca4044df41637fbebf39e6a3ac7a13e80cbc9c1
Author: Josh Soref <[email protected]>
Date:   2014-06-11T20:25:24Z

    CB-6925 simulator detection: fail gracefully w/ no DHCP leases

----


> simulator detection should fail gracefully when no DHCP leases are present
> --------------------------------------------------------------------------
>
>                 Key: CB-6925
>                 URL: https://issues.apache.org/jira/browse/CB-6925
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 3.5.0
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>
> if you try to use emulate and you don't have any leases, you get this error:
> project\platforms\blackberry10\cordova\lib\target-utils.js:213 
>                 dhcpIPs = dhcpIPs.map(function (result) { 
>                                   ^ 
> TypeError: Cannot call method 'map' of null 
>     at project\platforms\blackberry10\cordova\lib\target-utils.js 
> :213:35 
>     at fs.js:266:14 
>     at Object.oncomplete (fs.js:107:15) 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to