WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
OH6MY
Posts: 2
Joined: Mon Aug 08, 2016 2:04 pm

WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Post by OH6MY » Thu Jan 25, 2018 4:33 pm

Installing Mono on Raspbian Jessie with the latest updates, testing and working OK, I downloaded and expanded the VirtualRadar tarball and tried to run Virtual radar but I got messages like this:

pi@VirtualRadar:~/Downloads $ mono VirtualRadar.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: InterfaceFactory.ClassFactoryException: SQLiteConnectionStringBuilderWrapper does not implement ISQLiteConnectionStringBuilder
at InterfaceFactory.ClassFactory.Register (System.Type interfaceType, System.Type implementationType) [0x0007c] in <99c11109a45e427a9c1c1119eb2ee2f8>:0
at InterfaceFactory.ClassFactory.Register[TI,TM] () [0x00000] in <99c11109a45e427a9c1c1119eb2ee2f8>:0
at VirtualRadar.SQLiteWrapper.Implementations.Register (InterfaceFactory.IClassFactory factory) [0x00006] in <21fd58802ae24c91b448f82978067952>:0
at VirtualRadar.Program.Main (System.String[] args) [0x000c3] in <40b397c299bc4dab8b137cc5f3f44cb6>:0

What have I done wrong or is there some bugfix for this?
regards
Hans

agw
Posts: 2146
Joined: Fri Feb 17, 2012 3:20 am

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Post by agw » Thu Jan 25, 2018 9:59 pm

If you take a look at the documentation it tells you there what causes it and how to fix it: http://www.virtualradarserver.co.uk/Mono.aspx

Alternatively the preview version now requires version 4 of Mono (the presence of version 4 is what causes the problem you're seeing) so you could just install the preview version... but be aware that it's early days for the web server on the preview version so it might be a bit glitchy.

OH6MY
Posts: 2
Joined: Mon Aug 08, 2016 2:04 pm

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Post by OH6MY » Fri Feb 09, 2018 9:58 am

Sorry agw for a very late Thank You!
The problem was really here in my end because of a typical lack of RTFM.... :P
Everything is working fine here!
Hans

zardoz
Posts: 5
Joined: Sun Mar 04, 2018 5:13 pm

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Post by zardoz » Sun Mar 04, 2018 5:36 pm

Just a heads-up.

Don't upgrade your version of Mono from 5.8.0.127 to the latest in the Mono repository (5.10.0.140).

It has a very serious memory leak problem, resulting in my RPI3 rebooting every 9 hours.
Reverting to 5.8.0.127 restores stability.

I'm also using the preview version of VRS.

Post Reply