FSXA LC-XML Object load error

#1
Hi,

I'm stumped by LC-XML V 3.0.0.0 not loading a few static scenery objects. They load and show OK in MCX and are compiled with the normal FSX xtomdl. There's nothing fancy about them, no animations or such.

When the event happens the application throws an error (which does not say much, at least to me). I can provide a link to one of the models if desired.

Error text:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ASToFra.LibraryCreatorXML.MainForm.CreateObjectReference(String filename)
bei ASToFra.LibraryCreatorXML.MainForm.AddMDL(String filename)
bei ASToFra.LibraryCreatorXML.MainForm.cmdAdd_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladene Assemblys **************

--------------------8< I snipped the rest because I think that information is irrelevant partaining to the problem.


Cheers,
Mark
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi,

I can't see from the error what goes wrong. Do the files have special names (foreign characters or so)?

Else an object to debug could help.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#5
Hi,

I found the cause of the crash. There was some unexpected information in the object. I have made the reader that tries to get the information from the MDL more robust now. The fix will be in the next development release.
 
Top