Skip to content

XML Tools: Pretty print crashes Notepad++ #11173

@rob-spoor

Description

@rob-spoor

I have a 45KB XML document that I unfortunately cannot share. This is returned without any formatting, as a single line. I therefore want to use Notepad++ to pretty print it.

If I open a new file tab, paste the document in there, and try to pretty print the document (through the menu or Ctrl+Alt+Shift+B), Notepad++ crashes. There is no error message, it simply disappears. If I restart Notepad++ all the files are still there (even the unsaved ones), but it again crashes if I try to pretty print again.

The document itself is valid, because if i use a different tool then it gets formatted just perfectly.

Notepad++ debug information:

Notepad++ v8.3   (64-bit)
Build time : Feb  3 2022 - 03:39:05
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit) 
OS Version : 2009
OS Build : 19044.1466
Current ANSI codepage : 1252
Plugins : BigFiles.dll DSpellCheck.dll HexEditor.dll HTMLTag.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppEditorConfig.dll NppExport.dll NPPJSONViewer.dll PreviewHTML.dll XMLTools.dll 

XML Tools version: 3.1.1.10

Information from the Windows Event Log:

Exception code: 0xc000041d
Fault offset: 0x000000000003efff
Faulting process id: 0x1664
Faulting application start time: 0x01d81e5e9a9684a8
Faulting application path: C:\Program Files\Notepad++\notepad++.exe
Faulting module path: C:\Program Files\Notepad++\notepad++.exe
Report Id: a85f3c75-c09b-461c-a343-ab1c14906a52
Faulting package full name: 
Faulting package-relative application ID: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions