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

FSXA Error with LOD's

Discussion in 'ModelConverterX' started by Angelus1971, 13/1/10.

  1. Angelus1971

    Angelus1971

    Joined:
    17/12/06
    Messages:
    121
    Country:
    scotland
    Good Morning Arno

    I have come across an error when clicking the seperate LOD numbers in the level Of Detail Creator.

    It says

    Unhandled exception has occurred in your application. If you click
    Continue, the application will ignore this error and attempt to continue. If
    yu click Quit, the application will close immediately.

    InvalidArguement=Value of '0' is ot valid for 'index'.
    Parameter name: index.



    The details are as follows
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
    Parameter name: index
    at System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
    at ASToFra.LODCreator.lstStats_SelectedIndexChanged(Object sender, EventArgs e)
    at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
    at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
    at System.Windows.Forms.ListView.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: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    ModelConverterX
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/ModelConverterX.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    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.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/ObjectWriter.DLL
    ----------------------------------------
    TextureObject
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/TextureObject.DLL
    ----------------------------------------
    ObjectModel3D
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/ObjectModel3D.DLL
    ----------------------------------------
    ObjectRenderer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/ObjectRenderer.DLL
    ----------------------------------------
    GRV11DLL
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/GRV11DLL.DLL
    ----------------------------------------
    ObjectReader
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/ObjectReader.DLL
    ----------------------------------------
    TextureLoader
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/TextureLoader.DLL
    ----------------------------------------
    ObjectEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///D:/FSX%20Tools/Model%20Converter%20X/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.


    My OS is Win 7 x64 Enterprise

    I hope i've given you enough details to go on. If not, just shout with what you need.


    And one silly question, Can you delete a LOD level? I cant seem to find a way.


    Thanks


    Rory
  2. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,579
    Country:
    netherlands
    Hi Rory,

    I will try to reproduce this error.

    About removing a LOD, if you select it in the LOD Creator you can use the backspace button to remove the LOD.
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,579
    Country:
    netherlands
    Hi,

    Are you using the stable version 1.1 or the latest development release? I can not yet reproduce the problem here on my PC. Does it happen with any LOD you select or only with some objects?
  4. Angelus1971

    Angelus1971

    Joined:
    17/12/06
    Messages:
    121
    Country:
    scotland
    Hi

    I'm using your latest development release - .exe build 1.2.0.0 13/01/2010 02:00

    I was using the FSXA B737_800 and the error happens on al LOD's.

    Thanks


    Just checked - It does it with default Bell 206B as well, on ay LOD change.
    Last edited: 14/1/10
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,579
    Country:
    netherlands
    Thanks for the feedback, I'll give it another try to see if I can reproduce.

Share This Page