MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
jahmann
Posts: 3
Hi All

I get the following error when i try to run mobiflight:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MobiFlight.MobiFlightCache.getArduinoPorts()
at MobiFlight.MobiFlightCache.<LookupAllConnectedArduinoModulesAsync>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MobiFlight.MobiFlightCache.<connectAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MobiFlight.ExecutionManager.<autoConnectTimer_TickAsync>d__97.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

I have all the newest update and im running windows 10

Any tipps on what to check?

thx

stefan
2021-01-03 00:20
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi Stefan,

we need a bit more informations. If your vehicle is defective and you call your motor club, they also would not can help you with the information the car won't run...

So we need your OS, the sim with version, MF version, FSUIPC version, the plane (stock or addon with version) and what you have done before the issue happens. Did MF run before ok or is it the first run?
You see, a lot of questions that we need to help you.
Thanks
Grüße,
Stephan (Time: UTC+2)
2021-01-04 19:43
Avatar
Hortax
From: LFST, France
Posts: 19
Supporter
Hi
I believe that your antivirus software is blocking a dll file. Try disabling it and unpack MF again.
2021-01-04 22:04
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
When starting the downloaded .exe-file there can appear a virus warning but you can ignore it.
The anti-virus-software only warns but not prevent the installation of MF.
Grüße,
Stephan (Time: UTC+2)
2021-01-04 22:42
Avatar
jahmann
Posts: 3
Hi Stephan

Its plain windows 10 newest update (20h2 i believe), with nothing installed, except msfs2020 fsuipc7.

The error occurs wenn i try to start mobiflight.
Id had never worked. I just installed it.

I already checked that .net framework is installed and up to date.

I check about the AV.
2021-01-06 19:58
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hiho

Please confirm you download MF from our Homepage and you use the "Live" Version 7.10.0

Also confirm you install it into a "free" folder. So not in c:/programmfilesx86 or so .
Technical this is possible but occure in problems some times.

Whatever i not hear about that issue till now....
First Aid:
Download the MF File once again from Homepage.
Install it to a Different Spot ( e.g. c:/Test/MF )
If you like run the Installation and the Programm itself with Admin Mode ( Not official needed but i recommend to do)
Good Luck !
2021-01-07 16:02
Avatar
jahmann
Posts: 3
Hey

I downloaded the newest version.
Copied into c:/mf -> run the installation with admin mode.
It installs but after starting the error occurs.
2021-01-09 21:57
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Sorry. Then i´m out.

I know the follow is something nobody wants to hear..... But you should confirm and check your System itself.
I recommend to check Windows Update at first. then if WIN is fully UpToDate check all Drivers ( Especialy USB )
Here i use mostly a "all in one Programm" that scan the full system. More comfortable as download each elemetn single.

Again.... I know this is not a good help from a Software support.... But in case hundrets of People install MF every month without trouble.... I will say the issue must be on your system.
Badly i´m not the programmer.... So i can not support a better solution.
Good Luck !
2021-01-10 17:56
icon