nefares / Background-Muter

Background Muter - Automatically Mute Background Applications
GNU General Public License v3.0
83 stars 8 forks source link

Unhandled exception #3

Closed zhaDeth closed 2 years ago

zhaDeth commented 2 years ago

Got this unhandled exception, I can just click continue and the program keeps running though Also, a "run at startup" checkbox would be cool !

WinBGMuter_AklnYE93Aa

`See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.Collections.Generic.KeyNotFoundException: The given key '4848' was not present in the dictionary. at WinBGMuter.MainForm.RunMuter(Int32 fpid, Boolean doMute) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Private.CoreLib.dll

WinBGMuter Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Stuff/BackgroundMuter/WinBGMuter.dll

System.Runtime Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.dll

System.Diagnostics.Process Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Diagnostics.Process.dll

System.ComponentModel.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.ComponentModel.Primitives.dll

System.Windows.Forms Assembly Version: 6.0.2.0 Win32 Version: 6.0.422.16407 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Windows.Forms.dll

System.Windows.Forms.Primitives Assembly Version: 6.0.2.0 Win32 Version: 6.0.422.16407 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Windows.Forms.Primitives.dll

System.Runtime.InteropServices Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.InteropServices.dll

System.Drawing.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Drawing.Primitives.dll

System.Collections.Specialized Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Collections.Specialized.dll

Microsoft.Win32.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/Microsoft.Win32.Primitives.dll

System.Threading Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Threading.dll

System.Diagnostics.TraceSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Diagnostics.TraceSource.dll

System.Collections Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Collections.dll

System.Drawing.Common Assembly Version: 6.0.0.0 Win32 Version: 6.0.422.16404 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Drawing.Common.dll

System.ComponentModel.EventBasedAsync Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Threading.Thread.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 6.0.422.16407 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/Accessibility.dll

System.ComponentModel.TypeConverter Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.ComponentModel.TypeConverter.dll

System.Configuration.ConfigurationManager Assembly Version: 6.0.0.0 Win32 Version: 6.0.422.16404 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Configuration.ConfigurationManager.dll

System.ObjectModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.ObjectModel.dll

System.Diagnostics.FileVersionInfo Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Diagnostics.FileVersionInfo.dll

System.Numerics.Vectors Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Numerics.Vectors.dll

System.ComponentModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.ComponentModel.dll

Microsoft.Win32.SystemEvents Assembly Version: 6.0.0.0 Win32 Version: 6.0.422.16404 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/Microsoft.Win32.SystemEvents.dll

System.Collections.Concurrent Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Collections.Concurrent.dll

System.Linq Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Linq.dll

System.Private.Uri Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Private.Uri.dll

System.Resources.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.422.16404 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Resources.Extensions.dll

System.Memory Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Memory.dll

System.Drawing Assembly Version: 6.0.2.0 Win32 Version: 6.0.422.16407 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.5/System.Drawing.dll

System.Collections.NonGeneric Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Collections.NonGeneric.dll

System.Runtime.InteropServices.RuntimeInformation Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.InteropServices.RuntimeInformation.dll

System.Security.Cryptography.Algorithms Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Security.Cryptography.Algorithms.dll

System.Security.Cryptography.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Security.Cryptography.Primitives.dll

System.Xml.ReaderWriter Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Xml.ReaderWriter.dll

System.Private.Xml Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Private.Xml.dll

System.Text.RegularExpressions Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Text.RegularExpressions.dll

System.Net.WebClient Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Net.WebClient.dll

System.Text.Encoding.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Text.Encoding.Extensions.dll

System.Runtime.Serialization.Formatters Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.Serialization.Formatters.dll

System.Xml.XmlSerializer Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Xml.XmlSerializer.dll

System.Threading.ThreadPool Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Threading.ThreadPool.dll

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.CompilerServices.Unsafe.dll

System.Text.Encoding.CodePages Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Text.Encoding.CodePages.dll

System.Diagnostics.StackTrace Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Diagnostics.StackTrace.dll

System.Reflection.Metadata Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Reflection.Metadata.dll

System.Collections.Immutable Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Collections.Immutable.dll

System.Runtime.Loader Assembly Version: 6.0.0.0 Win32 Version: 6.0.522.21309 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.5/System.Runtime.Loader.dll

** JIT Debugging **

`

nefares commented 2 years ago

Fixed unhandled bug see new release: https://github.com/nefares/Background-Muter/releases/tag/v1.0.0.2

For the autostart option I have added a new issue #7. Will get to it soon ;)

zhaDeth commented 2 years ago

Thanks

nefares commented 2 years ago

Implemented at release: https://github.com/nefares/Background-Muter/releases/download/v1.0.0.3/WinBGMuter.zip