You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2014/06/26 23:45:26 UTC

[jira] [Resolved] (CB-6925) simulator detection should fail gracefully when no DHCP leases are present

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

Josh Soref resolved CB-6925.
----------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.0

> 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
>             Fix For: 3.6.0
>
>
> 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)