Fatal Error

Operating system

Windows

Joplin version

3.2.8

Sync target

Nextcloud

What issue do you have?

Trying to edit a note, got a fatal error:

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
Position 1319 is out of range for changeset of length 1318

Version info
Joplin for Desktop

Copyright © 2016-2025 Laurent Cozic
Joplin 3.2.8 (prod, win32)

Client-ID: 725a25cc1d854272a691aaac2baba0db
Sync-Version: 3
Profil-Version: 47
Unterstützter Schlüsselbund: Ja

Revision: d458648

Backup: 1.4.2
Conflict Resolution: 1.2.3
Copy Anchor Link: 1.1.0
Delete unlinked resources: 1.0.0
Freehand Drawing: 2.13.0
LanguageTool integration: 0.1.0
Note Link System: 0.8.0
Templates: 2.4.0
Plugins
[
{
"id": "com.hieuthi.joplin.copy-anchor-link",
"name": "Copy Anchor Link",
"enabled": true,
"version": "1.1.0"
},
{
"id": "albert.joplin.plugin.jl14",
"name": "Delete unlinked resources",
"enabled": true,
"version": "1.0.0"
},
{
"id": "joplin.plugin.templates",
"name": "Templates",
"enabled": true,
"version": "2.4.0"
},
{
"id": "joplin-plugin-conflict-resolution",
"name": "Conflict Resolution",
"enabled": true,
"version": "1.2.3"
},
{
"id": "ylc395.noteLinkSystem",
"name": "Note Link System",
"enabled": true,
"version": "0.8.0"
},
{
"id": "io.github.jackgruber.backup",
"name": "Backup",
"enabled": true,
"version": "1.4.2"
},
{
"id": "com.asdibiase.joplin-languagetool",
"name": "LanguageTool integration",
"enabled": true,
"version": "0.1.0"
},
{
"id": "io.github.personalizedrefrigerator.js-draw",
"name": "Freehand Drawing",
"enabled": true,
"version": "2.13.0"
}
]
Stack trace
RangeError: Position 1319 is out of range for changeset of length 1318
at ChangeSet.mapPos (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:819:19)
at Chunk.map (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:3149:33)
at RangeSet.map (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:3284:45)
at Decorator.updateEffectDecorations (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\CodeMirror\CodeMirror5Emulation\Decorator.js:116:39)
at StateField.update [as updateF] (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\CodeMirror\CodeMirror5Emulation\Decorator.js:86:54)
at Object.update (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:1828:34)
at EditorState.computeSlot (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:2665:88)
at ensureAddr (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:2064:25)
at EditorState (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:2601:13)
at EditorState.applyTransaction (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\editor\node_modules@codemirror\state\dist\index.cjs:2665:9)
Component stack

at CodeMirror (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteBody\CodeMirror\v6\CodeMirror.js:44:44)
at div
at div
at div
at NoteEditorContent (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteEditor.js:79:68)
at ConnectFunction (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at div
at div
at I (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:19269)
at div
at div
at ResizableLayout (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\ResizableLayout\ResizableLayout.js:54:45)
at div
at MainScreenComponent (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\MainScreen.js:61:9)
at ConnectFunction (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at div
at NavigatorComponent (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\Navigator.js:10:45)
at ConnectFunction (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at exports.ThemeProvider (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:25001)
at ae (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:13440)
at RootComponent (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\Root.js:73:1)
at ConnectFunction (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at ErrorBoundary (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\gui\ErrorBoundary.js:12:9)
at Provider (C:\Users\Ralf\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\Provider.js:19:3)

This LanguageTool integration issue might be related: