• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Error message

Messages
34
Country
ca-britishcolumbia
Using SAMM Version 2.0.09. Get this notice;

Unhandled exception has occurred in your application. System.ArgumentOutOfRangeException: StartIndex cannot be larger than length of string. Parameter name ; startIndex.
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

There is no reference to this in manual. Checked the other threads, haven't seen anything like this. Can someone explain this issue to me and or how to rectify it. Thanks
 
armenius, this is what is known as "throwing an exception". It happens when Windows encounters an instruction it is, for whatever reason, unable to handle.

In this case, it's due to a coding errror.

There is not enough information in your post to allow me to determine where is the error. If it is repeatable, please tell me how to reproduce it, including what airplane you were converting at the time. If not a default aircraft, please send me the entire aircraft folder or a link to it if available on Avsim, etc. If it is not repeatable, please try and recall what you were doing at the time, in as much detail as possible.

Don
 
Its repeatable. Even tried it with another aircraft, also get an exception error, but slightly different text. Would you like to see the full error descriptions? Cant upload the zipped aircraft folder to this site. Its 2.7 MB, can I e-mail it to you?
 
The full error description may help. Please send that to me first. If that doesn't let me locate the problem, please send the file to don at stuff4fs dot com.

Don
 
Here's the error report. I'm also sending you a second one thats somewhat different. Odd thing is SAMM Version 1.0.16 will render it.
 

Attachments

The first should be easy to find.

Re the second, while the code for FS9 aircraft in SAMM2 is very similar to that in its predecessor, I did make a change in this area. It too should be easy to find.

If the aircraft you were converting were stock models or are freeware available from any of the popular download sites, please send me the identification/links so that I can confirm the fixes.

Don
 
Back
Top