I'm getting this error when running GWT application:
java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()
public class MainView extends Composite implements HeaderPresenter.MyView {
// Code omitted
}
In the Gin ClientModule.java configure() function I have this code:
bindPresenter(HeaderPresenter.class, HeaderPresenter.MyView.class,
MainView.class, HeaderPresenter.MyProxy.class);
In the view class the initWidget() is properly called and passed with a widget, what could be causing the error?