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.

Changing the project name

Hi,

I am trying to rename my project by right-clicking the project name and select "rename" in the menu. After typing in the new name, I got an error:

Refactoring: An exception has been caught while processing the Refactoring "Rename Resource".

Reason:

null argument:

Click Undo ...

Anyone has any experience with this? I am using ccs v5.

BR

Chunjian 

  • Hi Chunjian,

    I just successfully renamed a project in the latest version of CCSv5.1.

    Are you using the most up to date version?  Are you using a normal character set (we have at times seen interactions with varous language/character sets) ?   Do you get this issue repeatedly or only on that project?   Also, please double check the workspace does not already contain a project with that name.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

    It seems a complete new project can be renamed without any error,

    but after you complile, renaming it will cause this error:

    I don't know why.

    I tried to "project clean", deleting all files generated by "build", but after all the error still appear while trying to rename the project

  • As I have tried more on this now, I found that the problem is present if I choosed to put the project files under a third layer folder under the workspace. That's when I copied the whole image processing demo folder structure to the workspace and import project from there, I got the error when renaming the project. If I choosed import project and select "copy the project files", then I can rename it without problem.

  • Hi Chunjian,

    are you ok with that situation?  It is likely the manual copy has confused certain paths/directories in CCS.  I was able to rename a project after a clean and build etc.  Typically it is not a great idea to try and manage the workspace folders very manually.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

    I was creating a new project using example project and did nothing but build.

    Maybe the the steps are different with Chunjian.

    I click the "Rename" menu item here:

  • Are you also having problems renaming?  Although I have not tried manually moving files around, a new project, exisiting project, built project etc all show no problems renaming on my installation.

    Please keep us informed.

    Best Regards
    Lisa

  • Hi Lisa:

    Yes I have the problems.

    Since you said it's ok on your installation, I am now totally confused.

    I will check my environment again and try some other projects  to see why.

    Lucifar