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.

CCSv5.0.3 : Issue with importing legacy CCSv3 project

Other Parts Discussed in Thread: CCSTUDIO

 

I try to import a CCSv3 project into CCSv5.03.0.28 , when I get error, which is captured in migration.log file. However - it does not give much clues to what could go wrong. Please see contents of the log file below.

In this project, there is a dependency on another project, hence I also tried to import by not copying the contents into Workspace. Yet - i get the same Migration logs.

 

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

!ERROR: java.lang.NullPointerException

at com.ti.common.managedbuild.core.util.CTIManagedBuildCoreUtils.getOptionDefiningSuperClass(CTIManagedBuildCoreUtils.java:919)

at com.ti.ccstudio.buildDefinitions.core.parser.BuildOptionParser.extractOptionName(BuildOptionParser.java:29)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.getOutputFileOptionSetting(LegacyProjectImporter.java:1644)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.processDependencies(LegacyProjectImporter.java:585)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.createManagedMakeProject(LegacyProjectImporter.java:450)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.doRun(LegacyProjectImporter.java:259)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.access$0(LegacyProjectImporter.java:220)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter$1.run(LegacyProjectImporter.java:203)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)

at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.run(LegacyProjectImporter.java:201)

at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:110)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

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

 

 

  • Hi Varada,

    Have you tried importing the project into the latest version of CCS?  v5.1?   This is probably a best next step as 5.0.3 was a temporary release not intended as an upgrade path.

    If you still see issues, would you be able to collect any dump files (.dmp) and error logs to send us?  Information on where these can be found is in this wiki:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS

     

    Best Regards,
    Lisa

  • Hello Lisa - thanks for the support.

     

    I installed CCSv5.1 and re-tried to import this project. I get almost identical error log - now captured in project.log file. 

    About the .dmp files, I checked and none are generated today, for this version of install or when I import the project. I looked through the "TroubleshootingCCS" wiki link, and I think Debug server logging/ trace logging might not catch this "import legacy project' issue. But I can give it a shot.

     

    So I tried to manually create a project, instead of trying to import the legacy CCSv3 project and I am making some headway there. I can get it to build in CCS.

     

    On another note, I tried importing another related CCSv3 project and it seemed to get imported into CCSv5 just fine. I did not any errors, that I get for the first project. 

    Thanks,

  • Hi Varada,

    hmmm is there something unusual about the project?  Hopefully it did not get corrupted somehow.  Have you tried importing reference projects automatically? 

    If it does output some error logs or dump files, those would be good for our diagnostics.

    Best Regards,

    Lisa

  • Varada,

    The errors you are seeing are Java errors and looks like a bug when importing that specific project. Would you be able to provide the project so we can duplicate the issue and file a bug to get this addressed?

  • Aarti, Lisa,

    Thanks for the assist. I will email the compressed project files to your TI email IDs.