If that doesn't solve your issue, please show us the way you're
creating the context and where and how are you triggering the
command. Maybe you trigger the command before the
context finished its initialization process?