- Messages
- 4
- Country
Hello,
I'm trying to import a VC into MCX and I'm getting an Unhandled Exception Error. I will paste it below along with the Event Log. The error only happens when opening this specific .MDL file. This would leave me to believe it's an issue with the file, but I also recall opening it before a full Windows re-install with no issues. Is there someone out there who can help me with this?
Sim: FSX
Graphics Card: RTX 2070
MCX Version: 1.7 (Newest Dev Build). I had the same issue on 1.600. Updated to 1.7 to see if it would fix anything.
Event Log
Error Message
I'm trying to import a VC into MCX and I'm getting an Unhandled Exception Error. I will paste it below along with the Event Log. The error only happens when opening this specific .MDL file. This would leave me to believe it's an issue with the file, but I also recall opening it before a full Windows re-install with no issues. Is there someone out there who can help me with this?
Sim: FSX
Graphics Card: RTX 2070
MCX Version: 1.7 (Newest Dev Build). I had the same issue on 1.600. Updated to 1.7 to see if it would fix anything.
Event Log
00:48 CfgReader Information Starting reading of file D:\Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Boeing 757-300\model.w2\jf_B757-VC_200_FREE.MDL
00:48 CfgReader Information Starting reading D:\Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Boeing 757-300\aircraft.cfg
00:48 CfgReader Information Reading models from aircraft.cfg
00:48 MdlXReader Information Starting reading of file D:\Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Boeing 757-300\model.w2\jf_b757-vc_200_free.mdl
00:48 MdlXReader Information Finished reading objects
00:48 MdlXReader Information Cleaning object: JF_B757_300
00:48 MdlXReader Information Removed 34 triangles with small area
00:48 CfgReader Information Reading points from aircraft.cfg
00:48 CfgReader Information Read 50 points
00:48 CfgReader Information Finished reading aircraft.cfg
00:48 CfgReader Information Finished reading objects
Error Message
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 ASToFra.Texture.Object.TextureSearcher.GetMSFSBasePath(String msfsPath, String folder, String fbFolder, String storeVersion)
at ASToFra.Texture.Object.TextureSearcher.CheckFallbackFolder(String fbPath, List`1 possibleFolderFiles, String folder, String fbFolder, Int32 index)
at ASToFra.Texture.Object.TextureSearcher.ProcessTextureCgf(String cfgPath, List`1 possibleFolderFiles, String folder, Int32 index)
at ASToFra.Texture.Object.TextureSearcher.CheckTextureCfg(List`1 possibleFolderFiles)
at ASToFra.Texture.Object.TextureSearcher.FindTexture(String textureFilename, String startPath, String liveryName, Boolean onlyStartFolder)
at ASToFra.Texture.Object.TextureSearcher.FindTexture(String textureFilename, String startPath, String liveryName)
at ASToFra.Texture.Object.TextureCache.LoadTextureImage(String textureName, String initialPath, String livery)
at ASToFra.Object.Renderer.Renderer3D.ReadTexture(String texture)
at ASToFra.Object.Renderer.Renderer3D.LoadTextures()
at ASToFra.Object.Renderer.Renderer3D.SetObjectModel(ObjectModel newObj, ObjectChangeLevel level, Boolean loadTextures)
at ASToFra.Object.Renderer.Renderer3DControl.OnObjectChanged(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Interfaces.ObjectChanged.Invoke(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Object.Reader.AllObjectReader.RaiseObjectChanged(ObjectModel obj)
at ASToFra.Object.Reader.AllObjectReader.bw_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ModelConverterX.exe
----------------------------------------
ASToFra.ErrorHandler
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.ErrorHandler.DLL
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.Texture.Reader
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Texture.Reader.DLL
----------------------------------------
ASToFra.Object.DataModel
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Object.DataModel.DLL
----------------------------------------
ASToFra.Object.Reader
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Object.Reader.DLL
----------------------------------------
ASToFra.Object.Writer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Object.Writer.DLL
----------------------------------------
ASToFra.Object.Renderer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Object.Renderer.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
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.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.Texture.Object
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Texture.Object.DLL
----------------------------------------
ASToFra.Texture.Writer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Texture.Writer.DLL
----------------------------------------
ASToFra.Object.Processor
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Object.Processor.DLL
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Utils.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ASToFra.MapRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.MapRenderer.DLL
----------------------------------------
ASToFra.Geometry
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.Geometry.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ASToFra.FSUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.FSUtils.DLL
----------------------------------------
ASToFra.EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.EventLog.DLL
----------------------------------------
OpenTK.GLControl
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/OpenTK.GLControl.DLL
----------------------------------------
OpenTK
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/OpenTK.DLL
----------------------------------------
ASToFra.ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.ParticleEffects.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/Interop.WMPLib.DLL
----------------------------------------
ASToFra.LicenseHelper
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.LicenseHelper.DLL
----------------------------------------
Portable.Licensing
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/Portable.Licensing.DLL
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AssimpNet
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/AssimpNet.DLL
----------------------------------------
ASToFra.XPUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/ASToFra.XPUtils.DLL
----------------------------------------
lib3ds.Net
Assembly Version: 2.0.0.18431
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/Microsoft%20Flight%20Simulator%20X%20Addons/ModelConverterX/lib3ds.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.