I found today this fatal error in Joplin

Hi today I found this error, could somebody help how to fix it? Thanks

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 'removeChild')

Version info
Joplin for Desktop

Copyright © 2016-2022 Laurent Cozic
Joplin 2.10.2 (prod, linux)

Client ID: 3eac788e051345b5b6eabe3beaeaedf0
Sync Version: 3
Profile Version: 41
Keychain Supported: No

Revision: 0a65d53
Plugins
[
{
"id": "io.github.jackgruber.backup",
"name": "Simple Backup",
"enabled": true,
"version": "1.2.1"
},
{
"id": "org.joplinapp.plugins.admonition",
"name": "Admonition markdown extension",
"enabled": true,
"version": "1.1.0"
},
{
"id": "io.github.jackgruber.combine-notes",
"name": "Combine notes",
"enabled": true,
"version": "1.0.1"
},
{
"id": "joplin-plugin-conflict-resolution",
"name": "Conflict Resolution",
"enabled": true,
"version": "1.2.3"
},
{
"id": "joplin.plugin.templates",
"name": "Templates",
"enabled": true,
"version": "2.3.0"
},
{
"id": "joplin.plugin.ambrt.goToItem",
"name": "Create and go to #tags and @notebooks",
"enabled": true,
"version": "1.3.7"
},
{
"id": "com.github.marc0l92.joplin-plugin-drawio",
"name": "Draw.io",
"enabled": true,
"version": "2.1.0"
},
{
"id": "joplin.plugin.ambrt.embedSearch",
"name": "Embed Search",
"enabled": false,
"version": "2.0.0"
},
{
"id": "joplin.plugin.embeddedtags",
"name": "embedded tags",
"enabled": true,
"version": "1.0.0"
},
{
"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": "com.whatever.inline-tags",
"name": "Inline tags",
"enabled": true,
"version": "1.2.1"
},
{
"id": "joplin-plugin-dddot",
"name": "Joplin DDDot",
"enabled": true,
"version": "0.2.0"
},
{
"id": "ylc395.joplinOcr",
"name": "OCR",
"enabled": true,
"version": "0.3.2"
},
{
"id": "plugin.calebjohn.MathMode",
"name": "Math Mode",
"enabled": true,
"version": "0.5.3"
},
{
"id": "osw.joplin.markdowncalc",
"name": "Markdown table calculations",
"enabled": true,
"version": "1.0.5"
},
{
"id": "com.hieuthi.joplin.markdown-table-colorize",
"name": "Markdown Table: Colorize",
"enabled": true,
"version": "1.1.4"
},
{
"id": "com.github.marc0l92.joplin-plugin-plantUML",
"name": "PlantUML2",
"enabled": true,
"version": "1.10.0"
},
{
"id": "io.github.jackgruber.note-overview",
"name": "Note overview",
"enabled": true,
"version": "1.6.0"
},
{
"id": "ylc395.noteLinkSystem",
"name": "Note Link System",
"enabled": true,
"version": "0.8.0"
},
{
"id": "com.coderrsid.pasteSpecial",
"name": "Paste Special",
"enabled": true,
"version": "1.1.2"
},
{
"id": "de.habelt.CsvImport",
"name": "Csv Import",
"enabled": true,
"version": "1.0.1"
},
{
"id": "com.whatever.quick-links",
"name": "Quick Links",
"enabled": true,
"version": "1.2.3"
},
{
"id": "io.github.jackgruber.copytags",
"name": "Tagging",
"enabled": true,
"version": "1.0.1"
},
{
"id": "joplin.plugin.note.tabs",
"name": "Note Tabs",
"enabled": true,
"version": "1.4.0"
},
{
"id": "io.treymo.LinkGraph",
"name": "Link Graph UI",
"enabled": true,
"version": "1.5.0"
},
{
"id": "com.hieuthi.joplin.copy-anchor-link",
"name": "Copy Anchor Link",
"enabled": true,
"version": "1.1.0"
},
{
"id": "net.rmusin.joplin-table-formatter",
"name": "Table Formatter Plugin",
"enabled": true,
"version": "1.2.1"
},
{
"id": "com.s73ph4n.complete_link",
"name": "Complete Link",
"enabled": true,
"version": "1.0.1"
},
{
"id": "plugin.calebjohn.rich-markdown",
"name": "Rich Markdown",
"enabled": true,
"version": "0.13.2"
},
{
"id": "com.programming-emu.DependencyGraph",
"name": "Dependency graph",
"enabled": false,
"version": "1.0.0"
},
{
"id": "joplin-plugin-knowledge-graph",
"name": "Graph",
"enabled": true,
"version": "1.1.0"
},
{
"id": "org.joplinapp.plugins.ToggleSidebars",
"name": "Note list and sidebar toggle buttons",
"enabled": true,
"version": "1.0.3"
},
{
"id": "org.joplinapp.plugins.AutoShowActiveNoteInSideBar",
"name": "Auto show active note in sidebar",
"enabled": false,
"version": "1.0.1"
},
{
"id": "joplin.plugin.ambrt.backlinksToNote",
"name": "Automatic Backlinks to note",
"enabled": true,
"version": "3.0.3"
},
{
"id": "joplin.plugin.ambrt.copyNoteLink",
"name": "Copy link to active note",
"enabled": true,
"version": "1.0.1"
},
{
"id": "sadmice.TextColorize",
"name": "Text Colorize",
"enabled": true,
"version": "1.2.3"
},
{
"id": "com.septemberhx.Joplin.Enhancement",
"name": "Enhancement",
"enabled": false,
"version": "1.1.2"
},
{
"id": "com.github.joplin.kanban",
"name": "Kanban",
"enabled": true,
"version": "1.0.7"
},
{
"id": "joplin-insert-date",
"name": "Insert Date",
"enabled": true,
"version": "1.0.1"
},
{
"id": "plugin.azamahJunior.note-statistics",
"name": "Note Statistics",
"enabled": true,
"version": "1.0.4"
},
{
"id": "com.septemberhx.pluginBundle",
"name": "Plugin Bundle",
"enabled": false,
"version": "0.5.4"
},
{
"id": "com.leenzhu.journal",
"name": "Journal",
"enabled": true,
"version": "1.0.8"
},
{
"id": "plugin.calebjohn.todo",
"name": "Inline TODO",
"enabled": true,
"version": "1.6.0"
},
{
"id": "joplin.plugin.remoods.theme",
"name": "ReMoods Theme",
"enabled": false,
"version": "3.5.0"
},
{
"id": "cx.evermeet.tessus.menu-shortcut-toolbar",
"name": "Menu items, Shortcuts, Toolbar icons",
"enabled": true,
"version": "1.1.0"
},
{
"id": "com.sctmes.kity-minder",
"name": "Kity Minder",
"enabled": true,
"version": "1.0.9"
},
{
"id": "com.hieuthi.joplin.markdown-table-sortable",
"name": "Markdown Table: Sortable",
"enabled": true,
"version": "1.2.2"
}
]
Stack trace
TypeError: Cannot read properties of null (reading 'removeChild')
at Annotation.clear (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/codemirror/addon/scroll/annotatescrollbar.js:126:25)
at SearchAnnotation.clear (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/codemirror/addon/search/matchesonscrollbar.js:95:21)
at clearOverlay (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/utils/useEditorSearch.js:25:28)
at CodeMirror.setMarkers (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/utils/useEditorSearch.js:131:9)
at /tmp/.mount_Joplin25TdYD/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.js:658:51
at commitHookEffectListMount (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:23150:26)
at commitPassiveMountOnFiber (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24926:13)
at commitPassiveMountEffects_complete (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24891:9)
at commitPassiveMountEffects_begin (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24878:7)
at commitPassiveMountEffects (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24866:3)
Component stack

at CodeMirror (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.js:51:41)
at div
at div
at div
at NoteEditor (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/NoteEditor/NoteEditor.js:58:68)
at ConnectFunction (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:87)
at div
at I (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:19344)
at div
at div
at div
at ResizableLayout (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/ResizableLayout/ResizableLayout.js:46:45)
at div
at MainScreenComponent (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/MainScreen/MainScreen.js:74:9)
at ConnectFunction (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:87)
at div
at NavigatorComponent (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/Navigator.min.js:9:1)
at ConnectFunction (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:87)
at exports.ThemeProvider (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:25041)
at ae (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:13420)
at RootComponent (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/Root.js:103:1)
at ConnectFunction (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:87)
at ErrorBoundary (/tmp/.mount_Joplin25TdYD/resources/app.asar/gui/ErrorBoundary.js:21:9)
at Provider (/tmp/.mount_Joplin25TdYD/resources/app.asar/node_modules/react-redux/lib/components/Provider.js:19:3)

Thanks for the report - at what point did this crash happened?

I have started my work day just opening Joplin, first I forced the synchronization to update it, and error came up, Closes Joplin and open again and error appears just opening it. Later I have entered through my iPad or using an alternative laptop and both Joplin working without issues.

Adding more detail.
I opened Joplin in safe mode, and it started to work in this mode.
Then I went back to normal mode and, Joplin opened without any problem.
I do not understand this behavior, but fortunately Joplin works again. Only a minor issue relate to any plugin layout, after changed layout and closing and opening Joplin sometime this was fixing. Unfortunately I did not identify the plugin makes this minor problem as possible source of the previous mentioned fatal error, but right now all working well.
Thanks for a prompt answer and I will keep be informed if this happens again.

Thanks for the info. Since you've provided the full error message above, we can probably figure it out and fix it.

This is fixed in the latest pre-release

1 Like

Excelente. Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.