Skip to content

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

Open
@hswlab

Description

@hswlab

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions