• 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.

Opening Gmax: Assertion Failed

Messages
56
Country
netherlands
Hi,

Been working with Gmax for many years, encountered and dealed with many an error message too but i've never seen this before : after i click my Gmax icon to run it all i get is this message : 'Assertion Failed'. In file: MenuMan.ccp. Line: 1689.

After clicking retry a few times, which produces a couple more 'in line' error definitions, a new dialog shows up : MAXscript Auto-load Script error. Unknown property: "numItems" in undefined.

Clicking Ok a few times some more 'in line' error defs turn up. It all ends up in 'Application Error' showing the infamous red circle with dreaded white x....:tapedshut ( and 'no i don't want to save a copy of the current scene?' because there isn't one... )

This all like lightning out of a clear sky. Been happily developing and exporting ( FSX ) for many weeks in a row. Only thing i did in between my last Gmax work of yesterday and now is install a couple new FSX aircraft models but i can't imagine that having anything to do with it.

I have searched everywhere ( including here of course ) for this ' Assertion Failed' thing but remarkably enough, what i have found all concerns this error message from within Gmax, mostly during export....

I am therefore heavily depending on you, dear Sirs, to help me get my beloved Gmax to open up on me again.

Thank you so much for any tips or hints you could give me !

Cheers,
Jan,
bewilderd and confused.. it was all going so well.. :confused:
 
Jan, that is indeed a very strange error to occur, especially since it's literally out of the blue.

'Assertion Failed'. In file: MenuMan.ccp. Line: 1689.

See this article from Autodesk regarding this type error. It is likely that the CUI files (Custom User Interface) has become corrupted. The suggestion is to rename the gmax.ini file and allow a new one to be created. Although this article references Max v5, that's most all GMax 1.2 is anyway, just a "slimmed-down" version. ;)

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=5582591&linkID=9241177
 
Last edited:
Caused by a corrupt file or is missing file.


Try uninstalling gmax, you should see a option called repair, try running it.


DG:eek:
 
Last edited:
Thanks very much,gents, i'm back at wheel. Pheww!! :)

Creating a new gmax.ini file didn't work, Bill, so i went for re-installing Gmax ( @DG: funny enough no repair option, only uninstall... ). That worked but only for Gmax/FS9. Trying to run FSX_Gmax from the FSX_GmaxGamepack i now got another error message : 'mtlgen.dlt not found' after which i got the FSX_Gmax door slammed into my face. I tried correcting this problem first (mtlgen.dlt perfectly present in gmax/stdplugs ) without any success so i prepaired for what i was not looking forward too in the first place : reinstall the FSX SDK... :eek:

Problem started with fsx_sdk_sp1a.exe from the Acceleration disk, it just wouldn't run.... The sdk.msi however did run and gave me a 'repair Acc SDK' option. So i did that, rebooted my puter, clicked the FSX_Gmax icon, et voila!, Bingo!!

I did copy my 9 Gigs of FSX/Gmax work ( i keep that in a FSX/Gmax/Scenes folder) just to be sure but that proved not really neccesary.

I thought i'd report this for anyone who encounters this problem too. ;)

Happy FSX_Gmax camper again. Thanks again for your help,gents !

Cheers,
Jan
 
Good for you (and us) :) And thanks for letting us know the cure.
 
I too am glad you got it restored. It just broke my heart to read your lament: "bewilderd and confused.." Seriously!

Having been in that position more than once myself, I cannot allow such a condition to persist! :D

The article to which I linked also suggested a "reinstall/repair" of Max (or in this case GMax) to restore the corrupted UI files.
 
A long while back, I made copies of the Gamepack, as well as all of Gmax. On two different occasions, when Gmax through a wobbly, I would copy/transplant parts of Gmax to get it working. On at least one occasion, I had to clone the backup Gmax folder, renaming the older one, and that got be running again.

The main Gmax folder isnt that huge when the Scenes folder is taken out. I have 3 Scenes folders in mine, I would say they are in some unmentionable huge range of file size.. (73 Gigs, my curiosity was up).

Back up everything.... Even spare parts for Gmax.



Bill
 

That means that something that was supposed to be NULL, usually a stream perhaps in that file, was not NULL which usually corrupts data and causes an assertion failure. This is C++ stuff, I program in C++ so I've seen my fair share of these.

The problem is, an assertion failure, usually causes a program to crash. BUT, if your using the microsoft framework, it acts almost like an interpreter for any program you write and when you get an error, the frame work spits out the message at you telling you an assertion failure occured using its own message box routine ..... the microsoft framework is a bloatware ... almost 500 lines of code required to display a simple box something that can be done in basic C++ in Windows using only maybe 60?

Now you know why JAVA applications suck big bones ... JAVA is like a robot running on instructions, using them to create a program on top of another...this is why JAVA is so notoriously slow and eats up a CRAP load of memory.
 
Do not delete gmax, remove the gmax.ini file and let gmax re-create it.

Note that was the suggestion I made in post #2 above, and reported back by the OP as a non-starter...

...however, the problem has been solved for the time being at least! :)
 
Back
Top