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.

CCS/LAUNCHXL-CC2640R2: CCS7.4 Suddenly Broken/Porting to CCS10

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello,

Part I

I've been working with CCS 7.4.0 for awhile and have several projects built under the same. The other night I tried to start CCS 7.4.0 and out-of-the-blue I received a message:

"An error has occurred. See the log file....." (File is below). Then, CCS would not start. Never had this problem before. Nothing has changed

Part II

Awhile back I installed CCS 10.1.0  When I try to build the projects compiled under CCS 7.4.0 I receive numerous errors. What do I need to do to have my prior CCS7.4 projects work with CCS10 ? I went searching for the 16.9.6LTS compiler (used in my CCS 7.4 projects) but had no luck. Also need XDCTools 3.5.4.43_Core.

How about if I don't want to change anything and just use all of the CCS 10.1 resources ?

Thanks,

=  = = =  = = = = = = = = = = = = = = = =

!SESSION 2020-09-09 14:59:02.159 -----------------------------------------------
eclipse.buildId=4.6.0.I20160606-1100
java.version=1.8.0_112
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.ti.ccstudio.branding.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.product

!ENTRY org.eclipse.osgi 4 0 2020-09-09 14:59:03.806
!MESSAGE Application error
!STACK 1
java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at java.util.Arrays.copyOfRange(Arrays.java:3485)
    at java.util.Arrays.copyOfRange(Arrays.java:3441)
    at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.lambda$7(ChooseWorkspaceDialog.java:380)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
    at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createUniqueWorkspaceNameMap(ChooseWorkspaceDialog.java:382)
    at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createRecentWorkspacesComposite(ChooseWorkspaceDialog.java:325)
    at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createDialogArea(ChooseWorkspaceDialog.java:176)
    at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
    at org.eclipse.jface.window.Window.open(Window.java:783)
    at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:114)
    at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:342)
    at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:261)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

  • Hi James,

    James Whitney said:

    The other night I tried to start CCS 7.4.0 and out-of-the-blue I received a message:

    "An error has occurred. See the log file....." (File is below). Then, CCS would not start. Never had this problem before. Nothing has changed

    If you still have 7.4.0 installed (and still are interested in using it), can you try cleaning the workspace folder being used? 

    James Whitney said:
    When I try to build the projects compiled under CCS 7.4.0 I receive numerous errors.

    Do you actually get any build errors from the compiler/linker? Or do you only get the java exception errors you posted?

    Thanks

    ki

  • Hi, Ki,

    For 'Part I', I get only the Java errors as CCS 7.4 won't even start once it generates the log file.

    For 'Part II', for some reason, some files were missing from some of the CCS 7.4 projects when I compiled them with CCS 10. Using the error messages generated by the compiler I was able to do a 'search' on my hard-drive and round up copies of the missing files and put them in the appropriate Workspace/Project folders. Not sure how to explain that one.

    All is better. Thanks.

    Jim

    P.S. Think I will just remove CCS 7.4