Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

Unhandled Exception Error Window In Background


Kyle Sanders
 Share

Recommended Posts

Kyle Sanders
Posted
Posted

My issue: When AFV (ATC Side) client use to have Unhandled Exception errors, it use to pop up on top of all my windows notifying me of that error, but now it doesn't show up until I quit the program as if it were in the background. This is usually a result of me getting frustrated that the pilots aren't responding to me and me finally quitting it. Tonight, it happened three times within a 1hr period. Now that I have found this forum, I will report more detailed bug reports in the future here.

Kyle Sanders
VATUSA
ZLC ARTCC

Link to comment
Share on other sites

Kevin Gunn
Posted
Posted

Without the error and the log file there is nothing we can do, please supply these details.

Thanks

Kev

Link to comment
Share on other sites

  • 2 weeks later...
Kyle Sanders
Posted
Posted

Just happened 10min ago:

 

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

************** Exception Text **************
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio)
   at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers)
   at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue)
   at GeoVR.Client.UserClient.<Start>b__43_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at GeoVR.Client.UserClient.Stop()
   at GeoVR.VATSIM.VATSIMClient.WinForms.MainForm.Disconnect()
   at GeoVR.VATSIM.VATSIMClient.WinForms.MainForm.btnConnect_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---> (Inner Exception #0) System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio)
   at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers)
   at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue)
   at GeoVR.Client.UserClient.<Start>b__43_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AudioForVATSIM
    Assembly Version: 1.8.1.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ninject
    Assembly Version: 3.3.4.0
    Win32 Version: 3.3.4.0
    CodeBase: file:///C:/AudioForVATSIM/Ninject.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Ninject.Extensions.Factory
    Assembly Version: 3.3.2.0
    Win32 Version: 3.3.2.0
    CodeBase: file:///C:/AudioForVATSIM/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.4.0
    CodeBase: file:///C:/AudioForVATSIM/Castle.Core.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GeoVR.Client
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.DLL
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 4.4.0
    CodeBase: file:///C:/AudioForVATSIM/Castle.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
MetroFramework
    Assembly Version: 1.2.0.3
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
GeoVR.Shared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Shared.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
SharpDX.DirectInput
    Assembly Version: 4.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
SharpDX
    Assembly Version: 4.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
NAudio
    Assembly Version: 1.9.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
GeoVR.Connection
    Assembly Version: 1.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
FSUIPCClient
    Assembly Version: 3.1.11.313
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
NLog
    Assembly Version: 4.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Concentus
    Assembly Version: 1.1.6.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
AutoUpdater.NET
    Assembly Version: 1.4.11.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
MetroFramework.Fonts
    Assembly Version: 1.2.0.3
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
RestSharp
    Assembly Version: 106.6.10.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.IdentityModel.Tokens.Jwt
    Assembly Version: 5.6.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.Tokens
    Assembly Version: 5.6.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.IdentityModel.Logging
    Assembly Version: 5.6.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.JsonWebTokens
    Assembly Version: 5.6.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
MessagePack.CryptoDto
    Assembly Version: 1.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
MessagePack.Annotations
    Assembly Version: 2.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 4.0.6.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
MessagePack
    Assembly Version: 2.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
StreamDeckSharp
    Assembly Version: 0.1.10.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Reflection.Emit
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.dll
----------------------------------------
MessagePack.Resolvers.DynamicEnumResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
MessagePack.Resolvers.DynamicUnionResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
MessagePack.Resolvers.DynamicObjectResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Buffers
    Assembly Version: 4.0.3.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.ValueTuple
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit.ILGeneration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
NaCl.Core
    Assembly Version: 1.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
InputBox
    Assembly Version: 1.0.0.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

Kyle Sanders
VATUSA
ZLC ARTCC

Link to comment
Share on other sites

Kevin Gunn
Posted
Posted

Thanks I’m investigating.

Link to comment
Share on other sites

Connor Sedman
Posted
Posted (edited)

From what I can see it looks to be like an output problem 

Edited by Connor Sedman
Link to comment
Share on other sites

Connor Sedman
Posted
Posted
On 7/13/2020 at 7:41 PM, Kyle Sanders said:

GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio)
   at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers)
   at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue)
   at GeoVR.Client.UserClient.<Start>b__43_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute

This is what i could find that made me lead to the commit above 

Link to comment
Share on other sites

 Share