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.

AFV client unhandled exception has occurred in your application


Max klopper
 Share

Recommended Posts

Max klopper
Posted
Posted

So I have recently started getting into controlling but I can't control cause of the AFV client not working. I have tried re installing many times and still no luck. If anyone could help me resolve this it would be much appreciated. Here are some pictures I get when starting the client up. https://gyazo.com/cbfc9096a2a91a1ff3ec6fe3e145881d
https://gyazo.com/441abd99a2fede1deb79ac97db5c7921 When I hit details this is the text that comes up.

 

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at MetroFramework.MetroFonts.Tile(MetroTileTextSize labelSize, MetroTileTextWeight labelWeight)
   at MetroFramework.Controls.MetroTile.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)


************** 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
----------------------------------------
Ninject
    Assembly Version: 3.3.4.0
    Win32 Version: 3.3.4.0
    CodeBase: file:///C:/AudioForVATSIM/Ninject.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
----------------------------------------
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



-Regards Max Klopper

 

Link to comment
Share on other sites

Kevin Gunn
Posted
Posted

Hi Max,

Seems like you possibly have McAfee installed, add AFV as an exclusion.

if you are on Windows 10, I would recommend doing away with it and save yourself some cash. The AV that is built in Windows 10 is more than sufficient nowadays.

Kev

Link to comment
Share on other sites

Max klopper
Posted
Posted

Hi Kev,
thanks for answering. How would I ad AFV as an exclusion?

Link to comment
Share on other sites

Nestor Perez
Posted
Posted

It should be somewhere in the McAffee configuration, but I’m pretty sure other members have tried adding it as an exclusion already and it didn’t work. Have a search in these forums for “McAffee” and you will most likely find a solution for this problem 😉

Me.

Link to comment
Share on other sites

Max klopper
Posted
Posted

Thanks Nestor it worked!

 

  • Like 1
Link to comment
Share on other sites

Pranav Srinivasan
Posted
Posted

I'm having the same issue now could someone tell me how to add it as an exclution on McAfee i put all the files of afv in the exclude files list but no luck.

 

Link to comment
Share on other sites

Max klopper
Posted
Posted

Hi Pranav, so most of the time adding AFV as a exclusion doesn't work. So a fix is to turn off real time scanning and it should work. 

  • Thanks 1
Link to comment
Share on other sites

Pranav Srinivasan
Posted
Posted

that worked thanks 

Link to comment
Share on other sites

 Share