Not enough arguments
"Not enough arguments" is an error message that appears in Gambas as a pop-up over the "stack trace" area, apparently when attempting to auto-initialize a variable without the correct number of arguments. The stack trace may be misleading as to where the error is actually occurring.
For example, suppose ClassA has static member StaticB of ClassB whose _new() function requires one or more arguments, and ClassA declares StaticB like this:
<gambas>static StaticB as New ClassB</gambas>
In this case, the error message will point at a line of code in which ClassA is initialized, not the erroneous line above.