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

Repeated launch crashes due to plugin not actually being removed when prompted #46

Open
tonyping opened this issue Aug 21, 2023 · 4 comments
Labels
maintainer can't replicate The core dev can't replicate this issue, making a fix difficult

Comments

@tonyping
Copy link

OS: Windows 11 Insiders Canary [25931]
Relevant background info:

  • JsonToolsNppPlugin [5.6.0]
  • Notepad++ [8.5.6]

I know this has been brought up before, but I'm getting the "Failed to load, JsonTools.dll is not compatible with the current version of Notepad++." with JsonToolsNppPlugin [5.6.0]. Possibly related to eef91b something or another.

But the reason I'm bringing up in a new issue, is that when responding to "Do you want to remove this plugin from the plugins directory to prevent this message from the next launch?" and clicking Yes on the dialog, JsonToolsNppPlugin continues on crashing because as it turns out; was unable to actually remove from the plugins folder, leading to an endless crash loop.

So is the inability to remove something related w/ the Npp Plugins Admin, or plugin itself? Because while I've seen several posts in the Npp forums regarding the CET flag causing crashing with other plugins, none of the posts seemed to mention any issues with removing.

@molsonkiko
Copy link
Owner

@tonyping
Thanks for letting me know about this issue. Unfortunately I can't replicate this because I don't currently have access to a Windows 11 PC. Out of curiosity, have you had this problem before on Windows 10, or did it emerge on Windows 11?

That's very odd that JsonTools continued crashing after Plugins Admin tried to remove it. I'm not sure if I've had similar problems before with other problems; I think I may have. My general sense is that Plugins Admin is not very good at removing unusable plugins, and that the infinite loop issue you're describing is the fault of Plugins Admin.

Obviously it sucks that JsonTools has all these weird crash bugs, but I'm clueless as to their origin.

@molsonkiko
Copy link
Owner

molsonkiko commented Aug 22, 2023 via email

@cuboooooo
Copy link

Bumping this. I have the same issue, and I cannot even find JsonTools.dll on my hard drive. My guess is that the plugin manager did manage to delete the .dll file, but there's some residual cache that is causing it to crash.

@molsonkiko
Copy link
Owner

The Notepad++\plugins\JsonTools directory contains other files besides JsonTools.dll. Maybe deleting that entire folder would help?

Since I have no way to replicate this, I might guess that maybe it has something to do with the %AppData%/Roaming/Notepad++/plugins/config/JsonTools directory or lack thereof? JsonTools stores data there, and I have no particular idea why its presence or absence would cause NPP to crash *even after the plugin was uninstalled, but... 🤷

@molsonkiko molsonkiko added help wanted Extra attention is needed maintainer can't replicate The core dev can't replicate this issue, making a fix difficult and removed help wanted Extra attention is needed labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer can't replicate The core dev can't replicate this issue, making a fix difficult
Projects
None yet
Development

No branches or pull requests

3 participants