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

Electron.AutoUpdater.CheckForUpdatesAsync() null reference exception #868

Open
hswlab opened this issue Jan 10, 2025 · 0 comments
Open

Electron.AutoUpdater.CheckForUpdatesAsync() null reference exception #868

hswlab opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels

Comments

@hswlab
Copy link

hswlab commented Jan 10, 2025

equal issues

I viewed this issue #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
image

Version

  • node.js: v22.12.0
  • electron: v18.12.1
  • I'm not sure which version of Electron CLI is installed. I installed all Electron .NET dependencies in december 2024

Project details

image
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.

image

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.

@hswlab hswlab added the bug label Jan 10, 2025
@GregorBiswanger GregorBiswanger self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants