@Subscribe
protected void onAfterShow(AfterShowEvent event) {
userInboxMessageMenuBadge.updateMessageCounter(sideMenu);
}
Subscribing to AfterInitEvent instead seems to resolve the issue.
@Subscribe
public void onAfterInit(AfterInitEvent event) {
userInboxMessageMenuBadge.updateMessageCounter(sideMenu);
}