Forgot to set the command executor in main class.