GlobalEnvironment:: is null when called before GlobalEnvironment::getInstance()
test case
class -> struct