Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6925

simulator detection should fail gracefully when no DHCP leases are present

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        Activity

          People

            jsoref Josh Soref
            jsoref Josh Soref
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: