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.

Code Composer Studio Installation Issues

Other Parts Discussed in Thread: CCSTUDIO

I am trying to install CCS10.2.0.00009_win64 on my PC. I have Windows 10 64-bit, Version 1909 Build 18363.1316. I temporarily turned off Windows Defender Antivirus when attempting to install, but that did not resolve the issues. I am getting the same errors each time I try to install.

During installation, it says:

An error has occurred. See the log file

C:\\Users\username\AppData\Local\Temp\ccs_fb3ed555-496e-4843-6af1-0a8ab7b4cf7b\workspace\.metadata\.log.

 After installation when I open CCS, it says:

'CrashTrackerJob' has encountered a problem.

An internal error occurred during: "CrashTrackerJob".

Could not initialize class

com.ti.utility.filesystem.DirectoryService$SingletonHolder

 

Please advise. Thank you.

  • Hello,

    M T1 said:

    An error has occurred. See the log file

    C:\\Users\username\AppData\Local\Temp\ccs_fb3ed555-496e-4843-6af1-0a8ab7b4cf7b\workspace\.metadata\.log.

    Can you provide the log?

    In addition to the above, can you prove all install logs in: <CCS INSTALL DIR>\ccs\install_logs

    Thanks

    ki

  • Thank you for your response.

    How do I provide the log? When I go in to look for the folder, there is no AppData folder to go into after going in the username folder.

    How do I prove all install logs?

  • I figured out how to get the log file. Here it is:

    !SESSION 2021-02-03 08:50:50.516 -----------------------------------------------
    eclipse.buildId=4.14.0.I20191210-0610
    java.version=1.8.0_144
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments: -application com.ti.common.core.initialize -ccs.profileTag Installed Code Composer Studio 10.2.0.00009
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -application com.ti.common.core.initialize -data C:\Users\mktra\AppData\Local\Temp/ccs_809dd2d0-23a4-448d-45da-0380c645d6a3/workspace -ccs.profileTag Installed Code Composer Studio 10.2.0.00009

    !ENTRY com.ti.common.core 1 0 2021-02-03 08:50:51.640
    !MESSAGE path=ccs_base/DebugServer

    !ENTRY com.ti.common.core 1 0 2021-02-03 08:50:51.646
    !MESSAGE debugServerDir=C:/ti/ccs1020/ccs/ccs_base/DebugServer

    !ENTRY org.eclipse.osgi 4 0 2021-02-03 08:50:55.043
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: C:\ti\ccs1020\ccs\ccs_base\DebugServer\bin\LibraryLoader.dll: %1 is not a valid Win32 application
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.ti.debug.engine.xpcom.Runtime.preXPCOMInit(Runtime.java:163)
    at com.ti.debug.engine.xpcom.Runtime.startBare(Runtime.java:116)
    at com.ti.debug.engine.xpcom.Runtime.createComponent(Runtime.java:170)
    at com.ti.utility.filesystem.DirectoryService.<init>(DirectoryService.java:26)
    at com.ti.utility.filesystem.DirectoryService.<init>(DirectoryService.java:9)
    at com.ti.utility.filesystem.DirectoryService$SingletonHolder.<clinit>(DirectoryService.java:44)
    at com.ti.utility.filesystem.DirectoryService.instance(DirectoryService.java:49)
    at com.ti.common.core.utils.ds.CoreUtilsProvider.getUserHomeDir(CoreUtilsProvider.java:40)
    at com.ti.common.core.CoreUtils.getUserHomeDir(CoreUtils.java:135)
    at com.ti.common.core.internal.ExternalReferenceParser.getUserExtRefDir(ExternalReferenceParser.java:176)
    at com.ti.common.project.core.internal.resexplorer.ResourceExplorerBreadcrumbFileReader.getBreadcrumbFile(ResourceExplorerBreadcrumbFileReader.java:159)
    at com.ti.common.project.core.internal.resexplorer.ResourceExplorerBreadcrumbFileReader.isDataStale(ResourceExplorerBreadcrumbFileReader.java:147)
    at com.ti.common.project.core.internal.resexplorer.ResourceExplorerBreadcrumbFileReader.updateData(ResourceExplorerBreadcrumbFileReader.java:77)
    at com.ti.common.project.core.internal.resexplorer.ResourceExplorerBreadcrumbFileReader.getProductDiscoveryPath(ResourceExplorerBreadcrumbFileReader.java:50)
    at com.ti.common.project.core.products.ProductDiscoveryManager.getProductInstallLocations(ProductDiscoveryManager.java:1138)
    at com.ti.common.project.core.products.ProductDiscoveryManager.getDefaultDiscoveryPath(ProductDiscoveryManager.java:778)
    at com.ti.common.project.core.internal.tools.ADiscoveryManager.getDiscoveryPath(ADiscoveryManager.java:156)
    at com.ti.common.project.core.products.ProductDiscoveryManager.getProductDiscoveryPath(ProductDiscoveryManager.java:707)
    at com.ti.common.project.core.products.ProductDiscoveryManager.getProductDiscoverySearchPath(ProductDiscoveryManager.java:687)
    at com.ti.common.project.core.products.ProductDiscoveryManager.getProductDiscoverySearchPath(ProductDiscoveryManager.java:678)
    at com.ti.common.project.core.products.ProductDiscoveryManager.discoverDeclaredProducts(ProductDiscoveryManager.java:884)
    at com.ti.common.project.core.products.ProductDiscoveryManager.initialize(ProductDiscoveryManager.java:310)
    at com.ti.ccstudio.project.core.internal.headless.CCSHeadlessInitializationParticipant.run(CCSHeadlessInitializationParticipant.java:149)
    at com.ti.common.core.internal.headless.Initialize.run(Initialize.java:122)
    at com.ti.common.core.internal.headless.Initialize.start(Initialize.java:80)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

  • M T1 said:
    java.lang.UnsatisfiedLinkError: C:\ti\ccs1020\ccs\ccs_base\DebugServer\bin\LibraryLoader.dll: %1 is not a valid Win32 application

    I think that error can be caused by Missing MSVC Redistributable Libraries

    However, that referenced troubleshooting page appears to have been written for CCSv7 and mentions 32-bit Visual C++ Redistributable for Visual Studio 2015.

    With CCSv10 being 64-bit not sure what Visual C++ Redistributables are required. Hopefully Ki can clarify.

  • Chester Gillon said:
    With CCSv10 being 64-bit not sure what Visual C++ Redistributables are required. Hopefully Ki can clarify.

    That is a good question. I am trying to get clarification from the engineering team.

  • M T1 - can you try installing the latest 64 bit runtime for VS 2019? You can get it from:

    https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0

    Thanks

    ki

  • Thank you very much for your help, Ki!

  • I had this same issue, and this fixed worked. Two notes...

    1: Can the installer possibly indicate that this might be the issue for the user? Like could it be that the installer checks if you have the redistributable and tries to run, but maybe you have the 32-bit version instead so it fails? Idk, I think that would be beneficial. It took me 5 hours of debugging to get this working.

    2: Can the error box below appear above the other install windows? The error box did not appear as a new icon in the taskbar, nor did it appear when I hovered over code composer studio. Since it appeared behind the other windows, I had no way to know that there was an error and I let it run for an hour at least. Maybe it did appear in front, but when I hit alt+tab to switch back to that view it ended up behind, I don't know for sure.

  • These are good requests. At the very least we can provide more information (warning message, etc) and make sure it is visible.