hi Johan.
please try below suggestion:
1. remove .metadata folder in your current workspace, then restart CW10 test your project again.
2. CW10.2 is very old, please try CW10.6 instead.
https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&tid=CWH
please note: CW10.6 and CW10.2 can't share the same workspace.
====================================================
this answer is for you. if it helps, please click on "correct answer" button. thanks!
Best Regards,
ZhangJun