GoDocument error

HI I am new to Go, i am experiencing the usual error “object reference not set to aninstance on an object” when i try to access the Document of the GoView.

In my Initialize component of my form i have the below :
......
this.Gview = new Northwoods.Go.GoView();
......
......
this.Controls.Add(this.Gview);
and from my form c# code i am trying to do the below :
Gview.Document.Clear();
I am not sure what is missing, if someone have encountered such issue i would be glad to hear some ideas.
Rgds

i just noticed something, eventhough i initialized the Gview, but during debug, i noticed Gview = null, so probably the issue is not in GoDocument, it is in the Gview it self…

please ignore the post, i found the issue. :)