Notepad++ 8.4 Crashes opening XML files
-
Opening some, but not all XML files imediatly crashes Notepad++ 8.4.
Debug Info:-
Notepad++ v8.4 (64-bit)
Build time : Apr 20 2022 - 03:31:06
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.2094
Current ANSI codepage : 1252
Plugins : BigFiles.dll CodeAlignmentNpp.dll ColumnTools.dll ComparePlugin.dll ExtSettings.dll FWDataViz.dll HexEditor.dll ImgTag.dll Linefilter3.dll Linter.dll Merge files in one.dll mimeTools.dll NavigateTo.dll npp.connections.dll NppConverter.dll NppEventExec.dll NppExec.dll NppExport.dll NppGTags.dll NPPJSONViewer.dll NppMenuSearch.dll NppPluginOpenHost.dll nppplugin_ofis2.dll NppSaveAsAdmin.dll NppXmlTreeviewPlugin.dll PreviewHTML.dll PythonScript.dll Remove Duplicate Lines.dll RunMe.dll SQLinFormNpp64.dll SurroundSelection.dll XBrackets.dll XMLTools.dll _CustomizeToolbar.dll -
Others have reported that problem – in this forum, and in the issues#11603. The root cause is in the XMLTools plugin, and it is being fixed there (as per XML Tools #154).
According to the plugin issue post, plugin version v3.1.1.13 fixes the issue. You can manually download that and overwrite your XMLTools.xml with the one from v3.1.1.13, restart Notepad++, and the issue should be fixed. (The next Notepad++ release will link Plugins Admin to the updated plugin version, but until then, you have to do it manually instead of with Plugins Admin.) If upgrading to v3.1.1.13 does not fix it for you, please create an issue with the XML Tools developer at https://github.com/morbac/xmltools/issues/
-
@peterjones Thanks Peter.
-
@brianb1510 Just downloaded the XMLToolsplugin and replaced the DLL but the problem remains.
I then completely removed the XMLTools and the NppXmlTreeViewPlugin and restarted NPP.
The problem remains. -
Try running with no plugins – easiest by running with command line option
-noPlugin
– because you have a lot of plugins, and most probably have not been updated to work with the v8.3 API update in Notepad++ -
@peterjones said in Notepad++ 8.4 Crashes opening XML files:
-noPlugin
Peter, thanks.
That worked, I will have to work through the plugins one by one till I identify which one is causing the problem.
I will post here when I work it out. -
Start with “Merge files in one”; this data structure here is deadly to 64-bit Noteapd++ 8.3 and up:
public Sci_TextToFind(int cpmin, int cpmax, string searchText) { // . . . }
To more quickly identify the safe ones, check their versions against the public whitelist.
-
@rdipardo I have found the problem plugin.
It was version 1.4.3.1 of ColumnTools.
I updated to version 1.4.4.1 fromhttps://github.com/vinsworldcom/nppColumnTools/releases
and the XML files open with all the rest of my plugins loaded,
including XMLTools.