Page 1 of 1

WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Posted: Thu Jan 25, 2018 4:33 pm
by OH6MY
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

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Posted: Thu Jan 25, 2018 9:59 pm
by agw
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.

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Posted: Fri Feb 09, 2018 9:58 am
by OH6MY
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

Re: WARNING [ERROR] FATAL UNHANDLED EXCEPTION:

Posted: Sun Mar 04, 2018 5:36 pm
by zardoz
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.