laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.19k stars 4.92k forks source link

2.8.7 unusable #6506

Closed pietryszak closed 2 years ago

pietryszak commented 2 years ago

Environment

Joplin version: 2.8.7 Platform: Windows OS specifics: 11 Windows 11 Pro 21H2 22000.675

Steps to reproduce

  1. Update Joplin 2.7.15 to 2.8.7.
  2. After update an error is shown, Joplin is no usable anymore.

Logfile

Error
Joplin encountered a fatal error and could not continue.

To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.

If the error persists you may try to [restart in safe mode](https://github.com/laurent22/joplin/issues/new?assignees=&labels=bug&template=bug_report.md&title=#), which will temporarily disable all plugins.

Message
Cannot read properties of null (reading 'wrappedInstance')

Version info
Joplin for Desktop

Copyright © 2016-2022 Laurent Cozic
Joplin 2.8.7 (prod, win32)

ID klienta: 14261b6ca4ae47899cc6a3c67a9544b4
Wersja synchronizacji: 3
Wersja profilu: 41
Wspierany menadżer kluczy: Tak

Rewizja: 91d786d
Plugins
[
    {
        "id": "ylc395.betterMarkdownViewer",
        "name": "Better Markdown Viewer",
        "enabled": true,
        "version": "2.0.4"
    },
    {
        "id": "com.eliasvsimon.email-note",
        "name": "Email Note",
        "enabled": true,
        "version": "1.2.2"
    },
    {
        "id": "com.lki.homenote",
        "name": "Home Note",
        "enabled": true,
        "version": "1.0.4"
    },
    {
        "id": "joplin.plugin.note.tabs",
        "name": "Note Tabs",
        "enabled": true,
        "version": "1.4.0"
    },
    {
        "id": "joplin.plugin.benji.persistentLayout",
        "name": "Persistent Editor Layout",
        "enabled": true,
        "version": "2.2.0"
    }
]
Stack trace
TypeError: Cannot read properties of null (reading 'wrappedInstance')
    at C:\Program Files\Joplin\resources\app.asar\gui\NoteEditor\NoteBody\CodeMirror\CodeMirror.js:646:32
    at commitHookEffectList (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:19986:26)
    at commitPassiveHookEffects (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20016:11)
    at HTMLUnknownElement.callCallback (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:347:14)
    at Object.invokeGuardedCallbackDev (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:397:16)
    at invokeGuardedCallback (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:454:31)
    at flushPassiveEffectsImpl (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:22868:7)
    at unstable_runWithPriority (C:\Program Files\Joplin\resources\app.asar\node_modules\scheduler\cjs\scheduler.development.js:643:12)
    at runWithPriority$2 (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11305:10)
    at flushPassiveEffects (C:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:22841:10)
Component stack

    in ForwardRef(CodeMirror) (created by NoteEditor)
    in div (created by NoteEditor)
    in div (created by NoteEditor)
    in div (created by NoteEditor)
    in NoteEditor (created by Connect(NoteEditor))
    in Connect(NoteEditor) (created by ResizableLayout)
    in div (created by styled.div)
    in styled.div (created by ResizableLayout)
    in div (created by ResizableLayout)
    in div (created by ResizableLayout)
    in div (created by ResizableLayout)
    in ResizableLayout (created by MainScreenComponent)
    in div (created by MainScreenComponent)
    in MainScreenComponent (created by Connect(MainScreenComponent))
    in Connect(MainScreenComponent) (created by NavigatorComponent)
    in div (created by NavigatorComponent)
    in NavigatorComponent (created by Connect(NavigatorComponent))
    in Connect(NavigatorComponent) (created by RootComponent)
    in ThemeProvider (created by RootComponent)
    in StyleSheetManager (created by RootComponent)
    in RootComponent (created by Connect(RootComponent))
    in Connect(RootComponent)
    in ErrorBoundary
    in Provider

Joplin working in safe mode

roman-r-m commented 2 years ago

Try disabling plugins, one by one or all of them.

pietryszak commented 2 years ago

Try disabling plugins, one by one or all of them.

When "Better markdown view" and "home note" are active in same time create a bug. When I disable one of them, then work properly.