Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught TypeError: Cannot set property 'localAddress' of undefined #5468

Closed

Description

@winstliu

Steps to reproduce:

  1. Nothing? I left my laptop on for a bit and it eventually went into sleep mode while I did other stuff. Interesting information is at the bottom of this report.

Atom Version: 0.177.0
System: linux 3.13.0-43-generic (Ubuntu 14.10)
Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot set property 'localAddress' of undefined

At net.js:840

TypeError: Cannot set property 'localAddress' of undefined
  at connect (net.js:840:23)
  at net.js:943:9
  at dns.js:87:18
  at process._tickCallback (node.js:364:11)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "archive-view",
      "autoflow",
      "autosave",
      "background-tips",
      "deprecation-cop",
      "encoding-selector",
      "image-view",
      "incompatible-packages",
      "open-on-github",
      "release-notes",
      "spell-check",
      "styleguide",
      "welcome",
      "wrap-guide",
      "package-generator"
    ],
    "themes": [
      "isotope-light-ui",
      "fizzy"
    ]
  },
  "editor": {
    "fontFamily": "Inconsolata",
    "fontSize": 14,
    "showIndentGuide": true,
    "tabLength": 4,
    "softTabs": false,
    "invisibles": {}
  }
}

Installed Packages

# User
file-icons, v1.4.9
fizzy, v0.15.0
isotope-light-ui, v1.0.0
jenkins, v0.3.1
language-sourcepawn, v0.4.1
linter, v0.11.1
linter-jshint, v0.1.0
sourcepawn-compiler, v0.0.0
travis-ci-status, v0.11.2

# Dev
No dev packages

Some interesting things to note:

  1. This error got thrown multiple times-Notifications is showing 5 errors, all identical.
  2. The first error got formatted super-weirdly (see the picture below).
  3. Clicking on "Create issue on atom/atom" does...nothing :(. Had to copy the issue to clipboard and paste it here.
  4. This error may be due to the Jenkins package, but I wanted to submit it here first just to make sure.

Picture:
screenshot from 2015-02-09 14 15 33

Activity

  1. kevinsawicki commented on Feb 9, 2015

    @kevinsawicki
    Contributor

    Looks similar to #5389

  2. winstliu commented on Feb 9, 2015

    @winstliu
    ContributorAuthor

    Yeah, but the reproduction steps are way different (in addition, I don't have Beautify, but perhaps this can be caused by different packages?).

  3. kevinsawicki commented on Feb 9, 2015

    @kevinsawicki
    Contributor

    I wonder if it is nodejs/node#510 and fixed already upstream in io.js

  4. winstliu commented on Feb 19, 2015

    @winstliu
    ContributorAuthor

    Any updates on when io.js will be updated in Atom to include the linked fix? I'm still getting this in 0.180.0.

  5. topmotiveret commented on Feb 24, 2015

    @topmotiveret

    Get the same/simllar error on OS X 10.10.2

    n
    screen shot 2015-02-24 at 11 23 07

  6. jekriske commented on Mar 18, 2015

    @jekriske

    Still a problem in Atom 0.187.0

  7. wilrnh commented on Mar 20, 2015

    @wilrnh

    Yep, seems to happen pretty much everytime I go to sleep. Have only been using Atom for 2 days now though.

  8. daithi-coombes commented on Apr 6, 2015

    @daithi-coombes

    I can confirm this bug:
    atom: version 0.187.0

    Is it possible to update io.js outside of the atom ide, if it is a bug fixed in io.js?

    TypeError: Cannot set property 'localAddress' of undefined
      at connect (net.js:840:23)
      at net.js:943:9
      at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:83:16)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:101:10)
    
  9. kevinsawicki commented on Jul 6, 2015

    @kevinsawicki
    Contributor

    This should be fixed by atom/notifications#62 and available in Atom 1.0.0+

  10. lock commented on Jan 21, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  11. locked as resolved and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions