[Error] Module Manager Error on script environment initialization

One of the parameters your GatewayHook class is passing to addScriptModule is probably null. obj maybe?