Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.62k stars 2.37k forks source link

System.NullReferenceException: Object reference not set to an instance of an object. #4050

Closed 209914097 closed 5 months ago

209914097 commented 5 months ago

2024-06-16 09:30:12.8794|INFO|Wox.App|OnStartup|Begin Wox startup---------------------------------------------------- 2024-06-16 09:30:13.6122|INFO|Wox.App|OnStartup|## Runtime Info

2024-06-16 09:30:15.5134|FATAL|DispatcherUnhandledException|Error id: acb73872e82a4fc093dab738d4fd42da Exception begin -------------------- System.NullReferenceException: Object reference not set to an instance of an object. HResult: -2147467261 Data: -> <> Source: Wox.Core TargetAssembly: Wox.Core, Version=1.4.1196.0, Culture=neutral, PublicKeyToken=null TargetModule: Wox.Core.dll TargetSite: Boolean b27_0(Wox.Plugin.PluginPair) StackTrace: -------------------- at Wox.Core.Plugin.PluginManager.<>c27`1.b27_0(PluginPair p) in C:\projects\wox\Wox.Core\Plugin\PluginManager.cs:line 241 at System.Linq.Enumerable.WhereListIterator`1.MoveNext() at Wox.Core.Resource.Internationalization.AddPluginLanguageDirectories() in C:\projects\wox\Wox.Core\Resource\Internationalization.cs:line 47 at Wox.Core.Resource.Internationalization..ctor() in C:\projects\wox\Wox.Core\Resource\Internationalization.cs:line 30 at Wox.Core.Resource.InternationalizationManager.get_Instance() in C:\projects\wox\Wox.Core\Resource\InternationalizationManager.cs:line 18 at Wox.ViewModel.MainViewModel..ctor(Boolean useUI) in C:\projects\wox\Wox\ViewModel\MainViewModel.cs:line 79 at Wox.App.b__15_0() in C:\projects\wox\Wox\App.xaml.cs:line 106 at Wox.Infrastructure.Stopwatch.StopWatchNormal(Logger logger, String message, Action action, String methodName) in C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:line 33 at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b1_0(Object unused) 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) Exception end ------------------------------------------------------------

Runtime Info

SDK Info

Assemblies - Wox.exe

2024-06-16 09:47:27.0671|INFO|Wox.App|Dispose|Wox Start Displose 2024-06-16 09:47:42.7695|INFO|Wox.App|OnStartup|Begin Wox startup---------------------------------------------------- 2024-06-16 09:47:42.9738|INFO|Wox.App|OnStartup|## Runtime Info

2024-06-16 09:47:43.8260|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <14ms> 2024-06-16 09:47:43.8260|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <27ms> 2024-06-16 09:47:43.8260|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for <????> is <4ms> 2024-06-16 09:47:43.8417|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <13ms> 2024-06-16 09:47:43.8417|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <17ms> 2024-06-16 09:47:43.8417|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <22ms> 2024-06-16 09:47:43.8417|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <4ms> 2024-06-16 09:47:43.8260|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <29ms> 2024-06-16 09:47:43.8626|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <26ms> 2024-06-16 09:47:43.8728|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <48ms> 2024-06-16 09:47:43.8911|INFO|Wox.Plugin.Program.Main|preloadPrograms|Preload programs cost <24ms> 2024-06-16 09:47:43.8972|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <56ms> 2024-06-16 09:47:43.8972|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <27ms> 2024-06-16 09:47:43.8972|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <66ms> 2024-06-16 09:47:43.8972|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:43.9270|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:43.9270|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:43.9270|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:43.9530|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:43.9686|INFO|Wox.Plugin.Program.Main|preloadPrograms|Number of preload win32 programs <128> 2024-06-16 09:47:43.9828|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <0ms> 2024-06-16 09:47:44.0472|INFO|Wox.Plugin.Program.Main|preloadPrograms|Number of preload uwps <0> 2024-06-16 09:47:44.0628|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <261ms> 2024-06-16 09:47:44.1173|INFO|Wox.Core.Plugin.PluginManager|InitializePlugins|Total init cost for is <302ms> 2024-06-16 09:47:44.1575|INFO|Wox.Core.Resource.Theme|.ctor|Runtime Version 10.0.22621.0 True 2024-06-16 09:47:44.3308|INFO|Wox.App|OnStartup|SDK Info: ## SDK Info

2024-06-16 09:47:44.3534|INFO|Wox.App|OnStartup|End Wox startup ----------------------------------------------------
2024-06-16 09:47:44.3534|INFO|Wox.App|OnStartup|Startup cost <1681ms> 2024-06-16 09:47:46.1423|INFO|Wox.Plugin.Program.Main|IndexPrograms|Win32 index cost <62ms>

qianlifeng commented 5 months ago

see #3937