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

Fatal error when clicking on something(?) in the title bar #10979

Open
bbreak opened this issue Sep 3, 2024 · 6 comments
Open

Fatal error when clicking on something(?) in the title bar #10979

bbreak opened this issue Sep 3, 2024 · 6 comments
Labels
bug It's a bug stale An issue that hasn't been active for a while...

Comments

@bbreak
Copy link

bbreak commented Sep 3, 2024

Operating system

macOS

Joplin version

3.0.15

Desktop version info

Joplin 3.0.15 (prod, darwin)

Client ID: de4c7d007b8c4785b6cb3e5519421990
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 598677b

Backup: 1.4.1

Current behaviour

I'm not entirely sure what I clicked on, but suddenly the whole Joplin window filled with this error output:

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](https://github.com/laurent22/joplin/issues/new?assignees=&labels=bug&projects=&template=BUG_REPORT.yml#), which will temporarily disable all plugins.

Message
window.EmojiButton is not a constructor

Version info
Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.0.13 (prod, darwin)

Client ID: de4c7d007b8c4785b6cb3e5519421990
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 599cf5b

Backup: 1.4.1
Plugins
[
    {
        "id": "io.github.jackgruber.backup",
        "name": "Backup",
        "enabled": true,
        "version": "1.4.1"
    }
]
Stack trace
TypeError: window.EmojiButton is not a constructor
    at /Applications/Joplin.app/Contents/Resources/app.asar/gui/EditFolderDialog/IconSelector.js:54:19
    at commitHookEffectListMount (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:23150:26)
    at commitPassiveMountOnFiber (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24926:13)
    at commitPassiveMountEffects_complete (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24891:9)
    at commitPassiveMountEffects_begin (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24878:7)
    at commitPassiveMountEffects (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24866:3)
    at flushPassiveEffectsImpl (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:27039:3)
    at flushPassiveEffects (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:26984:14)
    at /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:26769:9
    at workLoop (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:266:34)
Component stack

    at IconSelector (/Applications/Joplin.app/Contents/Resources/app.asar/gui/EditFolderDialog/IconSelector.js:20:84)
    at div
    at div
    at div
    at div
    at div
    at div
    at div
    at I (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:19269)
    at div
    at I (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:19269)
    at Dialog (/Applications/Joplin.app/Contents/Resources/app.asar/gui/Dialog.js:33:70)
    at default_1 (/Applications/Joplin.app/Contents/Resources/app.asar/gui/EditFolderDialog/Dialog.js:29:64)
    at exports.ThemeProvider (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:25001)
    at ae (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:13440)
    at RootComponent (/Applications/Joplin.app/Contents/Resources/app.asar/gui/Root.js:104:1)
    at ConnectFunction (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:74)
    at ErrorBoundary (/Applications/Joplin.app/Contents/Resources/app.asar/gui/ErrorBoundary.js:21:9)
    at Provider (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/Provider.js:19:3)

Expected behaviour

Clicking on normal window UI controls should not produce a fatal error.

p.s. Thanks for the continued work on this great tool!

Logs

No response

@bbreak bbreak added the bug It's a bug label Sep 3, 2024
@personalizedrefrigerator
Copy link
Collaborator

Thank you for reporting this!

I'm linking to an issue that seems related: #10590

@laurent22
Copy link
Owner

So I have this issue now and then because I use two accounts on macOS. And if I upgrade the app on one account, then switch to the other profile and use the app (which was already open), it's going to crash in that way. Is that also your situation @bbreak by any chance?

Copy link
Contributor

github-actions bot commented Oct 4, 2024

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 github-actions bot added the stale An issue that hasn't been active for a while... label Oct 4, 2024
@bbreak
Copy link
Author

bbreak commented Oct 4, 2024 via email

@bbreak
Copy link
Author

bbreak commented Oct 4, 2024 via email

@github-actions github-actions bot removed the stale An issue that hasn't been active for a while... label Oct 5, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

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 github-actions bot added the stale An issue that hasn't been active for a while... label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

3 participants