Tab listener

I am trying to click a tab in my tool bar in my touchkit application I get the following error

            if (tabBarView.getSelelectedTab().getCaption().equals("Home"))
            {
                Notification.show("***" + "Home");
     
                navigationManager.setCurrentComponent(homeView);
                navigationManager.navigateTo(homeView);
                

            }

com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc

Itshows the notification but I cannot view the homeView class.