Why does this cast not compile

This message can be incorrect (inducted error), so try to search the problem in a wider range of circumstances. The thing can be even about you Controller subclass doesnt compile or missed header…