Skip to content

NullReferenceException when trying to start Codex APP using PowerToys #46153

@Hujellymola

Description

@Hujellymola

Microsoft PowerToys version

0.97.2

Installation method

Microsoft Store

Area(s) with issue?

PowerToys Run

Steps to reproduce

Alt + Space to call out PowerToys, then type codex to try to start it.

Version: 0.97.2.0
OS Version: Microsoft Windows NT 10.0.26200.0
IntPtr Length: 8
x64: True
Date: 2026/3/16 14:38:54
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Plugin.Program.Programs.UWPApplication.<>c__DisplayClass64_0.b__0()
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 Microsoft.Plugin.Program.Programs.UWPApplication.Launch(IPublicAPI api, String queryArguments)
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)

✔️ Expected Behavior

successfully start codex

❌ Actual Behavior

System.NullReferenceException

Upload Bug Report ZIP-file

No response

Additional Information

No response

Other Software

No response

Metadata

Metadata

Labels

Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerToys RunImproved app launch PT Run (Win+R) Window

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions