Skip to content

BUG: Program Plugin fail to init at startup, when enabled and ordered to reindex the all programs, crashes with same message #3409

@TechySC23

Description

@TechySC23

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

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

Python Path: C:\Users\User\AppData\Local\Programs\Python\Python313\python.exe
Node Path: E:\Desktop Folder\My folder\Apps\Node.JS\node.exe

Date: 04/01/2025 09:43:07
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Flow.Launcher.Plugin.Program.Main.IndexUwpPrograms() in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Program\Main.cs:line 235
at Flow.Launcher.Infrastructure.Stopwatch.Normal(String message, Action action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 46
at Flow.Launcher.Plugin.Program.Main.<>c.b__34_1() in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Program\Main.cs:line 248
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Flow.Launcher.Plugin.Program.Main.IndexProgramsAsync() in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Program\Main.cs:line 250
at Flow.Launcher.Plugin.Program.Views.ProgramSetting.ReIndexing() in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Program\Views\ProgramSetting.xaml.cs:line 153
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)

To Reproduce

  1. Download latest build i.e. v1.19.5.9980
  2. then apply all of these plugins

Image

  1. and Do restart of flow launcher and apply these settings
    Settings.json

  2. and do restart flow. then either look for the init error of Program plugin or reindex the programs by clicking "All Programs" button under Programs Plugin

Screenshots

No response

Flow Launcher Version

v1.19.5.9980 BUT happened with v1.19.5 as well, just upgraded to latest build for fast startup

Windows Build Number

10.0.26120.3653 (Insider Windows 11 24H2)

Error Log

LOG.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions