Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error: Invalid state: all arguments must be non-null. #3083

Closed
yanjingfan opened this issue Feb 28, 2022 · 2 comments
Closed

Unexpected error: Invalid state: all arguments must be non-null. #3083

yanjingfan opened this issue Feb 28, 2022 · 2 comments
Labels
🐝 resolved/fixed but not released The bug has been fixed and the new version is not released, So it still opened 🦞 resolved/duplicate This issue or pull request already exists

Comments

@yanjingfan
Copy link

Description

An unexpected error occurred in the main process.

Stack Trace

Error: Invalid state: all arguments must be non-null.
    at Object.register (D:\Program Files\MarkText\resources\app.asar\node_modules\@hfelix\electron-localshortcut\src\electron-localshortcut.js:167:11)
    at Object.registerKeyHandlers (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:288839)
    at Object.addEditorMenu (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:295113)
    at Xt.createWindow (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:254198)
    at Object._createEditorWindow (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:302982)
    at Object._openPathList (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:304520)
    at Object._openFilesToOpen (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:303313)
    at App.<anonymous> (D:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:300903)
    at App.emit (node:events:394:28)

Version

MarkText: v0.17.0
Operating system: Windows_NT x64 10.0.19044 (win32)

@yanjingfan
Copy link
Author

I just delete the Misc 1st to 10st,and add Transform into Heading 1 to 6
image
image

@fxha
Copy link
Contributor

fxha commented Feb 28, 2022

Duplicate of #3074, but I'll keep this open until a hotfix is released.

@fxha fxha added 🦞 resolved/duplicate This issue or pull request already exists 🐝 resolved/fixed but not released The bug has been fixed and the new version is not released, So it still opened labels Feb 28, 2022
@fxha fxha closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐝 resolved/fixed but not released The bug has been fixed and the new version is not released, So it still opened 🦞 resolved/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants