You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DevToys crashes when I open Text Diff, put text in both sides (could be with a difference or without) and move the window around.
How to reproduce it (as minimally and precisely as possible)
I open up DevToys
I go to TextDiff
I paste in some text in Text Diff on both sides with or without differences
I move the window from around
DevToys crashes
You can even just paste the following text on both sides:
1. I open up DevToys
2. I go to TextDiff
3. I paste in some text in Text Diff on both sides with or without differences
4. I move the window from one monitor to the other
5. DevToys crashes
Feature name: SmartDetection - Check if tool is recommended
Custom message: Tool : Xml Validator
Exception message: Data at the root level is invalid. Line 1, position 1.
Exception stack trace:
at System.Xml.XmlTextReaderImpl.Throw(Exception) + 0x6c
at System.Xml.XmlTextReaderImpl.Throw(String, String) + 0x56
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() + 0x1a5
at System.Xml.XmlTextReaderImpl.ParseDocumentContent() + 0x22d
at System.Xml.XmlTextReaderImpl.Read() + 0x355
at System.Xml.XmlTextReader.Read() + 0xf
at System.Xml.Schema.Parser.StartParsing(XmlReader, String) + 0xb7
at System.Xml.Schema.Parser.Parse(XmlReader, String) + 0x10
at System.Xml.Schema.XmlSchema.Read(XmlReader, ValidationEventHandler) + 0x86
at DevToys.ViewModels.Tools.XmlValidator.XmlValidatorToolProvider.ValidateXsdData(String) + 0x12a
at DevToys.ViewModels.Tools.XmlValidator.XmlValidatorToolProvider.CanBeTreatedByTool(String) + 0x18
at DevToys.Api.Tools.ToolProviderViewItem.d__40.MoveNext() + 0xc0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at DevToys.ViewModels.MainPageViewModel.<>c__DisplayClass88_1.<b__2>d.MoveNext() + 0x107
The text was updated successfully, but these errors were encountered:
Current behavior
DevToys crashes when I open Text Diff, put text in both sides (could be with a difference or without) and move the window around.
How to reproduce it (as minimally and precisely as possible)
You can even just paste the following text on both sides:
Expected behavior
The window moves with it crashing
Screenshots
No response
Workaround
No response
Affected platforms
Windows
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
Versions 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2
Relevant Assets/Logs
- [02/20/2025 14:31:11]
Feature name: SmartDetection - Check if tool is recommended
Custom message: Tool : Xml Validator
Exception message: Data at the root level is invalid. Line 1, position 1.
Exception stack trace:
at System.Xml.XmlTextReaderImpl.Throw(Exception) + 0x6c
at System.Xml.XmlTextReaderImpl.Throw(String, String) + 0x56
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() + 0x1a5
at System.Xml.XmlTextReaderImpl.ParseDocumentContent() + 0x22d
at System.Xml.XmlTextReaderImpl.Read() + 0x355
at System.Xml.XmlTextReader.Read() + 0xf
at System.Xml.Schema.Parser.StartParsing(XmlReader, String) + 0xb7
at System.Xml.Schema.Parser.Parse(XmlReader, String) + 0x10
at System.Xml.Schema.XmlSchema.Read(XmlReader, ValidationEventHandler) + 0x86
at DevToys.ViewModels.Tools.XmlValidator.XmlValidatorToolProvider.ValidateXsdData(String) + 0x12a
at DevToys.ViewModels.Tools.XmlValidator.XmlValidatorToolProvider.CanBeTreatedByTool(String) + 0x18
at DevToys.Api.Tools.ToolProviderViewItem.d__40.MoveNext() + 0xc0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at DevToys.ViewModels.MainPageViewModel.<>c__DisplayClass88_1.<b__2>d.MoveNext() + 0x107
The text was updated successfully, but these errors were encountered: