For those who got the Unknown Exception on the launch time of Notepad++ 5.9 after upgrating, the plugins which cause this message are identified. The problem should be due to the updating of Scitilla, and the culprits are narrowed to lexer plugins - 7 lexer plugins are tested, 4 plugins have the Unknown Exception issue.
Here is the list of 4 plugins with Unknown Exception issue:
AHKExternalLexer.dll
NppExternalLexers.dll (powershell lexer)
ExternalLexerKVS.dll
Oberon2LexerU.dll
3 tested lexer plugins without issue on the launch time :
GmodLua.dll
WLangLexer.dll
nppColdFusion.dll
I'm checking in Notepad++ code to get the whole picture of problem. If anyone has the idea about the cause of crash, please let me know.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Don,
As far as I'm aware Gmod, WLang and nppCF are all using the Lexer Objects introduced in Scintilla 2.2, the others noted I believe are not, possibly something in Scintilla 2.25 has broke compatibility with Older Lexers missing the Object interface?
Cheers
Ben
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your thought.
That could be the issue - in this case, all these plugins should be removed by the installer to prevent from crash.
I'm still determinate the cause - it could be due to the compiling way. The crash can only be reproduced under XP.
There will not be any crash under windows 7 with the mentioned plugins - that makes debug impossible.
I managed to get a SciLexer.dll compiled under XP with VC 6 (SciLexer.dll which comes with Notepad++ 5.9 was compiled under Windows 7 with VC 2005) - this binary seems the cure of crash - there is no more crash under xp with the mentioned above lexers installed.
So the issue could be the lexer plugins, compiler (for SciLexer.dll : VC6 vs VC 2005) or libaries (for SciLexer.dll : XP vs Win7).
I have no VC 2005 installed in my XP vm. If someone can provide a SciLexer.dll compiled with VC 2005 under XP, it will help.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
or also other dll plugin?
i removed this and work without error but this error comeback now after minutes.
so if developer can make somthing to detect uncompatible plugin or error
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-01-09
Renaming the folder 'plugin' to 'lugin' does solve the problem, but you loose the entrie plugin menu item. In my case, I just delete the NppExternalLexer.dll file in the plugin folder and Notepad++ started up successfully.
Hope this is usefull to someone else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi to all
may be it's too late, but i found an Unknown Exception Error when i installed many plugins on my NPP which had no plugin.
then i tried to check plugins one by one to find out Ratter Plugin.
Yeeeesss, i catch it: dbgpPlugin.dll
in my case there is no other Unknown Exception Error.
OS: XP - service pack 3
NPP: 5.9.6.2
Hope to be helpful
ali
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For those who got the Unknown Exception on the launch time of Notepad++ 5.9 after upgrating, the plugins which cause this message are identified. The problem should be due to the updating of Scitilla, and the culprits are narrowed to lexer plugins - 7 lexer plugins are tested, 4 plugins have the Unknown Exception issue.
Here is the list of 4 plugins with Unknown Exception issue:
AHKExternalLexer.dll
NppExternalLexers.dll (powershell lexer)
ExternalLexerKVS.dll
Oberon2LexerU.dll
3 tested lexer plugins without issue on the launch time :
GmodLua.dll
WLangLexer.dll
nppColdFusion.dll
I'm checking in Notepad++ code to get the whole picture of problem. If anyone has the idea about the cause of crash, please let me know.
Don
Hi Don,
As far as I'm aware Gmod, WLang and nppCF are all using the Lexer Objects introduced in Scintilla 2.2, the others noted I believe are not, possibly something in Scintilla 2.25 has broke compatibility with Older Lexers missing the Object interface?
Cheers
Ben
Ben,
Thank you for your thought.
That could be the issue - in this case, all these plugins should be removed by the installer to prevent from crash.
I'm still determinate the cause - it could be due to the compiling way. The crash can only be reproduced under XP.
There will not be any crash under windows 7 with the mentioned plugins - that makes debug impossible.
I managed to get a SciLexer.dll compiled under XP with VC 6 (SciLexer.dll which comes with Notepad++ 5.9 was compiled under Windows 7 with VC 2005) - this binary seems the cure of crash - there is no more crash under xp with the mentioned above lexers installed.
So the issue could be the lexer plugins, compiler (for SciLexer.dll : VC6 vs VC 2005) or libaries (for SciLexer.dll : XP vs Win7).
I have no VC 2005 installed in my XP vm. If someone can provide a SciLexer.dll compiled with VC 2005 under XP, it will help.
Don
I've tried uninstalling and installing again without plugin, but without any luck ://
@airjeff79:
It does not mean you removed all the plugins you installed.
Try to install v5.9 in another directory.
Don
Or renaming the plugins folder to say "lugins"
CChris
Thanks I got the same problem on Windows Vista, the solution rename last 3 of the 4 dlls.
Any one have this problem with SourceSwitch.dll?also i have problem with most of Lexer of dll
also what is this error
http://s2.share.te.ua/b368691/image18729406.jpg
or also other dll plugin?
i removed this and work without error but this error comeback now after minutes.
so if developer can make somthing to detect uncompatible plugin or error
Renaming the folder 'plugin' to 'lugin' does solve the problem, but you loose the entrie plugin menu item. In my case, I just delete the NppExternalLexer.dll file in the plugin folder and Notepad++ started up successfully.
Hope this is usefull to someone else.
hi to all
may be it's too late, but i found an Unknown Exception Error when i installed many plugins on my NPP which had no plugin.
then i tried to check plugins one by one to find out Ratter Plugin.
Yeeeesss, i catch it: dbgpPlugin.dll
in my case there is no other Unknown Exception Error.
OS: XP - service pack 3
NPP: 5.9.6.2
Hope to be helpful
ali
This is an old plugin, and I haven't heard of it for a long time. Try contacting the author to see whether he can help you there.
CChris