Skip to content

App closes when Base64 Text option selected #1519

@jamesatgreymetis

Description

@jamesatgreymetis

Current behavior

App crashes/closes when Base64 Option selected. No other input required.

All other tool options display as expected without error.

Version 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2
Installed via chocolatey

How to reproduce it (as minimally and precisely as possible)

  1. Open App
  2. Expand encoders / decoders
  3. Select Base64 Text, UI updates to show Base64 controls.
  4. half second pause
  5. Boom 💥

Expected behavior

App should not crash.

Screenshots

No response

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2

Relevant Assets/Logs

- [04/01/2025 12:55:25]

Feature name: Unhandled problem
Custom message:
Exception message: Access is denied. (Exception from HRESULT: 0x80070005)
Exception stack trace:
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, Color) + 0xbd
at __Interop.ForwardComStubs.Stub_66[TThis](__ComObject, Color, Int32) + 0x2d
at Windows.UI.Text.ITextCharacterFormat__Impl.Dispatcher.global::Windows.UI.Text.ITextCharacterFormat.put_BackgroundColor(Color) + 0x1e
at DevToys.UI.Controls.CustomTextBox.SetHighlights(IEnumerable1) + 0x473 at DevToys.UI.Controls.CustomTextBox.OnActualThemeChanged(FrameworkElement, Object) + 0xc at Windows.Foundation.TypedEventHandler2.Invoke(TSender, TResult) + 0x2e
at __Interop.Intrinsics.HasThisCall__33[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at DevToys!+0x1326c5e

- [04/01/2025 12:54:57]

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions