question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'remote' of null

See original GitHub issue

Possibly something to do with directory renaming.

Atom Version: 1.0.7 System: Microsoft Windows 10 Pro Thrown From: Remote-FTP package, v0.7.2

Stack Trace

Uncaught TypeError: Cannot read property ‘remote’ of null

At C:\Users\Solus Softworks\.atom\packages\Remote-FTP\lib\remote-ftp.js:225

TypeError: Cannot read property 'remote' of null
  at C:\Users\Solus Softworks\.atom\packages\Remote-FTP\lib\remote-ftp.js:225:73
  at C:\Users\Solus Softworks\.atom\packages\Remote-FTP\lib\client.js:589:16
  at C:\Users\Solus Softworks\.atom\packages\Remote-FTP\lib\connectors\ftp.js:469:17
  at Object.cb (C:\Users\Solus Softworks\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:368:14)
  at Parser.<anonymous> (C:\Users\Solus Softworks\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:113:22)
  at emitTwo (events.js:87:13)
  at Parser.emit (events.js:169:7)
  at Parser._write (C:\Users\Solus Softworks\.atom\packages\Remote-FTP\node_modules\ftp\lib\parser.js:59:10)
  at doWrite (_stream_writable.js:295:12)
  at writeOrBuffer (_stream_writable.js:282:5)
  at Parser.Writable.write (_stream_writable.js:210:11)
  at Socket.ondata (C:\Users\Solus Softworks\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:273:20)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:166:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:109:10)
  at TCP.onread (net.js:517:20)

Commands

     -1:01.5.0 core:move-right (atom-text-editor.editor.mini.is-focused)
  9x -1:01.3.0 core:move-left (atom-text-editor.editor.mini.is-focused)
     -0:58.9.0 core:save (atom-text-editor.editor.mini.is-focused)
  2x -0:57 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:53.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:46.2.0 core:move-right (atom-text-editor.editor.mini.is-focused)
  9x -0:46.1.0 core:move-left (atom-text-editor.editor.mini.is-focused)
 13x -0:43.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "themes": [
      "isotope-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "linter-csslint"
    ]
  },
  "Remote-FTP": {
    "hideLocalWhenDisplayed": true
  }
}

Installed Packages

# User
file-icons, v1.6.6
flex-tool-bar, v0.5.0
isotope-ui, v2.5.1
linter, v1.4.3
linter-cpplint, v0.1.4
linter-htmlhint, v0.1.1
linter-jshint, v1.1.5
linter-php, v1.0.3
minimap, v4.13.0
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.3.0
minimap-highlight-selected, v4.3.0
minimap-selection, v4.3.0
Remote-FTP, v0.7.2
save-session, v0.15.7
tool-bar, v0.1.8

# Dev
No dev packages

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JamesCoylecommented, Feb 26, 2017

It’s probably due to performing a task that requires being connected when there is no connection. There should probably be a check for connectivity in there that is missing.

1reaction
minimal2commented, Feb 26, 2017

I stumbled upon same error. It accoutred to me when trying sync local -> remote without being connected. Connecting with the server fixed the problem.

Atom Version: 1.13.1 Electron Version: 1.4.15 System: “Arch Linux” Thrown From: Remote-FTP package, v0.10.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property of null - iDiallo
It says it cannot set property disabled of null. Where is disabled used? They are the elements with id btConsulta, btDescargar and btHist....
Read more >
TypeError: Cannot read properties of null (reading 'on') - Stack ...
This happens because you are using the same webview instance of your browser windows. You can fix this by creating a separate webview...
Read more >
Uncaught TypeError: Cannot read property 'host' of null #1033
At C:\Users\vsosp\.atom\packages\Remote-FTP\lib\client.js:150 TypeError: Cannot read property 'host' of null at Client.
Read more >
uncaught typeerror: cannot read properties of null ... - You.com
You can fix this by checking the result of document.getElementById(id) before proceeding. function changeDrop ...
Read more >
Cannot read property 'removeChild' of null - Google Groups
repeating Uncaught TypeError: Cannot read property 'removeChild' of null ... It's way too late to reconstruct from some remote pre-error version in my ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found