Flow-Launcher / Flow-Launcher/Flow.Launcher

BUG: Type Initializer Exception for Http

Open
#3,335 8 comments 0 reactions 0 assignees View on GitHub
bug keep-fresh Waiting for response
Dominant language
C#
Stars
15.6k
Forks
644
Avg merge
16h 51m
Merged PRs (30d)
3

Description

### Checks

- [x] I have checked that this issue has not already been reported.

- [x] I am using the latest version of Flow Launcher.

### Problem Description

Flow Launcher version: 1.19.5
OS Version: 26100.3476
IntPtr Length: 8
x64: True

Python Path:
Node Path:
Date: 03/11/2025 18:50:44
Exception:
System.TypeInitializationException: The type initializer for 'Flow.Launcher.Infrastructure.Http.Http' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Flow.Launcher.Infrastructure.Http.Http..cctor()
--- End of inner exception stack trace ---
at Flow.Launcher.Infrastructure.Http.Http.set_API(IPublicAPI value) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Http\Http.cs:line 20
at Flow.Launcher.App.b__14_0() in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 82
at Flow.Launcher.Infrastructure.Stopwatch.NormalAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 58
at Flow.Launcher.App.OnStartupAsync(Object sender, StartupEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 51
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

[2025-03-11.txt](https://github.com/user-attachments/files/19199545/2025-03-11.txt)

### To Reproduce

1. ...
2. ...
3. ...

### Screenshots

_No response_

### Flow Launcher Version

1.19.5

### Windows Build Number

10.0.26100.3476

### Error Log

Python Path:
Node Path:
Date: 03/11/2025 18:50:44
Exception:
System.TypeInitializationException: The type initializer for 'Flow.Launcher.Infrastructure.Http.Http' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Flow.Launcher.Infrastructure.Http.Http..cctor()
--- End of inner exception stack trace ---
at Flow.Launcher.Infrastructure.Http.Http.set_API(IPublicAPI value) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Http\Http.cs:line 20
at Flow.Launcher.App.b__14_0() in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 82
at Flow.Launcher.Infrastructure.Stopwatch.NormalAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 58
at Flow.Launcher.App.OnStartupAsync(Object sender, StartupEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 51
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.