Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after anysetting change HKEY_CURRENT_USER\Software\WinNUT\Connexion #166

Open
GOUKI9999 opened this issue Mar 2, 2023 · 1 comment

Comments

@GOUKI9999
Copy link

GOUKI9999 commented Mar 2, 2023

win11 22H2 22621.1344 /v2.0.7722.30975 /.net v4.0.30319 &3.5 &3.0

Exception type: System.NullReferenceException
Exception message: 未将对象引用设置到对象的实例。
Exception stack trace:
在 WinNUT_Client_Common.Nut_Socket.get_IsKnownUPS(String Test_UPSname)
在 WinNUT_Client_Common.UPS_Device.Connect_UPS()
在 WinNUT_Client_Common.UPS_Device..ctor(Nut_Parameter Nut_Config, Logger& LogFile)
在 WinNUT_Client.WinNUT.WinNUT_Load(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

First run seems everything was ok, but when I changed any setting (ip port name etc.)in connection tab of gui, it will crash at rerunning

Even I tried to export the reg file from other win10 computer that clinet works fine there , and inport file to this one, it not works. HKEY_CURRENT_USER\Software\WinNUT

After several times reinstall repair ,It crash yet

@gbakeman
Copy link
Contributor

gbakeman commented Mar 2, 2023

Please see #136 and try the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants