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 Project Copy Error

Other Parts Discussed in Thread: C2000WARE, CCSTUDIO

Hello,

I am trying to copy an existing project in CCS, but I am running into an error.

To copy, I select the project in CCS > Project Explorer, right mouse button Copy, Then right mouse button Paste.

The Copy Project window pops up and I choose the defaults (though I have tried different combinations here w/o success) and then click [Copy].

The copy process starts, but then I get an error message saying "Internal Error: null argument:"

I have tried this with different versions of CCS (v7.4.0 and V12.0.0) and get the same error.

Has anyone run into this before and is there a solution?

Thanks!

  • I tried the same with v12 and I don't see the error.

    Can you post a screenshot including the 'Copy Project' dialog?

    Can you try to import and example project from C2000Ware, then copy. What is the project and what is the result this time?

  • I can't reproduce this issue either. Does it happen with all projects or just a particular one?

    Also provide the Eclipse error log in <WORKSPACE FOLDER>/.metadata/.log

    Thanks

    ki

  • Hi,

    Below are screenshots of the Copy Project dialogue as well as the error message:

    ----

    I tired the suggestion of importing an example project from C2000Ware and trying the same copy & paste operation -- this was successful.

    So I suspect that there is something wrong with my project (this is something that I inherited, so do not have the history of its origins).

    Here is the relevant section of the .log file, which shows some errors. I would appreciate help in understanding what they mean:

    -------------------------------------------------------------------------------------------------

    !ENTRY org.eclipse.egit.core 4 0 2023-06-08 23:52:25.107
    !MESSAGE Remove repository mapping of Git mapped resource for which project or mapped git repository has disappeared: 'RepositoryMapping[<empty> -> '../.git', absolute path: 'C:/wrk/SLAC/projects/BCS/BTM/CCS_wrk/.git' ]'
    !STACK 0
    java.io.FileNotFoundException:
        at org.eclipse.egit.core.project.GitProjectData.logAndUnmapGoneMappedResource(GitProjectData.java:751)
        at org.eclipse.egit.core.project.GitProjectData.map(GitProjectData.java:714)
        at org.eclipse.egit.core.project.GitProjectData.remapAll(GitProjectData.java:678)
        at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:661)
        at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:217)
        at org.eclipse.egit.core.internal.indexdiff.GitResourceDeltaVisitor.visit(GitResourceDeltaVisitor.java:116)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:51)
        at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry$4.resourceChanged(IndexDiffCacheEntry.java:701)
        at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:305)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
        at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:295)
        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:158)
        at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:381)
        at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1505)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2329)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2340)
        at org.eclipse.ui.ide.undo.AbstractWorkspaceOperation.execute(AbstractWorkspaceOperation.java:200)
        at org.eclipse.ui.actions.CopyProjectOperation.lambda$0(CopyProjectOperation.java:170)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:25.835
    !MESSAGE ProjectAdviceManager: error invoking advice-tool for project 'blmLockInAmp2': error: option --cmd_file is missing its parameter 'filename'


    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.146
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'


    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.222
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'


    !ENTRY org.eclipse.cdt.core 1 0 2023-06-08 23:52:26.236
    !MESSAGE Indexed 'blmLockInAmp2' (0 sources, 0 headers) in 0.001 sec: 0 declarations; 0 references; 0 unresolved inclusions; 0 syntax errors; 0 unresolved names (0%)

    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.326
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'


    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.388
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'


    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.459
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'


    !ENTRY com.ti.ccstudio.project.core 1 0 2023-06-08 23:52:26.517
    !MESSAGE Error loading built-in compiler symbols: error: option --cmd_file is missing its parameter 'filename'

    -------------------------------------------------------------------------------------------------

  • I assume you are using Egit with CCS for your projects in git. Perhaps that is a factor.

    Would it be possible to share your project folder with me? You can provide it via E2E private message if that is preferred.

    Thanks

    ki