-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
issueIssueIssue
Description
❌ Error report
Describe the error
WinPaletter crash after replace Segoe UI font, but the system is working fine.
How to reproduce the error
- Open WinPaletter
- Go to "Metrics & Font"
- Go to font replacement section
- Replace Segoe UI with any one
- Apply changes
- Log out and log in again
- Open WinPaletter again
WinPaletter Log
//General information
//...........................................................
Report.Date = "8 апреля 2024 г. 19:48:19";
OS = "Windows 11, 10.0.22631.3374, 64-bit";
WinPaletter.Version = "1.0.9.0, Build: Release";
WinPaletter.Language = "Russian";
WinPaletter.Debugging = false;
//Error details
//...........................................................
Exception.message = "Error creating form: Object reference not set to an instance of an object.";
Exception.type = "System.InvalidOperationException";
Exception.stack.trace =
{
at WinPaletter.Forms.CreateInstance[T](T instance)
at WinPaletter.Forms.get_MainForm()
at WinPaletter.User.OnUserSwitch(UserChangeEventArgs e)
at WinPaletter.User.set_SID(String value)
at WinPaletter.UserSwitch.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at WinPaletter.UI.WP.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at WinPaletter.UI.WP.Button.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
};
Exception.target.void_function = "WinPaletter.CreateInstance()";
Exception.assembly = "WinPaletter, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null";
Exception.assembly.file = "D:\\Downloads🔽\\WinPaletter\\WinPaletter.exe";
Exception.HRESULT = -2146233079;
Inner.exception.message = "Object reference not set to an instance of an object.";
Exception.type = "System.NullReferenceException";
Inner.exception.stack.trace =
{
at WinPaletter.Tabs.TitlebarExtender.updateBackDrop()
at WinPaletter.Tabs.TitlebarExtender.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.Control.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.OnChildLayoutResuming(Control child, Boolean performLayout)
at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at System.Windows.Forms.ContainerControl.ResumeAllLayout(Control start, Boolean performLayout)
at System.Windows.Forms.ContainerControl.OnFontChanged(EventArgs e)
at System.Windows.Forms.Form.OnFontChanged(EventArgs e)
at System.Windows.Forms.Control.set_Font(Font value)
at WinPaletter.MainForm.InitializeComponent()
at WinPaletter.MainForm..ctor()
};
Inner.exception.target.void_function = "WinPaletter.updateBackDrop()";
Inner.exception.assembly = "WinPaletter, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null";
Inner.exception.assembly.file = "D:\\Downloads🔽\\WinPaletter\\WinPaletter.exe";
Inner.exception.HRESULT = -2147467261;
Screenshots/Screen records
- Don't add screenshot to exception error dialog if you already wrote WinPaletter Log.
Additional context
There is enough information above
Metadata
Metadata
Assignees
Labels
issueIssueIssue