1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FSXA Yuck, it won't import......

Discussion in 'ModelConverterX' started by Francois, 15/3/10.

  1. Francois

    Francois FSDevConf team

    Joined:
    28/9/06
    Messages:
    273
    Country:
    netherlands
    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(Object sender, RunWorkerCompletedEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
    at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(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.
  2. Francois

    Francois FSDevConf team

    Joined:
    28/9/06
    Messages:
    273
    Country:
    netherlands
    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 !!! :)
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Francois,

    No problem, glad to hear you got it working.

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

    tgibson

    Joined:
    22/9/06
    Messages:
    4,710
    Country:
    us-california
    The latest development release is suggested in my tutorial, complete with a link. :)
  5. GaryGB

    GaryGB

    Joined:
    23/12/05
    Messages:
    1,582
    Country:
    us-illinois
    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
    Last edited: 16/3/10
  6. tgibson

    tgibson

    Joined:
    22/9/06
    Messages:
    4,710
    Country:
    us-california
    Hi,

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

    Francois FSDevConf team

    Joined:
    28/9/06
    Messages:
    273
    Country:
    netherlands
    Thanks Tom, very good tutorial and I used it to get my first FSX model imported into FSX !

Share This Page