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
kiartz
Posts: 14
Hi!
I've a serious problem whit MF! I use 2 arduino mega, first work with Link2FS because I've connected it an LCD Display as radio. The second card, I use to build a MCP for PMDG with MF.
When I open MF with second Mega Card connected, it crash with this error:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: MFConnector.exe
Problem Signature 02: 7.0.5.0
Problem Signature 03: 569a28fa
Problem Signature 04: MFConnector
Problem Signature 05: 7.0.5.0
Problem Signature 06: 569a28fa
Problem Signature 07: 37c
Problem Signature 08: 13e
Problem Signature 09: System.NullReferenceException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1040
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

or from Event Viewer:

Error number 1.

Application: MFConnector.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at MobiFlight.OrphanedSerialsDialog.updateOrphanedList()
at MobiFlight.OrphanedSerialsDialog..ctor(System.Collections.Generic.List`1<System.String>, System.Data.DataTable, System.Data.DataTable)
at MobiFlight.MainForm._checkForOrphanedSerials(Boolean)
at MobiFlight.MainForm._loadConfig(System.String)
at MobiFlight.MainForm._autoloadLastConfig()
at MobiFlight.MainForm._autoloadConfig()
at MobiFlight.MainForm..ctor()
at MobiFlight.Program.Main()

Error Number 2.

Faulting application name: MFConnector.exe, version: 7.0.5.0, time stamp: 0x569a28fa
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00a41e66
Faulting process id: 0x990
Faulting application start time: 0x01d18f253adbbefd
Faulting application path: D:\Program Files (x86)\MobiFlight\MFConnector.exe
Faulting module path: unknown
Report Id: 7e1b6eec-fb18-11e5-8d6a-7071bccc72b4

When I disconnect the card it work but if I re-connect card it give me an other error!!
You know the problem? because I've try more solution but nothing!..:(

Thanks at all!
Very good software!!

Roberto
2016-04-05 12:21
Avatar
kiartz
Posts: 14
Other Test!
I've open MF without Card connected -- choose and open an old test preset saved -- Closed MF -- Connected Mega Card -- Open MF --> It Work!!

But!!! When i change on preset for MCP it give me an other crash!!!! :(

It's reported down:

"
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 MobiFlight.OrphanedSerialsDialog.updateOrphanedList()
at MobiFlight.OrphanedSerialsDialog..ctor(List`1 serials, DataTable dataTable, DataTable inputDataTable)
at MobiFlight.MainForm._checkForOrphanedSerials(Boolean showNotNecessaryMessage)
at MobiFlight.MainForm._loadConfig(String fileName)
at MobiFlight.MainForm.recentMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MFConnector
Assembly Version: 7.0.5.0
Win32 Version: 7.0.5
CodeBase: file:///D:/Program%20Files%20(x86)/MobiFlight/MFConnector.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34285 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
FSUIPCClient
Assembly Version: 2.0.4008.2
Win32 Version: 2.0.4008.2
CodeBase: file:///D:/Program%20Files%20(x86)/MobiFlight/FSUIPCClient.DLL
----------------------------------------
ArcazeHid
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Program%20Files%20(x86)/MobiFlight/ArcazeHid.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CommandMessenger
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Program%20Files%20(x86)/MobiFlight/CommandMessenger.DLL
----------------------------------------
AutoUpdater.NET
Assembly Version: 1.3.1.0
Win32 Version: 1.3.1.0
CodeBase: file:///D:/Program%20Files%20(x86)/MobiFlight/AutoUpdater.NET.DLL
----------------------------------------

************** 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.
"

Help me please! :huh:

Roberto
2016-04-05 12:45
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Hi Roberto,

I will see what I can find to help.

Please send me your faulty config and the serial number of the MobiFlight Card.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-04-05 20:40
Avatar
kiartz
Posts: 14
You need file MFConnector.exe.config? and where i can find serial number of the MobiFlight Card??:huh:
thanks for your help! :rolleyes:
2016-04-07 19:40
Avatar
kiartz
Posts: 14
This is serial number:
SN-356-a95

And this is cfg file:

<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="MobiFlight.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="ArcazeUSB.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup><userSettings>
<MobiFlight.Properties.Settings>
<setting name="RecentFilesMaxCount" serializeAs="String">
<value>5</value>
</setting>
<setting name="PollInterval" serializeAs="String">
<value>200</value>
</setting>
<setting name="AutoRun" serializeAs="String">
<value>False</value>
</setting>
<setting name="PresetFile" serializeAs="String">
<value>presets.aip</value>
</setting>
<setting name="TestTimerInterval" serializeAs="String">
<value>50</value>
</setting>
<setting name="LedIntensity" serializeAs="String">
<value>255</value>
</setting>
<setting name="ModuleSettings" serializeAs="String">
<value />
</setting>
<setting name="LogEnabled" serializeAs="String">
<value>False</value>
</setting>
<setting name="LogLevel" serializeAs="String">
<value>info</value>
</setting>
<setting name="ArduinoIdePath" serializeAs="String">
<value />
</setting>
<setting name="InputsPresetFile" serializeAs="String">
<value>presets_inputs.aip</value>
</setting>
<setting name="Started" serializeAs="String">
<value>0</value>
</setting>
<setting name="UpgradeRequired" serializeAs="String">
<value>True</value>
</setting>
<setting name="CacheId" serializeAs="String">
<value>0</value>
</setting>
<setting name="EventIdPresetFile" serializeAs="String">
<value>presets_eventids.cip</value>
</setting>
<setting name="RecentFiles" serializeAs="Xml">
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</value>
</setting>
<setting name="JeehellPresetFile" serializeAs="String">
<value>presets_jeehell.cip</value>
</setting>
</MobiFlight.Properties.Settings>
<ArcazeUSB.Properties.Settings>
<setting name="RecentFiles" serializeAs="Xml">
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</value>
</setting>
<setting name="RecentFilesMaxCount" serializeAs="String">
<value>5</value>
</setting>
<setting name="PollInterval" serializeAs="String">
<value>200</value>
</setting>
<setting name="AutoRun" serializeAs="String">
<value>False</value>
</setting>
<setting name="PresetFile" serializeAs="String">
<value>presets.aip</value>
</setting>
<setting name="TestTimerInterval" serializeAs="String">
<value>50</value>
</setting>
<setting name="LedIntensity" serializeAs="String">
<value>255</value>
</setting>
<setting name="ModuleSettings" serializeAs="String">
<value />
</setting>
<setting name="LogEnabled" serializeAs="String">
<value>False</value>
</setting>
<setting name="LogLevel" serializeAs="String">
<value>info</value>
</setting>
<setting name="ArduinoIdePath" serializeAs="String">
<value />
</setting>
<setting name="InputsPresetFile" serializeAs="String">
<value>presets_inputs.aip</value>
</setting>
<setting name="Started" serializeAs="String">
<value>0</value>
</setting>
<setting name="UpgradeRequired" serializeAs="String">
<value>True</value>
</setting>
</ArcazeUSB.Properties.Settings>
</userSettings>
</configuration>
2016-04-08 20:48
Avatar
kiartz
Posts: 14
Or you mean this CFG??

<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ModuleName />
<PowerSavingTime>600</PowerSavingTime>
<Button Name="BUTTON TEST" Pin="21" />
<Encoder Name="CRS FO" PinLeft="31" PinRight="30" />
<Encoder Name="CRS CPT" PinLeft="23" PinRight="22" />
<Encoder Name="IAS" PinLeft="25" PinRight="24" />
<Encoder Name="HDG" PinLeft="26" PinRight="27" />
<Encoder Name="ALTITUDE" PinLeft="33" PinRight="32" />
</Config>

Thanks!!=)
2016-04-08 20:54
Avatar
kiartz
Posts: 14
Help me please!!!:( :(
2016-04-16 10:04
Avatar
kiartz
Posts: 14
I've try to format my pc to check if problem is the NET Framework, but nothing....:huh:
I've this problem only on preset with contain Event ID for PMDG.... HDG, CRS, ALT etc etc!
2016-04-29 00:56
Avatar
kiartz
Posts: 14
C:\Users\Roby\AppData\Local\Temp\WER3F9F.tmp.WERInternalMetadata.xml
C:\Users\Roby\AppData\Local\Temp\WER59E4.tmp.appcompat.txt
C:\Users\Roby\AppData\Local\Temp\WER5CB3.tmp.mdmp



- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-04-28T23:20:56.000000000Z" />
<EventRecordID>546</EventRecordID>
<Channel>Application</Channel>
<Computer>Roby-PC</Computer>
<Security />
</System>
- <EventData>
<Data>Applicazione: MFConnector.exe Versione framework: v4.0.30319 Descrizione: il processo รจ stato terminato a causa di un'eccezione non gestita. Informazioni sull'eccezione: System.NullReferenceException Stack: in MobiFlight.OrphanedSerialsDialog.updateOrphanedList() in MobiFlight.OrphanedSerialsDialog..ctor(System.Collections.Generic.List`1<System.String>, System.Data.DataTable, System.Data.DataTable) in MobiFlight.MainForm._checkForOrphanedSerials(Boolean) in MobiFlight.MainForm._loadConfig(System.String) in MobiFlight.MainForm._autoloadLastConfig() in MobiFlight.MainForm._autoloadConfig() in MobiFlight.MainForm..ctor() in MobiFlight.Program.Main()</Data>
</EventData>
</Event>
2016-04-29 01:14
Avatar
MadTrooper
Posts: 52
I only have one Arduino Mega card running whith Mobiflight. So far I have 16 annunciators, 1 x 7 segments display module, one rotary switch, and 2 momentary switches connected to it. Last night I have installed and configure my fisrt 7 segemnts display and everything was working fine (all my annunciators and buttons). Today I have tried to install a KY-040 encoder, made a config to use it for the AP Heading and saved it. I turned off Mobiflight and when I opened it again to make some test it crashed. It wouldn't load.

Like the others that have similar problems, when I disconnect the Arduino mega card, Mobiflight loads ok but when I connect the card it crash.

I was wondering if it would get back to normal if I flash the card and start over everything?

Does someone have any ideas on how to solve this problem?

Thank you in advance.
2018-02-14 22:09
Avatar
MadTrooper
Posts: 52
OK, just to let you know that everything is back to normal and working again. I took my backup file (the file.mcc) and replaced the existing one by it. The file had the same name but a different date. I then opened Mobiflight (with the Arduino card connected) and it opened (no crash). I went in the folder where this .mcc file is, copied it and renamed it with a different name. I then loaded the new named .mcc file and checked and modify the config names and the devices names that were too long making sure that there was nothing but letters and numbers in the names. I also removed the encoder and the LED Display module devices then saved. I turned off Mobiflight. Turned it on again and to my surprise, it was working fine.

I'll try to reinstall both the Display module and the encoder tonight.

Hope this will help. It worked for me.

Thanks.

:O Cancel last! After reinstalling LED display module, turned off Mobiflight and when I opened it again it crashed. What a bummer.
[Last edited by MadTrooper, 2018-02-14 23:53]
2018-02-14 22:43
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
At First....

Please not open Topics that are 2 Years old.... Problem above is maby from a Pre-Pre-Pre Version of 7.4 !

About your Problem.

A Crash mostly occures in case of a error in you MCC File.
First step is to use a other file ( a exmaple file that was deliverd with) for example.
So you can open Mobiflight again and you be able to change your settings in programm.
OPEN the problematic MCC File and now delete/rework the configs that occure in the problem.


I know that sounds a bit difficult.... But you already find out that the problem occure when you do the last reported Step
(Work with LED Display ??).... So you know THIS Step is the problem.
Simply think about what you did wrong here ... ( Or tell us detailed what you do )
[Last edited by pizman82, 2018-02-15 05:54]
Good Luck !
2018-02-15 05:49
Avatar
MadTrooper
Posts: 52
OK, sorry about posting my problem in an old tread.

Thanks for your advise Pizman82. Its well noted.
2018-02-15 18:09
icon