• Login
Community
  • Login

Notepad++ 8.4 Crashes opening XML files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 3 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    brianb1510
    last edited by May 4, 2022, 4:26 AM

    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

    P 1 Reply Last reply May 4, 2022, 1:00 PM Reply Quote 0
    • P
      PeterJones @brianb1510
      last edited by PeterJones May 4, 2022, 1:01 PM May 4, 2022, 1:00 PM

      @brianb1510 ,

      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/

      B 1 Reply Last reply May 4, 2022, 11:57 PM Reply Quote 2
      • B
        brianb1510 @PeterJones
        last edited by May 4, 2022, 11:57 PM

        @peterjones Thanks Peter.

        B 1 Reply Last reply May 5, 2022, 12:22 AM Reply Quote 0
        • B
          brianb1510 @brianb1510
          last edited by May 5, 2022, 12:22 AM

          @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.

          P 1 Reply Last reply May 5, 2022, 1:30 AM Reply Quote 0
          • P
            PeterJones @brianb1510
            last edited by May 5, 2022, 1:30 AM

            @brianb1510 ,

            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++

            B 1 Reply Last reply May 5, 2022, 2:01 AM Reply Quote 2
            • B
              brianb1510 @PeterJones
              last edited by May 5, 2022, 2:01 AM

              @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.

              R 1 Reply Last reply May 5, 2022, 2:37 AM Reply Quote 1
              • R
                rdipardo @brianb1510
                last edited by May 5, 2022, 2:37 AM

                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 .

                B 1 Reply Last reply May 5, 2022, 3:29 AM Reply Quote 2
                • B
                  brianb1510 @rdipardo
                  last edited by brianb1510 May 5, 2022, 3:30 AM May 5, 2022, 3:29 AM

                  @rdipardo I have found the problem plugin.
                  It was version 1.4.3.1 of ColumnTools.
                  I updated to version 1.4.4.1 from

                  https://github.com/vinsworldcom/nppColumnTools/releases

                  and the XML files open with all the rest of my plugins loaded,
                  including XMLTools.

                  1 Reply Last reply Reply Quote 2
                  6 out of 8
                  • First post
                    6/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors