Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot convert undefined or null to object #8

Closed
Teggy opened this issue Dec 10, 2015 · 1 comment
Closed

Uncaught TypeError: Cannot convert undefined or null to object #8

Teggy opened this issue Dec 10, 2015 · 1 comment

Comments

@Teggy
Copy link

Teggy commented Dec 10, 2015

Initiating any search via isearch:search-forward immediately yields this error. The package thus basically unusable as of now. Many thanks for looking into this.

Atom Version: 1.3.0
System: Mac OS X 10.11.2
Thrown From: isearch package, v0.1.12

Stack Trace

Uncaught TypeError: Cannot convert undefined or null to object

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:133

TypeError: Cannot convert undefined or null to object
    at Function.keys (native)
    at MarkerLayer.module.exports.MarkerLayer.findMarkers (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:133:21)
    at DisplayBuffer.module.exports.DisplayBuffer.findFoldMarkers (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1143:36)
    at Object.module.exports.saveEditorState (/Users/grust/.atom/packages/isearch/lib/main.coffee:226:44)
    at Object.module.exports.start (/Users/grust/.atom/packages/isearch/lib/main.coffee:51:40)
    at atom-text-editor.subscriptions.add.atom.commands.add.isearch:search-forward (/Users/grust/.atom/packages/isearch/lib/main.coffee:30:26)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:99:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -5:03.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -5:02.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:48.2.0 script:run (atom-text-editor.editor.is-focused)
     -0:29 core:save (atom-text-editor.editor.is-focused)
     -0:28.8.0 script:run (atom-text-editor.editor.is-focused)
     -0:23.6.0 core:move-right (atom-text-editor.editor.is-focused)
  4x -0:23.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:21.6.0 core:save (atom-text-editor.editor.is-focused)
     -0:20.8.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:20.5.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:20.4.0 core:save (atom-text-editor.editor.is-focused)
     -0:16.9.0 isearch:search-forward (atom-text-editor.editor.is-focused)
     -0:08.2.0 blur (atom-text-editor.editor.is-focused)
     -0:08.1.0 click (div.close.icon.icon-x)
  2x -0:08.1.0 blur (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack.remove)
     -0:01.1.0 isearch:search-forward (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "useReactEditor": false,
    "disabledPackages": [
      "atom-alignment",
      "metrics"
    ],
    "packagesWithKeymapsDisabled": [
      "autocomplete-plus"
    ]
  },
  "isearch": {}
}

Installed Packages

# User
asciidoc-preview, v0.6.0
autocomplete-haskell, v0.6.2
file-icons, v1.6.13
file-types, v0.5.1
foldingtext-for-atom, v0.9.2
goto-last-edit, v0.2.2
haskell-ghc-mod, v1.2.0
haskell-pointfree, v0.1.2
highlight-selected, v0.11.1
ide-haskell, v1.3.7
ide-haskell-cabal, v1.0.0
isearch, v0.1.12
language-asciidoc, v0.12.0
language-fish-shell, v1.0.2
language-haskell, v1.5.1
language-jsoniq, v1.7.6
language-latex, v0.6.1
language-llvm, v0.1.1
language-pgsql, v0.2.0
latex, v0.28.2
linter, v1.11.3
markdown-table-formatter, v2.5.5
pdf-view, v0.37.0
red-wavy-underline, v0.3.0
script, v3.2.0

# Dev
No dev packages
@t9md t9md closed this as completed in 9f9d7f9 Dec 10, 2015
@Teggy
Copy link
Author

Teggy commented Dec 10, 2015

Awesome. Thanks for an immediate fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant