Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: Cannot read property 'getCorrectionsForMisspelling' of null #360

@sqglobe

Description

@sqglobe

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.54.0 x64
Electron: 6.1.12
OS: Ubuntu 20.10
Thrown From: spell-check package 0.76.2

Stack Trace

Uncaught TypeError: Cannot read property 'getCorrectionsForMisspelling' of null

At /snap/atom/271/usr/share/atom/resources/app.asar/node_modules/spell-check/lib/locale-checker.js:98

TypeError: Cannot read property 'getCorrectionsForMisspelling' of null
    at LocaleChecker.suggest (/app.asar/node_modules/spell-check/lib/locale-checker.js:98:32)
    at SpellCheckerManager.suggest (/snap/atom/271/usr/share/atom/resources/app/static/<embedded>:11:952014)
    at SpellCheckView.getCorrections (/snap/atom/271/usr/share/atom/resources/app/static/<embedded>:11:946000)
    at SpellCheckView.addContextMenuEntries (/snap/atom/271/usr/share/atom/resources/app/static/<embedded>:11:946328)
    at HTMLElement.<anonymous> (/snap/atom/271/usr/share/atom/resources/app/static/<embedded>:11:941979)

Commands

     -4:12 core:confirm (input.hidden-input)
     -3:11.8.0 editor:consolidate-selections (input.hidden-input)
     -3:11.8.0 core:cancel (input.hidden-input)
     -3:11.4.0 editor:consolidate-selections (input.hidden-input)
     -3:11.4.0 core:cancel (input.hidden-input)
     -3:10.4.0 editor:consolidate-selections (input.hidden-input)
     -3:10.4.0 core:cancel (input.hidden-input)
     -3:10.2.0 editor:consolidate-selections (input.hidden-input)
     -3:10.2.0 core:cancel (input.hidden-input)
  2x -3:02.0 core:backspace (div.panels-item)
     -2:46.8.0 core:confirm (input.hidden-input)
  3x -2:22.9.0 core:backspace (div.panels-item)
  3x -2:20.1.0 core:confirm (input.hidden-input)
  2x -1:14.8.0 core:cancel (div.panels-item)
     -1:01.8.0 core:undo (input.hidden-input)
     -0:56.7.0 core:confirm (input.hidden-input)

Non-Core Packages

asciidoc-preview 2.13.1 
atom-ide-ui 0.13.0 
go-debug 1.6.2 
go-plus 6.1.0 
go-signature-statusbar 1.2.3 
language-asciidoc 1.11.0 
linter 2.3.0 
linter-spell 0.15.0 
plantuml 0.1.2 
plantuml-viewer 0.7.2 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions