This happened to my application before, maybe you can try implementing
the interface instead of History.addValueChangeHandler
Like this:
public class MainEntryPoint implements EntryPoint, ValueChangeHandler {
// stuff
@Override
public void onValueChange(ValueChangeEvent event) {
// do your stuff
}
}
Cheers.