microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.02k stars 6.43k forks source link

Exception full name: System.Runtime.InteropServices.COMException #5481

Closed ForestL18 closed 4 years ago

ForestL18 commented 4 years ago

2020-08-02 07:30:23.5363|INFO|App.OnStartup|Begin PowerToys Run startup ---------------------------------------------------- 2020-08-02 07:30:23.5819|INFO|App.OnStartup|Runtime info: Version: 1.0.0 OS Version: Microsoft Windows NT 10.0.19041.0 IntPtr Length: 8 x64: True 2020-08-02 07:30:24.1911|INFO|ImageLoader.Initialize|Preload images cost <23ms> 2020-08-02 07:30:24.1911|INFO|ImageLoader.Initialize|Number of preload images is <0>, Images Number: 4, Unique Items 4 2020-08-02 07:30:24.3762|INFO|Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <52ms> 2020-08-02 07:30:24.3762|INFO|Wox.Infrastructure.Alphabet.Initialize|Number of preload pinyin combination<0> 2020-08-02 07:30:24.4362|INFO|Microsoft.Plugin.Program.Main|Preload programs cost <3ms> 2020-08-02 07:30:24.4362|INFO|Microsoft.Plugin.Program.Main|Number of preload win32 programs <0> 2020-08-02 07:30:28.8615|ERROR||------------- BEGIN Microsoft.Plugin.Program exception ------------- 2020-08-02 07:30:28.8615|ERROR|| Exception full name: System.Runtime.InteropServices.COMException Error status: KNOWN Class name: Win32 Calling method: LnkProgram Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Can be ignored and Wox should still continue, however the program may not be loaded 2020-08-02 07:30:28.8831|ERROR||------------- END Microsoft.Plugin.Program exception ------------- 2020-08-02 07:30:28.9153|ERROR||------------- BEGIN Microsoft.Plugin.Program exception ------------- 2020-08-02 07:30:28.9622|ERROR|| Exception full name: System.Runtime.InteropServices.COMException Error status: KNOWN Class name: Win32 Calling method: LnkProgram Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player.lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Can be ignored and Wox should still continue, however the program may not be loaded 2020-08-02 07:30:28.9622|ERROR||------------- END Microsoft.Plugin.Program exception ------------- 2020-08-02 13:31:37.2408|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\QueryHistory.json>> 2020-08-02 13:31:37.2408|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\UserSelectedRecord.json>> 2020-08-02 13:31:37.2408|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\TopMostRecord.json>> 2020-08-02 13:31:37.2572|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Settings.json>> 2020-08-02 13:31:37.2572|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Folder\FolderSettings.json>> 2020-08-02 13:31:37.2572|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Indexer\Settings.json>> 2020-08-02 13:31:37.2572|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\Settings.json>> 2020-08-02 13:31:37.2751|FATAL|FaultyLogger|Wrong logger message format <|BinaryStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Cache\Win32.cache>> 2020-08-02 13:31:37.2751|FATAL|FaultyLogger|Wrong logger message format <|BinaryStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Cache\UWP.cache>> 2020-08-02 13:31:37.2751|FATAL|FaultyLogger|Wrong logger message format <|JsonStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\Settings.json>> 2020-08-02 13:31:37.2842|FATAL|FaultyLogger|Wrong logger message format <|BinaryStorage.Save|Saving cached data| <C:\Users\forest\AppData\Local\Microsoft\PowerToys\PowerToys Run\Cache\Image.cache>> 2020-08-02 17:20:12.9826|FATAL|UnHandledException|

Exception

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
   Source: System.ComponentModel.TypeConverter
   TargetAssembly: System.ComponentModel.TypeConverter, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
   TargetModule: System.ComponentModel.TypeConverter.dll
   TargetSite: Void set_Enabled(Boolean)
   at System.Timers.Timer.set_Enabled(Boolean value)
   at System.Timers.Timer.Start()
   at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)
   at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
   at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.UIElement.UpdateIsVisibleCache()
   at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Window.SetRootVisual()
   at System.Windows.Window.SetRootVisualAndUpdateSTC()
   at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.CreateSourceWindowDuringShow()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   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)

Environment

Assemblies - PowerLauncher

crutkas commented 4 years ago

Issue #5400, fixed in 0.20.1