atom / spell-check

Spell check Atom package
MIT License
205 stars 133 forks source link

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

Open sqglobe opened 3 years ago

sqglobe commented 3 years ago

[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 
dmoonfire commented 3 years ago

@sqglobe: There are a couple packages that don't play well with each other. I'm trying to duplicate this, so need to know what settings you have?

Thank you.

9994444ggg commented 3 years ago

Thank You no more ask to You