laurent22 / joplin

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

Exception during startup #6391

Closed cnichte closed 2 years ago

cnichte commented 2 years ago

Hi, love Joplin, but getting some annoying exception during startup.

Environment

Joplin version: Joplin Desktop 2.7.15 Platform: OS-X OS specifics: 12.3.1

Steps to reproduce

  1. Start the App... ... immidiatly getting the exception instead of the GUI.
  2. The second start usually works.
  3. In some rare cases, the first start also works.

Describe what you expected to happen

Seeing the GUI instead of an Exception :-)

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](), 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.7.15 (prod, darwin)

Client-ID: 75696ff89d3a4a4f99070c7c17be83bb
Sync-Version: 3
Profil-Version: 41
Unterstützter Schlüsselbund: Ja

Revision: 8352e23
Plugins
[
    {
        "id": "joplin.plugin.ambrt.convertToNewNote",
        "name": "Convert Text To New Note",
        "enabled": true,
        "version": "1.5.1"
    },
    {
        "id": "io.github.manuerwin.attache",
        "name": "Attaché",
        "enabled": true,
        "version": "1.1.1"
    },
    {
        "id": "io.github.jackgruber.combine-notes",
        "name": "Combine notes",
        "enabled": true,
        "version": "1.0.1"
    },
    {
        "id": "joplin.plugin.ambrt.fold-cm",
        "name": "Folding in Code Mirror Editor",
        "enabled": true,
        "version": "2.0.1"
    },
    {
        "id": "io.github.jackgruber.backup",
        "name": "Simple Backup",
        "enabled": true,
        "version": "1.0.5"
    },
    {
        "id": "com.hieuthi.joplin.slash-commands",
        "name": "Slash Commands: Datetime & More",
        "enabled": true,
        "version": "1.2.1"
    },
    {
        "id": "joplin.plugin.ambrt.backlinksToNote",
        "name": "Automatic Backlinks to note",
        "enabled": true,
        "version": "3.0.3"
    },
    {
        "id": "com.hieuthi.joplin.copy-anchor-link",
        "name": "Copy Anchor Link",
        "enabled": true,
        "version": "1.0.0"
    },
    {
        "id": "com.github.joplin.kanban",
        "name": "Kanban",
        "enabled": true,
        "version": "1.0.5"
    },
    {
        "id": "com.hieuthi.joplin.metis",
        "name": "Metis",
        "enabled": true,
        "version": "0.1.4"
    },
    {
        "id": "com.hieuthi.joplin.markdown-table-colorize",
        "name": "Markdown Table: Colorize",
        "enabled": true,
        "version": "1.1.3"
    },
    {
        "id": "io.github.jackgruber.note-overview",
        "name": "Note overview",
        "enabled": true,
        "version": "1.5.5"
    },
    {
        "id": "com.lki.homenote",
        "name": "Home Note",
        "enabled": true,
        "version": "1.0.4"
    },
    {
        "id": "com.eliasvsimon.email-note",
        "name": "Email Note",
        "enabled": true,
        "version": "1.2.2"
    },
    {
        "id": "io.github.jackgruber.hotfolder",
        "name": "Hotfolder",
        "enabled": true,
        "version": "1.0.1"
    },
    {
        "id": "plugin.calebjohn.rich-markdown",
        "name": "Rich Markdown",
        "enabled": true,
        "version": "0.8.3"
    },
    {
        "id": "org.joplinapp.plugins.admonition",
        "name": "Admonition markdown extension",
        "enabled": true,
        "version": "1.1.0"
    },
    {
        "id": "ylc395.betterMarkdownViewer",
        "name": "Better Markdown Viewer",
        "enabled": true,
        "version": "2.0.4"
    },
    {
        "id": "net.gagnepain.turnToChart",
        "name": "turnToChart",
        "enabled": true,
        "version": "1.6.0"
    },
    {
        "id": "joplin.plugin.note.tabs",
        "name": "Note Tabs",
        "enabled": true,
        "version": "1.4.0"
    }
]
Stack trace
TypeError: Cannot read properties of null (reading 'wrappedInstance')
    at /Applications/Joplin.app/Contents/Resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.js:641:32
    at commitHookEffectList (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:19986:26)
    at commitPassiveHookEffects (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:20016:11)
    at HTMLUnknownElement.callCallback (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:347:14)
    at Object.invokeGuardedCallbackDev (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:397:16)
    at invokeGuardedCallback (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:454:31)
    at flushPassiveEffectsImpl (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:22868:7)
    at unstable_runWithPriority (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:643:12)
    at runWithPriority$2 (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:11305:10)
    at flushPassiveEffects (/Applications/Joplin.app/Contents/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 Resizable)
    in Resizable (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
github-actions[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] commented 2 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.