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

An exception occured: Access violation #104

Open
Nightwing0815 opened this issue Feb 9, 2021 · 25 comments
Open

An exception occured: Access violation #104

Nightwing0815 opened this issue Feb 9, 2021 · 25 comments

Comments

@Nightwing0815
Copy link

Hi,

just installed the plugin and get following error:
1

Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : ON Local Conf mode : OFF OS Name : Windows 7 Ultimate (64-bit) OS Build : 7601.0 Current ANSI codepage : 1252 Plugins : CodeAlignmentNpp.dll ComparePlugin.dll DSpellCheck.dll jN.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppEditorConfig.dll NppExport.dll
What needs to be done?

THX in advance,

ToM

@sieukrem
Copy link
Owner

sieukrem commented Feb 9, 2021

It could be an incompatibility with some of other plugins. Can you try to uninstall other plugins, one by one!

@Nightwing0815
Copy link
Author

Of course. At least deinstalled all plugins, except this one, the error is still there.
I'll try it on my office PC later today...

ToM

@sieukrem
Copy link
Owner

Which version of jN?

@Nightwing0815
Copy link
Author

Notepad++ v7.9 (64-bit) Build time : Sep 22 2020 - 03:19:04 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS Name : Windows 10 Pro for Workstations (64-bit) OS Version : 1909 OS Build : 18363.959 Current ANSI codepage : 1252 Plugins : CodeAlignmentNpp.dll 14.1.107 ComparePlugin.dll 2.0.1 DSpellCheck.dll 1.4.17 NppEditorConfig.dll 0.4 jN.dll 2.2.185.6 NPPJSONViewer.dll 1.40 mimeTools.dll 2.5 NppExport.dll 0.2.9

On my office computer, there's no error.
So I'll post you later the same from my home pc...

ToM

@Nightwing0815
Copy link
Author

A bit late, but here it comes :-)

Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : ON Local Conf mode : OFF OS Name : Windows 7 Ultimate (64-bit) OS Build : 7601.0 Current ANSI codepage : 1252 Plugins : CodeAlignmentNpp.dll 14.1.107 ComparePlugin.dll 2.0.1 DSpellCheck.dll 1.4.19 MarkdownViewerPlusPlus.dll 0.8.2 mimeTools.dll 2.5 nppConverter.dll 4.2.1 NppEditorConfig.dll 0.4 NppExport.dll 0.2.9 NPPJSONViewer.dll 4.2.1 jN.dll 2.2.185.6

Settings from my home pc, where the error occures...

ToM

@sieukrem
Copy link
Owner

The only one thing I see is the Npp version. And you still have other plugins in your environment

@sieukrem
Copy link
Owner

sieukrem commented Feb 11, 2021

So I tried out v7.9.1 in my environment, no crash. Please try to remove plugins.
Pluginmanger does not offer installation of
codealignmentnpp
Nppjsonviewer
So I can not check them. For security reasons I do not want to install plugins which are listed in pm.

@Nightwing0815
Copy link
Author

And you still have other plugins in your environment

This is an interesting fact...
Let me look, reinstall, delete all data on weekend, just arrived home from work...

ToM

@Nightwing0815
Copy link
Author

Okay, just ran a few setups: complete deinstall, reinstall --> nothing changed.
Loaded the portable version, same...
So i think, this might be a problem with my win7x64 installation @ home pc, cause on win10x64 on my work pc, everything is fine.
I'd say, let's wait to an update from npp, or do you have another idea?

ToM

@sieukrem
Copy link
Owner

You can check if there is crash dump. Usually npp creates one in npps root directory. If you find one then attach it to request

@sieukrem
Copy link
Owner

@Nightwing0815, do have any progress?

@Nightwing0815
Copy link
Author

No, a crash dump wasn't there, so i had no chance for further investigation.
I just deinstalled it, cause i haven't the time, to dig deeper...

ToM

@Kpax7
Copy link

Kpax7 commented Sep 16, 2022

Hello there
I can confirm that I have the same problem with the latest versions of npp and jN:


Plugin Exception

An exception occurred due to plugin: jN.dll
Exception reason: Access violation

OK

I also tried everything including uninstall, reinstall, update, removing everyother plugin,...
I guess it's something related to windows 7?
Here's the debugging info:

Notepad++ v8.4.5 (32-bit) Build time : Sep 3 2022 - 03:56:37 Path : C:\Program Files (x86)\Notepad++_8.4.5\notepad++.exe Command Line : Admin mode : ON Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 7 Ultimate (64-bit) OS Build : 7601.0 Current ANSI codepage : 1256 Plugins : jN (2.2.185.8) mimeTools (2.8) NppConverter (4.4) NppExport (0.4)

@yerpj
Copy link

yerpj commented Sep 28, 2022

Same here, with version 8.4.5 32-bit.
Installed plugins:

  • DSpellCheck 1.4.6
  • jN Notepad++ Plugin 2.2.185.6
  • MIME Tools 2.8
  • Converter 4.4
  • NppExport 0.4

@sieukrem
Copy link
Owner

It is again windows 7.

  1. Can you please look for a dump file?
  2. Which action do you do so that it crashes?
  3. Can you uninstall other plugins?

@Kpax7
Copy link

Kpax7 commented Sep 29, 2022

Thanks for the reply.
Windows 7 is still widely used and works well with other things

  1. Yeah I looked at npp installation folder and no dump is created automatically, as @Nightwing0815 has already stated earlier.

No, a crash dump wasn't there, so i had no chance for further investigation. I just deinstalled it, cause i haven't the time, to dig deeper...

ToM

  1. There is no particular action. If you just install the plugin from the plugin admin or manually through copying it to the plugins folder, you get the error message upon the npp startup.

  2. I totally uninstalled every other plugin. No luck. Uninstalled every plugin including jN and installed jN again. No luck.

Is there any debug/verbouse mode or error log in notepad++ to see what is actually happening?
Is there any dependency that has been added to the jN in the 2021 versions that may be lacking in Windows 7 installations?

@yerpj
Copy link

yerpj commented Sep 29, 2022

It is again windows 7.

By the way, I am experiencing that error on Windows 10 Enterprise (10.0.18363)

Could it be related to the 32-bit version? My Notepad++ is 32-bit

@onolox
Copy link

onolox commented Mar 23, 2023

I have this problem, I think it's related to highlight, when I double click the file attached in random places the error appear. Specially the line 204 in "addFlowTowerTest".
dump attached.

CalibrationShapes.zip
NppDump.zip

@sieukrem
Copy link
Owner

@onolox thanks for the dump file and example file. Sadly I can't reproduce the issue with 7.9.5. I will try later with yours 8.4.2.

The stack of dump file starts and ends in scripting engine, so I can't see the code of jN causing the problem.

@sieukrem
Copy link
Owner

@onolox I have built plugin with debug symbols, so that I can see more details in the dump file. Can you please try out following builds x64 x86 and then upload the dump file

@onolox
Copy link

onolox commented Mar 23, 2023

@onolox
Copy link

onolox commented Mar 23, 2023

I tried installing notepad++ v8.5 and intalling the plugins again, and bring the configs, no exception is happening now.

@sieukrem
Copy link
Owner

Please check if exception occures with this build x64 x86

@onolox
Copy link

onolox commented Mar 23, 2023

Alright! No more errors! n++ x86.
I saw that you have increased the size of the icons in the bar too!

@Nightwing0815
Copy link
Author

Just a bit too late for me, I don't use windows any more :-)
Sadly, there's no npp for Linux...

ToM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants