When I create a new project, it shows me the following error -->
"GetInstance: Invalid argument type".
What could be the problem?
Looks like a script error to me. If it happens with your custom compiled C::B, then check the concerned project script file.