Problem: I get a null pointer exception during a Build Configuration step.
How to reproduce:
- Use a new installation of CCS 6.1.3 and a new/empty workspace directory, get ISDK 6.1.1.2 from TI
- Open CCS, do "Import CCS Projects..." with the starterware/board project from ISDK.
This CCS comes with 8 configurations. They appear to have been built in the delivery state, see below. - Pick the default config "am335x_release" selected in ISDK installation at the beginning, build it.
=> I am getting an error popup, saying "Errors occurred during the build. Errors running builder 'CDT Builder' on project 'board.' java.lang.NullPointerException" - Delete the 8 build directories (through CCS IDE) "am335x_boot_debug", ..., "am43xx_release", so that no one is left.
- Build the configuration "am335x_release" again.
=> This works for me. - Again, mark the project and build "am335x_debug".
=> Here, I am getting the same error popup - Delete the 2 build directories just created by the preceding steps.
- Build the configuration "am335x_debug"
=> Now this works for me. - Build "am335x_release" afterwards, and you get the same error popup again.
I consider this a bug, because I would like to build several library configurations (such as with and without debug symbols) side-by-side.
As it appears to me, the error might be somewhere in the library projects delivered with ISDK or in the CCS toolchain (including plugins and Eclipse).
Is it a known problem? Are there any workarounds other than creating a separate workspace for every additional configuration to be built?
Edit:
Details on my build environment:
- CCS 6.1.3.00034
- Windows 7 (64 Bit) Service Pack 1