Closed
Description
Environment
Joplin version: joplin 1.0.149 (prod)
Platform: linux terminal
OS specifcs:Linux penguin 4.19.60-06185-g54aa50936831 #1 SMP PREEMPT Wed Aug 14 01:17:34 PDT 2019 x86_64 GNU/Linux (Chromebook)
Steps To Reproduce
- open joplin in terminal
- :mknote test
3 write something - Save it and return to joplin
- Joplin crashes and the data is lost
- See error message:
edit: Note has been saved.
Unhandled promise rejection Promise {
TypeError: Cannot read property 'encryption_applied' of null
at ResourceService.indexNoteResources (/home/user/.joplin-bin/lib/node_modules/joplin/lib/services/ResourceService.js:57:15)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async ResourceService.maintenance (/home/user/.joplin-bin/lib/node_modules/joplin/lib/services/ResourceService.js:135:3)
} reason: TypeError: Cannot read property 'encryption_applied' of null
at ResourceService.indexNoteResources (/home/user/.joplin-bin/lib/node_modules/joplin/lib/services/ResourceService.js:57:15)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async ResourceService.maintenance (/home/user/.joplin-bin/lib/node_modules/joplin/lib/services/ResourceService.js:135:3)
Describe what you expected to happen:
Joplin saves the note or at least it stays somewhere. Joplin does not crash.