Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Cannot perform project synchronization - Failed to synchronize - No files found

When you see the message, "Cannot perform project synchronization: Failed to synchronize issues: No files for synchronization were found", it means that the paths to your source files in your build settings (either your build specification or your build specification template) are incorrect, which causes synchronization to fail. You need to either:

  • re-set the path for your build specification template variable because the path to your source files was set incorrectly (see the instructions below if your are a build specification template user), or
  • you need to recreate your build specification to update your file paths. The paths in the build specification may be wrong, for example, if you generated a build specification for your project on one machine and then analyzed the same project from a different machine. For instructions on how to recreate your build specification, see Cannot perform project synchronization - No common files with a project on the Klocwork Server

The above message displays for Klocwork Desktop, IDE plug-in and kwcheck users when your connected desktop project fails to synchronize with the server project. Synchronization problems are indicated with this icon: . Mousing over the icon displays the sync error message. You'll know Connected desktop and synchronization is working again when you see the Project is synchronized icon.

Double-check and fix your variable settings for:

  • kwcheck by listing your variable(s) with kwcheck list-vars. If the path is incorrect, remove your variable setting with kwcheck remove-var, and then set the correct path with kwcheck set-var
  • Klocwork Desktop by going to Tools > Configure build specification variables. Make sure the path to your source files is correct.

If the path to your source files is correct and you're still having this problem, then contact your Klocwork administrator.