This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: Problem with command line build

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CCSTUDIO

I am trying to build my CCS project via command line and i am facing following issue.
When i try to import the existing project into a new workspace i get the following error:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Importing project from '<path\to\existing\project>'...
Exception in thread "Loading device information" java.lang.NullPointerException
at com.ti.ccstudio.system.setup.SystemSetupReader.<init>(SystemSetupReader.java:2416)
at com.ti.ccstudio.system.setup.SystemSetupWriter.<init>(SystemSetupWriter.java:463)
at com.ti.ccstudio.system.setup.SystemSetupWriter.getInstance(SystemSetupWriter.java:61)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$SetupModelCache.load(DeviceModelLoader.java:328)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.loadRealDevices(DeviceModelLoader.java:1168)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.access$1(DeviceModelLoader.java:1160)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob.run(DeviceModelLoader.java:907)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob$2.run(DeviceModelLoader.java:825)
!ERROR: null
Done!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I am using the following command:

Fullscreen
1
"C:\ti\ccsv8\eclipse\eclipsec.exe" -noSplash -data <path\to\workspace> -application com.ti.ccstudio.apps.projectImport -ccs.location <path\to\existing\project>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I am working with CCS 8.3.1 on windows and the project itself is working just fine, i can import it manually inside CCS -> no problem.
It also works when running the command prompt as an administrator, but i need it to work without administrator privileges!

Any ideas why the project import does need admin privileges and/or how to solve it?

EDIT: What i forgot to mention: When starting the CCS GUI, i also the the error message <Exception in thread "Loading Device Information" java.lang.NullPointerException>, but i can just click "OK" and continue with importing the project.