mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electron.AutoUpdater.CheckForUpdatesAsync() null reference exception #967
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hswlab on GitHub (Jan 10, 2025).
Originally assigned to: @GregorBiswanger on GitHub.
equal issues
I viewed this issue https://github.com/ElectronNET/Electron.NET/issues/374, but I think i have a different problem, because I tested on a running electron application where electron was already running.
For debugging I added the Running Process to my debugger

Version
Project details
This is a windows application
Problem
The update process worked for a long time, but at some point it stopped working.
During debugging I noticed that the method Electron.AutoUpdater.CheckForUpdatesAsync() throws a nullpointer exception. Unfortunately, I cannot look into the method during the debugging process to say more precisely where the problem lies.
The rest of my application is working just fine, it is only the updater, which is not working anymore. The call of Electron.App.GetVersionAsync() is also giving me a valid number.
@FlorianRappl commented on GitHub (Oct 31, 2025):
Outdated - use
ElectronNET.CoreandElectronNET.Core.AspNet.See Wiki / What's New.