PDA

View Full Version : [FSXA] Yuck, it won't import......


Francois
15 Mar 2010, 15:58
Hi Arno,

well, I finished my very first SketchUp object today (my own house) and followed Tom's guide.

I cannot import the .dae file however... and have no idea what I am doing wrong.

I copied the text from the two message boxes I get:

An error occured during importing the selected file

Message:
Object reference not set to an instance of an object.

StackTrace:
at ASToFra.DAEReader.FindNode(Node start, String url)
at ASToFra.DAEReader.FindNode(String url)
at ASToFra.DAEReader.ProcessNode(Node node, SceneGraphNode root)
at ASToFra.DAEReader.ProcessNode(Node node, SceneGraphNode root)
at ASToFra.DAEReader.Read(String filename)
at ASToFra.ObjectReader.read(String fileName)
at ASToFra.MainWindow.bwImporter_DoWork(Object sender, DoWorkEventArgs e)



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.MainWindow.bwImporter_RunWorkerCompleted(O bject sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorker Completed(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperat ionCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ModelConverterX.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectWriter
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ObjectWriter.DLL
----------------------------------------
TextureLoader
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/TextureLoader.DLL
----------------------------------------
ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ObjectModel3D.DLL
----------------------------------------
ObjectRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ObjectRenderer.DLL
----------------------------------------
GRV11DLL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/GRV11DLL.DLL
----------------------------------------
ObjectReader
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ObjectReader.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ObjectEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///H:/More%20Programs/ModelConverterX/ObjectEditor.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.

Francois
15 Mar 2010, 16:10
Oh darn, I hate it when I do this........ just found out you have 'updates' of the program hidden somewhere, installed the latest development build, and now it works !

Sorry !!! :)

arno
15 Mar 2010, 16:50
Hi Francois,

No problem, glad to hear you got it working.

Maybe I should make the development release even more visible :).

tgibson
15 Mar 2010, 20:19
The latest development release is suggested in my tutorial, complete with a link. :)

GaryGB
16 Mar 2010, 11:46
Congratulations Francois ! ;)



Hey Tom:

I thought "The Guide To Being A Successful FS Developer" says "ONLY" if all else fails, RTFM; ...and IIRC, nowhere does it say "click all the links" ! :D


BTW: Thanks for sharing your great Tutorial with us all ! :p


PS: Since Tom didn't provide a link to his "Using Google Sketchup to Create Buildings for Flight Sim" Tutorial here for "Search Engine Newcomers", I will: :cool:

http://www.calclassic.com/sketchup_tutorial.htm



Regards,

GaryGB

tgibson
16 Mar 2010, 13:00
Hi,

Glad it proved useful. Feel free to suggest any improvements.

Francois
18 Mar 2010, 08:51
Thanks Tom, very good tutorial and I used it to get my first FSX model imported into FSX !