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.
Tool/software: Code Composer Studio
Hello
I have a problem with ccs v7. something happened when I want to open it and I accidentally clear the workspace location. ccs opened and just a blank page was shown. I closed the app and after that when I open the ccs it says: "An error has occurred. see the log file:...."
!SESSION 2020-05-02 10:50:18.427 -----------------------------------------------
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-05-02 10:50:20.018
!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)
Can anyone help me?
Hello,
javad amini said:. something happened when I want to open it and I accidentally clear the workspace location. ccs opened and just a blank page was shown.
Can you explain a little more what happened regarding "I accidentally clear the workspace location"? Did you accidentally delete your workspace folder while CCS was launching? Or did you delete the dolser first, and then launched CCS? If it is the former, please try using a clean new workspace folder in a different location.
Thanks
ki
Yes, you're right it wasn't clear. I've deleted the folder path selection at the starting of ccs. I can't address a new workspace folder. It doesn't open at all. How can I address a new workspace folder without opening the ccs?
Thanks.
javad amini said:I've deleted the folder path selection at the starting of ccs. I can't address a new workspace folder.
I assume you cleared the workspace path in the Eclipse Launcher dialog:
If you clear this path, then the "OK" button would be greyed out so that you cannot progress. Can you use the "Browse..." button to select a new path? Does the "Browse" button not work? You can also manually type in a path.
ki
In this way, I clicked on OK(accidentally!) and the blank page of the ccs was opened, and after closing the ccs, it doesn't even open anymore and gives the mentioned error. (Also this eclipse launcher doesn't open).
However, I solved my problem as follows: Once again, I installed the ccs in another path and replaced the configuration folder in ti\ccsv7\eclipse. But this is not an interesting way. Is there a better way?
Thanks. I can reproduce this now. It looks like just using a "\" will set the workspace to the root C: drive (assuming CCS is installed on the C drive). CCSv7 doesn't seem to like this. The issue does not occur on more recent CCS version (like 10). I'm working with engineering to find a way to cleanly recover from the issue in CCSv7. I will keep you posted of any updates.
Thanks
ki
Ki said:I'm working with engineering to find a way to cleanly recover from the issue in CCSv7
Edit the [CCS7 INSTALL DIR]/ccsv7/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs file and remove the entire "RECENT_WORKSPACE=" line. Then start up CCS.
This worked for me.
Thanks
ki