Skip to content

Crash on opening the "about" window #16

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

Closed
MartinKurtz opened this issue Aug 8, 2022 · 1 comment · Fixed by #20
Closed

Crash on opening the "about" window #16

MartinKurtz opened this issue Aug 8, 2022 · 1 comment · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@MartinKurtz
Copy link
Contributor

This occurs when opening the "about" window

WinNUT Bug Report
Os Version : 6.2.9200.0
WinNUT Version : 2.2.8254.18205

WinNUT Parameters :
{
"Delay": 1000,
"AutoReconnect": true,
"MinInputVoltage": 220,
"MaxInputVoltage": 245,
"FrequencySupply": 0,
"MinInputFrequency": 49,
"MaxInputFrequency": 51,
"MinOutputVoltage": 220,
"MaxOutputVoltage": 245,
"MinUPSLoad": 0,
"MaxUPSLoad": 100,
"MinBattVoltage": 18,
"MaxBattVoltage": 30,
"MinimizeToTray": true,
"MinimizeOnStart": true,
"CloseToTray": true,
"StartWithWindows": true,
"UseLogFile": true,
"Log Level": 3,
"ShutdownLimitBatteryCharge": 50,
"ShutdownLimitUPSRemainTime": 600,
"ImmediateStopAction": true,
"Follow_FSD": false,
"TypeOfStop": 2,
"DelayToShutdown": 15,
"AllowExtendedShutdownDelay": false,
"ExtendedShutdownDelay": 15,
"VerifyUpdate": true,
"VerifyUpdateAtStart": false,
"DelayBetweenEachVerification": 0,
"StableOrDevBranch": 0,
"LastDateVerification": ""
}

Error Message :
Exception type: System.NullReferenceException
Exception message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Exception stack trace:
bei WinNUT_Client.About_Gui.Btn_OK_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Last Events :
08.08.2022 12:02:09 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.current.nominal
08.08.2022 12:02:09 Pid: 7660 UPS_Device : UPS is On Line
08.08.2022 12:02:09 Pid: 7660 WinNUT : Updating UPS data for Form.
08.08.2022 12:02:09 Pid: 7660 WinNUT : Battery Charged
08.08.2022 12:02:09 Pid: 7660 WinNUT : Update Dial
08.08.2022 12:02:09 Pid: 7660 WinNUT : Update Icon
08.08.2022 12:02:09 Pid: 7660 WinNUT : NotifyIcon Text =>
WinNUT-Client - 2.2
In Verbindung gebracht
Online
Batteri...
08.08.2022 12:02:09 Pid: 7660 WinNUT : Battery Status => Charged
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Enter Retrieve_UPS_Datas
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.serial
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving battery.runtime
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving output.frequency
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.realpower.nominal
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.power.nominal
08.08.2022 12:02:10 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.current.nominal
08.08.2022 12:02:10 Pid: 7660 UPS_Device : UPS is On Line
08.08.2022 12:02:10 Pid: 7660 WinNUT : Updating UPS data for Form.
08.08.2022 12:02:10 Pid: 7660 WinNUT : Battery Charged
08.08.2022 12:02:10 Pid: 7660 WinNUT : Update Dial
08.08.2022 12:02:10 Pid: 7660 WinNUT : Update Icon
08.08.2022 12:02:10 Pid: 7660 WinNUT : NotifyIcon Text =>
WinNUT-Client - 2.2
In Verbindung gebracht
Online
Batteri...
08.08.2022 12:02:10 Pid: 7660 WinNUT : Battery Status => Charged
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Enter Retrieve_UPS_Datas
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.serial
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving battery.runtime
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving output.frequency
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.realpower.nominal
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.power.nominal
08.08.2022 12:02:11 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.current.nominal
08.08.2022 12:02:11 Pid: 7660 UPS_Device : UPS is On Line
08.08.2022 12:02:11 Pid: 7660 WinNUT : Updating UPS data for Form.
08.08.2022 12:02:11 Pid: 7660 WinNUT : Battery Charged
08.08.2022 12:02:11 Pid: 7660 WinNUT : Update Dial
08.08.2022 12:02:11 Pid: 7660 WinNUT : Update Icon
08.08.2022 12:02:11 Pid: 7660 WinNUT : NotifyIcon Text =>
WinNUT-Client - 2.2
In Verbindung gebracht
Online
Batteri...
08.08.2022 12:02:11 Pid: 7660 WinNUT : Battery Status => Charged
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Enter Retrieve_UPS_Datas
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.serial
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving battery.runtime
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving output.frequency
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.realpower.nominal
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.power.nominal
08.08.2022 12:02:12 Pid: 7660 UPS_Device : Apply Fallback Value when retrieving ups.current.nominal
08.08.2022 12:02:12 Pid: 7660 UPS_Device : UPS is On Line
08.08.2022 12:02:12 Pid: 7660 WinNUT : Updating UPS data for Form.
08.08.2022 12:02:12 Pid: 7660 WinNUT : Battery Charged
08.08.2022 12:02:12 Pid: 7660 WinNUT : Update Dial
08.08.2022 12:02:12 Pid: 7660 WinNUT : Update Icon
08.08.2022 12:02:12 Pid: 7660 WinNUT : NotifyIcon Text =>
WinNUT-Client - 2.2
In Verbindung gebracht
Online
Batteri...
08.08.2022 12:02:12 Pid: 7660 WinNUT : Battery Status => Charged

@MartinKurtz MartinKurtz added the bug Something isn't working label Aug 8, 2022
gbakeman added a commit that referenced this issue Aug 9, 2022
- Also cleaned up code
- Ref issue #16
@gbakeman gbakeman added this to the 2.2 Stable Release milestone Aug 9, 2022
@gbakeman gbakeman linked a pull request Aug 9, 2022 that will close this issue
@MartinKurtz
Copy link
Contributor Author

Appears to have been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants