Don HO
2011-04-27
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
bbluemel
2011-04-30
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
Don HO
2011-05-05
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
Jeff Skyrunner
2011-05-06
I've tried uninstalling and installing again without plugin, but without any luck ://
Don HO
2011-05-21
@airjeff79:
It does not mean you removed all the plugins you installed.
Try to install v5.9 in another directory.
Don
cchris
2011-05-22
Or renaming the plugins folder to say "lugins"
CChris
Anonymous
2011-07-28
Thanks I got the same problem on Windows Vista, the solution rename last 3 of the 4 dlls.
hessam
2011-10-10
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
hessam
2011-10-10
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
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.
ali babei
2012-07-24
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
cchris
2012-07-29
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